How to change main/start screen?

12,291 views
Skip to first unread message

Phu Duong

unread,
Feb 19, 2012, 3:54:07 PM2/19/12
to appto...@googlegroups.com
Hi,
how to change the mainscreen in appinventor? I want to make a another screen show up first when i start the app. How to do that?

I want to make the "start_screen" to run first when i start the app.


I am sorry if this is a bad question and spam this great forum, but i am a neewbie :( 



Taifun

unread,
Feb 19, 2012, 4:06:46 PM2/19/12
to appto...@googlegroups.com
in Screen1.Initialize use the "open another screen (  Start_Screen )" block

Taifun
Message has been deleted

Phu Duong

unread,
Feb 20, 2012, 5:35:17 AM2/20/12
to appto...@googlegroups.com
Thanks for asnwer, but i have a button in "start_screen" that redirect you to "screen1" but when it loads "screen1" then it loads back to "start_screen"
How to fix this issue?


Taifun

unread,
Feb 20, 2012, 9:12:20 AM2/20/12
to appto...@googlegroups.com
try this:

Taifun
x.zip
Message has been deleted

Phu Duong

unread,
Feb 20, 2012, 4:02:50 PM2/20/12
to appto...@googlegroups.com
No, that did not work :( Maybe you can take a look on my app and  maybe find the problem?

Quiz_Animals_FULL.zip

Taifun

unread,
Feb 20, 2012, 5:49:06 PM2/20/12
to appto...@googlegroups.com
in my last post I added an App Inventor source file called x.zip which works.
Just take a look!

Taifun

Phu Duong

unread,
Feb 21, 2012, 6:06:12 AM2/21/12
to appto...@googlegroups.com
But when i click on the back button on my phone then i get error 903 "bad value was recieved from other screen" It is possible to change the order of the screens in the viewer?

Taifun

unread,
Feb 21, 2012, 8:00:34 AM2/21/12
to appto...@googlegroups.com

Phu Duong

unread,
Feb 21, 2012, 8:21:03 AM2/21/12
to appto...@googlegroups.com
ok, thank you very much, but how to fix this bug?

brett328

unread,
Feb 21, 2012, 12:15:29 PM2/21/12
to appto...@googlegroups.com
I use a different work around in my app that is seamless. I use only 1 screen for everything. Set all elements except for the "start screen" to not visible (uncheck visible box).  then as you navigate from 1 synthetic screen to another, just have the buttons declare the desired screen "visible" and the undesired screen not visible. It gives the illusion of jumping from screen to screen, but in reality, you are just making the desired portions visible and the turning off visibility for the undesired elements.

Phu Duong

unread,
Feb 22, 2012, 2:45:07 PM2/22/12
to appto...@googlegroups.com
It is not possible to un-check the visible box because it is none uncheck boxes.

brett328

unread,
Feb 22, 2012, 3:52:32 PM2/22/12
to appto...@googlegroups.com
What has no "visible" box?  All elements that you add to the screen have a "visible" box.  I am suggesting that you do not create 2 screens.  Keep everything on screen1.  Then if you want to make it appear as if you are going to a new screen, just toggle all the currently "visible" boxes to empty and turn on the "visible" boxes for the elements that you now want to appear.

Phu Duong

unread,
Feb 22, 2012, 4:38:15 PM2/22/12
to appto...@googlegroups.com
It is no visible box for screens! And i need 2 screens for a welcome screen

Taifun

unread,
Feb 22, 2012, 5:19:07 PM2/22/12
to appto...@googlegroups.com
you have 2 possibilities:
1. use the new multiple screen feature and wait, until the bug is fixed, or
2. use one screen only (brett's suggestion) together with one of the multiple screen templates, available for download here: http://code.google.com/p/the-ai-repository/downloads/list 

Taifun

Phu Duong

unread,
Feb 23, 2012, 4:14:46 AM2/23/12
to appto...@googlegroups.com
What is the new multiple screen feature?

M. Hossein Amerkashi

unread,
Feb 23, 2012, 1:40:36 PM2/23/12
to appto...@googlegroups.com
Previously, AI had only 1 screen (Screen1). For apps that required multiple screens, you had to simulate and make components visible or not visible giving impression that user is switching to a different screen. New version now has multiple screen so that you don't have to go through this. In designer, when you select a different screen (e.g. Screen2), then your designer components only show only related components AND same for blocks editor.

-Hossein

Laura Bermudez

unread,
Oct 17, 2016, 12:28:10 PM10/17/16
to AppToMarket
I have been trying to do this on my app. However, I cannot figure out how to make the different screens visible and invisible
Reply all
Reply to author
Forward
0 new messages