Kevin
Posts: 0
Joined: Sun Oct 07, 2012 7:58 pm

Android Phonegap build flickering

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?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Android Phonegap build flickering

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.

Kevin
Posts: 0
Joined: Sun Oct 07, 2012 7:58 pm

Android Phonegap build flickering

Thanks I'll give it a try.

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Android Phonegap build flickering

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..

Kevin
Posts: 0
Joined: Sun Oct 07, 2012 7:58 pm

Android Phonegap build flickering

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 ?

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Android Phonegap build flickering

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..

Kevin
Posts: 0
Joined: Sun Oct 07, 2012 7:58 pm

Android Phonegap build flickering

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

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

Android Phonegap build flickering

Good Stuff !! Ya And Lots Of Tiggzi generated "stuff" I dont use. Can be clipped..

Return to “Issues”