Android 3.0 (Honeycomb) provides full 2D hardware acceleration in applications, and Romain Guy explains the ins and outs of enabling it in your app at the Android Developers Blog. Mr. Guy is a software engineer for Google's Android project, and is heavily involved in the graphics rendering code for both Gingerbread and Honeycomb, and seeing him take the time to further application development for Android is great. He's also one hell of a photographer, and some of his work has been used as the stock backgrounds on Android phones.
Developers should check out the source link for all the details, but we'll keep it a little more end-user friendly here. Hardware acceleration has been around for a while in Android for things like OpenGL games, but now normally coded apps can use and benefit from it as well. On the Motorola Xoom, all the stock applications already use accelerated 2D graphics, and third party apps can take advantage of it with a single line added to the AndroidManifest.xml file in the source code. If the app is using the standard set of drawables, all operations will then use the GPU when drawing them on-screen.
There are some other things to consider if you've written custom drawing code, which is why hardware acceleration is disabled by default. Mr. Guy takes the time to explain what you need to do as well as what operations are supported if you need to go this route. Looks like we're going to be seeing some awesome third party apps coming up for tablets running Honeycomb. [Android Developers Blog]
- Related devices: