开发者

Android Javascript app slower than the same in-browser

I wrapped a JavaScript app that prints 200 text messages on the screen into an Android app us开发者_StackOverflow社区ing WebView. The exact same app executes in the native Android browser about 2x faster than the installed app. Why is that, and is there a way to speed it up as an installed app? The Android version is 2.3.3 and the device is Motorola Droid 3.


WebView capabilities are limited as compared to Browser capabilities. One of the most important thing to improve performance would be to reduce the size of your js file (all static files) as from my experience loading takes more time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜