2014년 12월 11일 목요일

Open Another screen

When you want to switch  beetween 2 screens you use in the block editor of the first screen Open another screen (The tutorials about this functionnality are multiple screens or colored dot for app inventor). How could you select the name of the second screen in the block editor of the first screen to fill the screenname?



just use a text block

Manager Screen Demonstration



If others have any idea on that thanks to write a post.



You probably want to use the Control block     open another screen  screenName    with the name of the second screen; like  :


 open another screen  screenName  secondscreen          Doing that in a Button event handler will take you from Screen1   to  secondscreen    (if you created a second screen and named it on the Designer screen of AI2.

Be aware, if you open another screen, when you exit it, you have to close it:  TribleHunter    http://puravidaapps.com/tribblehunter.php   note, this method works after the apk has been built...use the browser Screen button to change screens while developing... however you place this code, it will prevent the device's system memory from overflowing and crashing your app.

If this is not what you want, you need to rephrase your question 


댓글 없음:

댓글 쓰기