Page 1 of 1
Android Phonegap build flickering
Posted: Sun Oct 14, 2012 8:06 pm
by Kevin
Hello!
I've noticed that my android app still flickers even after applying various solutions both on this forum and around the web.
This occurs when i export the app as Android (web resources) and then build it on phonegap.
But if I export it as Android apk the flickering is gone just by adding the code as explained on this post http://blog.tiggzi.com/2012/08/elimin...
Is there a workaround for phonegap builds?
Android Phonegap build flickering
Posted: Sun Oct 14, 2012 9:23 pm
by maxkatz
Apply the workaround, then export the app (as Eclipse project) and take it to PhoneGap Build.
Next week every Android project will have this included automatically.
Android Phonegap build flickering
Posted: Mon Oct 15, 2012 3:48 am
by Kevin
Thanks I'll give it a try.
Android Phonegap build flickering
Posted: Mon Oct 15, 2012 1:58 pm
by Emmz
Kevin. Just A thought....
Use custom JS to change screens.
codeTiggr.navigateTo('DesiredScreen',{ transition: 'none'}); /code
After much testing. This works no mater how the project is compiled or run.
Flicker gone, allows for Back history as well..
Android Phonegap build flickering
Posted: Mon Oct 15, 2012 2:24 pm
by Kevin
Hey Neil Thanks. I actually tried that from a post you suggested on another thread 
I replaced all Navigate to Page instances with the custom JS but still flickered on phonegap build.
I even edited the html files and added data-transition="none" on all links but still flickered.
BTW do u compile using phonegap build at http://build.phonegap.com ?
Android Phonegap build flickering
Posted: Mon Oct 15, 2012 6:10 pm
by Emmz
Hmmm.. Thats a Pain.
I'm Rendering all Pages in One HTML.
However. A while back I was not and There was no flickering either.
I have over 15 screens with alot of code and dynamic HTML. Even with all that there is absolutely no Flickering on the Tiggzi compiled APK. Or the Tiggzi Mobile App Tester running on Android 2.3.5 Galaxy S2
I compile and Modify With Eclipse.
Tried Adobe and Dreamweaver 5.5 But had too many linking errors all the time..
Android Phonegap build flickering
Posted: Mon Oct 15, 2012 7:11 pm
by Kevin
I think the problem is with http://build.phonegap.com because I've tried compiling using eclipse and phonegap everything worked out perfect, no flickering whatsoever.
I'm going to stick with this method for now since the tiggzi compiled APK doesn't give me access to AndroidManifest.xml
Android Phonegap build flickering
Posted: Mon Oct 15, 2012 7:41 pm
by Emmz
Good Stuff !! Ya And Lots Of Tiggzi generated "stuff" I dont use. Can be clipped..