Canvas Of HTML5 While Using Phonegap Too Slow On Android -


using galaxy s4 (android 4.3) run phonegap 3.4 app has html5's canvas running animations.

when run app normally, works fine 'ok' fps while drawing stuff on canvas..

when want turn app using max possible screen resolution of smart-phone, adding code below:

public void oncreate(bundle savedinstancestate) {     //... code     appview.getsettings().setloadwithoverviewmode(true);     appview.getsettings().setusewideviewport(true);     //... more code } 

than yes screen resolution ok, animations move @ around 1 fps.. bad.

how can improve performance ? getting max screen resolution (code posted) doing right way ?

if app full screen, can try the adobe fastcanvas plugin instead of regular canvas, should faster.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -