2014년 11월 30일 일요일

Multible Screens

I am having trouble navigating between screens. Do I have to close a screen before opening one? How do I switch to a screen that is opened? What are all the commands like "Close screen with value    result"?



Ben, have you done ANY of the tutorials?  If not, you should.  The tutorials are located here: http://appinventor.mit.edu/explore/ai2/tutorials.

Here are solutions on how to switch screens... http://puravidaapps.com/tribblehunter.php

Please read my tips below:

For our App Inventor Tips, visit TwoDogApps.com



Ben, you do not have to close a screen before opening one, HOWEVER, eventually your app will crash and burn because if a screen is not closed as you exit it the screen gobbles system memory (an exception is Screen1, which is never closed).  Use up enough system memory and lots of woe.

Read Enis's post and do close screens on exiting them properly.  Be aware, the screen changing method described in the link he provides works after the apk has been built...use the browser Screen button to change screens while developing... however when this code is in place, it  prevents the device's system memory from overflowing and crashing your app.

댓글 없음:

댓글 쓰기