- This topic has 5 replies, 4 voices, and was last updated 11 years, 6 months ago by support-octavio.
-
AuthorPosts
-
steven168hMemberMy native apps file size is 20MB, when loading the file, splash screen will loading at least second or longer, how can make it fast?
support-octavioMemberCan you share details:
1) tell us about your devices, e.g., device and OS version? are you running android or iOS? does your app take the same time to load in iOS as on Android?
2) how big is your app, e.g., file size, number of images, number of screens…
2a) if you create a super simple app, let’s say it contains 1 image, how long does it take to launch such a trivial app
Unknown AuthorParticipantsmaller app…no ondeviceready function…no init function…new hardware…
steven168hMember@support-octavio wrote:
Can you share details:
1) tell us about your devices, e.g., device and OS version? are you running android or iOS? does your app take the same time to load in iOS as on Android?
2) how big is your app, e.g., file size, number of images, number of screens…
2a) if you create a super simple app, let’s say it contains 1 image, how long does it take to launch such a trivial app1. I use the Samsung S3, Note, Note II testing but fill same problem. Further sometime lacking when scroll down.
2. Apps size is 20.3MB, a lot of images, may be more than 160pcs. Actually my apps is very simple, click into 2nd pages and view the images than back to 1st images.
So, can u advised me how to make it faster?
support-michaelKeymasterI’m not sure there is a quicker loading mechanism. My understanding is that the android startup image is handled programmatically. Thus the app code has to load before the startup image rendering can begin. I kicked this question to the dev team for review and additional input. Will share what I learn asap. I suspect that speeding up the loading time will be the response.
support-octavioMemberHi steven168h,
You can minimize the initial size of your app to be loaded by setting the HTML Page Architecture of resource intensive pages (anything that loads a ton of images or other resources) to “Remote Web Page (AJAX)”. What this effectively does is defer loading any screen with this setting until it is requested at runtime. The mobione phoneui.js lib will fetch a remote screen’s html, javascript and css and merge it into the DOM. All other screens will be packaged into a single html file that is loaded on startup to create the initial DOM state of the application.
-
AuthorPosts