Reputation: 4527
I load plain Bootstrap starter app (minified css and js) on PhoneGap (latest version, 3.0.0). Somehow it takes 8-10 seconds just to load the application (run on Samsung S3). Does anyone encounter the same issue? How to improve?
I believe it's not PhoneGap nor my Samsung S3 issue as plain HTML without Bootstrap load very fast.
Upvotes: 0
Views: 1433
Reputation: 41
Do you really need phonegap? I made some applications with cordova + bootstrap (v3) and the applications start in less than 3 seconds.
Be sure that your resource files being loaded locally.
Upvotes: 0
Reputation: 3249
Try the following:
android:hardwareAccelerated="true"
in the manifestIf you use webview:
webview.getSettings().setRenderPriority(RenderPriority.HIGH); and webview.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
Upvotes: 1
Reputation: 619
Have you tried removing the javascript? That's the only thing that really would be slowing it down I think.
Upvotes: 1