LATEST UPDATES
Mobile Game Development Principles
on December 12 2022 in General tagged Daniel Dang by admin
To give your games or apps an edge over their rivals, it has got to have visually appealing graphics and mind-blowing animations. In this respect, the Android framework provides a rich set of powerful APIs for applying animation to UI elements and graphics as well as drawing custom 2D and 3D graphics. Depending on the graphic types and the processing demand of your app, you may choose from these options for drawing graphics on Android:
- Learn development languages (Java and XML) & principles, tools (Android Studio) and best practices for mobile games
- Learn concepts and methods such as mobile architecture/hardware, advanced data structures, algorithms, testing, refactoring, validation and verific
- Learn the iterative development cycles: investigate -> propose -> make -> critique -> user-test -> reflect -> refine actual mobile games and prototypes
Canvas: Android framework provides a set of 2D-drawing APIs for rendering custom graphics either onto a canvas using the various drawing methods provided by the "Canvas" class.
Draw with a Canvas
When you're writing an application in which you would like to perform specialized drawing and/or control the animation of graphics, you should do so by drawing through a Canvas. A Canvas works for you as a pretense, or interface, to the actual surface upon which your graphics will be drawn — it holds all of your "draw" calls. Via the Canvas, your drawing is actually performed upon an underlying Bitmap, which is placed into the window.
In the event that you're drawing within the onDraw() callback method, the Canvas is provided for you and you need only place your drawing calls upon it. You can also acquire a Canvas from SurfaceHolder.lockCanvas(), when dealing with a SurfaceView object. However, if you need to create a new Canvas, then you must define the Bitmap upon which drawing will actually be performed. The Bitmap is always required for a Canvas. You can set up a new Canvas like this:
Bitmap b = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888);
Canvas c = new Canvas(b);
Now your Canvas will draw onto the defined Bitmap. After drawing upon it with the Canvas, you can then carry your Bitmap to another Canvas with one of the Canvas.drawBitmap(Bitmap,...) methods. It's recommended that you ultimately draw your final graphics through a Canvas offered to you by View.onDraw() or SurfaceHolder.lockCanvas()
The Canvas class has its own set of drawing methods that you can use, like drawBitmap(...), drawRect(...), drawText(...), and many more. Other classes that you might use also have draw() methods. For example, you'll probably have some Drawable objects that you want to put on the Canvas. Drawable has its own draw() method that takes your Canvas as an argument. Read More
How to develop Android applications?
on 2022 December 13 in General tagged Daniel Dang by adminAndroid is an operating system based on the Linux kernel. The project responsible for developing the Android system is called the Android Open Source Project (AOSP) and it lead by Google.
This Android operating system can be divided into the four areas as depicted in the following graphic. An Android application developer typically works with the two layers on top to create new Android applications.
The levels can be described as:
- Applications - The Android Open Source Project contains several default application, like the Browser, Camera, Gallery, Music, Phone and more.
- Application framework - An API which allows high-level interactions with the Android system from Android applications.
- Libraries and runtime - The libraries for many common framework functions, like, graphic rendering, data storage, web browsing. It also contains the Android Runtime, as well as the core Java libraries for running Android applications.
- Linux kernel - Communication layer for the underlying hardware.
Android applications are primarily written in the Java programming language. During development the developer creates the Android specific configuration files and writes the application logic in the Java programming language.
The Android development tooling converts these application files into an Android application. If the developer triggers the deployment, the whole Android application is compiled, packaged, deployed and potentially started.
The Android Software Development Kit (Android SDK) and the Gradle tooling contain the necessary tools to create, compile and package Android applications. The Android team provides a Gradle plug-in to build Android applications.
You find the available versions of this plug-in under the following URL:LINK
Web App Development
on 2022 December 13 in General tagged Daniel Dang by adminTo provide you with the knowledge and skills of the client-side web development and website management.
- Explain issues relating to Web publishing and Web site management.
- Explain client-side scripting technologies, concepts and design principals.
- Design a client-side solution and apply Web technologies that meets specified requirements.