Developer Console

Graphics Performance (Fire Tablets)


Optimizing graphics can significantly improve the performance of your app. Graphics optimization includes using hardware acceleration when available, and writing your code to work efficiently with the GPU.

Hardware Acceleration

Second, third, and fourth-generation Fire tablets support hardware acceleration of graphics. Apps that specify a minimum Android API level of 11 or later can enable hardware acceleration. Apps that specify a minimum Android API level of 14 or later have hardware acceleration enabled by default.

For Android API level 11, 12, or 13, in your AndroidManifest.xml, you can turn on hardware acceleration by adding the following attribute to the <application> element:

<application android:hardwareAccelerated="true" ...>

If your AndroidManifest.xml specifies API level 10 or earlier, hardware acceleration cannot be enabled and this attribute is ignored.

You can also control hardware acceleration at the Activity, Window, or View level, independent of the settings in AndroidManifest.xml. For information about when not to use hardware acceleration and about controlling hardware acceleration at the component level, see the Android API guide for Hardware Acceleration.

Last updated: Oct 29, 2020