Android hardwareAcceleration setting

edited July 2012 in Packaging Apps
In your AndroidManifest.xml, add android:hardwareAccelerated="true" to the application tag:
<application android:hardwareAccelerated="true" ... >

seems to make a -huge- difference in Enyo 1 scrollers. haven't tried much else yet.

Comments

  • Wow, this also makes a huge difference with enyo2.
    Thanks!
  • Can you guys post your exact AndroidManifest.xml files please?
  • According to the "manual", hardwareAccelerated defaults to true if you're targeting API > 14, but that doesn't seem to actually be the case.

    My AndroidManifest.xml is just like the one that came with the PhoneGap Android demonstration, except for changing the app names and removing features i didn't use. And now adding that android:hardwareAccelerated bit.
  • I get a no resource found for attribute error when I add that to the application tag
  • It did not seem to make any difference for our application speed, which is horrendous by the way. Using PhoneGap's latest build, Android 4.0.x on HP Touchpad(CM9) and have had it tested on a Nexus 7 running 4.1. Results are less than good.

    Enyo 2/Phonegap doesn't run too well on Android it seems. Runs great on Chrome/HP Touchpad(webOS)
Sign In or Register to comment.