I have been working on an app that has over 100 checkboxes and images. I was experiencing problems with AI2 running extremely slow. I found something out that made a huge difference and would like to share with you.
If you have enough available memory, you can manually allocate more memory to Java since AI2 runs on Java. Look at below link to see how. It's the same deal for windows 8 and 10.
1 to 2 gb made a huge difference. Make sure you have enough available memory by looking at your Task Manager under the performance tab..
Hope this helps
--
thank you for your contribution, however there is one tiny issue...
you can manually allocate more memory to Java since AI2 runs on Java
App Inventor DOES NOT run on Java, which means, these changes do not help to run App Inventor faster. App Inventor runs completely in the browser...
an app that has over 100 checkboxes and images. I was experiencing problems with AI2 running extremely slow.
you can try a personal server to see, if you get a better speed, because a personal server runs completely on your computer without internet connection, see also Overview: Different App Inventor Distributions and Versions
the better solution however would be to reuse your components
in your case create a screen, which has for example only 10 checkboxes and a button. On start of the app, checkbox 1-10 will be displayed.
After button click, store the values (true/false) of the checkboxes 1-10 in a list, then load the text for checkbox 11-20 and display the texts using the same checkboxes
After another button click, store the values (true/false) of the checkboxes 11-20 in a list, then load the text for checkbox 21-30 and display the texts using the same checkboxes, etc
see also Building apps with many screens
and
--
댓글 없음:
댓글 쓰기