The new Android 2.3 Gingerbread is gaining attention from everyone due to its improved features over the Android 2.2 Froyo. Importantly, some of the common operations that are with Android 2.2 and 2.3 will gain more efficiency and faster performance for every application through the new OS.
Game developers got many more benefits through the new OS over the existing Froyo and those are:
• Concurrent garbage collector is one of the major improvements. This will minimize the pause in application and in turn helps well for smoother animation with improved responsiveness in all games and some other similar applications.
• Faster event distribution procedure in new OS is hard to ignore. The new OS offers improved touch and keyboard usage efficiency over the current Froyo. This will minimize the CPU utilization during the event in turn result into little burden over the processor. Some of the touch games that are combined with 3D features will be more effective through new OS.
• Updated video drivers should be appreciated in the new OS. The new OS comes with updated third-party video drivers, which can improve the efficiency of OpenGL ES operations. This will impart faster 3D graphics performance for games unlike the earlier Froyo.
Sensor Events and Native input Issues:
• Some of the applications that will use the native code can receive and process input and sensor events directly in their native code through the new OS and this facility is not there with Froyo. This facility will improvise the responsiveness and efficiency quite significantly.
• Native libraries exposed by the OS let applications handle the similar type of input events like the way those are with the framework. This is indicating that the application can now receive events from all supported sensor types successfully through this new OS. This will also offer a chance to disable or enable the sensors in order to manage the event delivery rate and its queuing.
Android 2.3 Gingerbread is having a facility to add API support for several sensors types unlike the Froyo. This will include gyroscope, rotation vector, linear acceleration, and gravity and barometer sensors. Now, an application can successfully use the new sensors in combination with some other sensors that are available over the device. This will helps well to track three-dimensional device motion and orientation change with utmost precision. This facility is not available with Android 2.2 Froyo earlier.
Open API for Native Audio:
• The latest Android 2.3 Gingerbread comes with a software implementation of Khronos OpenSL ES, and this is a standard API. Through this, every application can access powerful audio controls and effects directly from its native code. This native code is also capable enough to manage audio controls for the application in many forms.
Native Graphics and Its Management:
• The latest platform will arrange an interface to its Khronos EGL library. Through this, every application can gain control over the graphics context, create, and manage Open GL ES textures along with surfaces directly from the native code.
Activity Cycle and Window Management
• This OS will offer a chance to application to declare a new variety of Activity class, Native Activity that is with lifecycle callbacks and this will be implemented directly within the native code successfully. Through this, the Native Activity and its underlying native code can run in the system just as it does other activities.
• Native APIs for managing windows is another facility with the new OS unlike the Android 2.2 Froyo. This will include feasibility for lock and unlock the pixel buffer to draw directly into it. Importantly, native window object that is associated with the framework Surface object and this will interact directly with the native code successfully.
Assets and Storage:
• The new OS allows the application to access native Asset Manager API for retrieving application assets from the native code. Earlier with Froyo, this was done through JNI.
• Similarly, an application can access a native Storage Manager API for working directly with OBB files. Generally these OBB files downloaded and managed by the system. Now, Android 2.3 Gingerbread is capable enough support for OBB unlike Froyo.
Native Development Environment:
• The Android 2.3 Gingerbread comes with the Android NDK (r5 or higher). This will provide a complete bunch of tools and libraries that are useful for developing applications. Through this rich native environment can be obtained successfully.