Carmel Grimmett

unread,
Oct 8, 2017, 3:38:32 AM10/8/17
to MIT App Inventor Forum
Students have been working in AI2 for the first time, each on different sections of the same App inside one project.  Since they are all Scratch users, they had assumed they could rename screens at the end.  Now find this is not the case for AI2.  They have multiple screens labelled 'Screen One' hence cannot use the Merge tool.  Is it possible to copy the code and use it to set up a new project with each screen numbered sequentially? All ideas and advice much appreciated.

Chris Ward

unread,
Oct 8, 2017, 5:28:58 AM10/8/17
to mitappinv...@googlegroups.com
I'm a newbie on AI myself and surprised that the AI team did not realise that a Developer might need to change a screen name on-the-fly, it's not an issue in other languages :). However, it's fair to say that there is no such thing as a perfect programming language, nor a perfect IDE. The AI concept is brilliant, AI2 a sturdy implementation of that concept.

So, one half-way solution would be for each Student to add a Screen to their Individual Project, giving it the name required for the Collaborative Project. The blocks can be copied from 'Screen 1' to the Back Pack and from the Back Pack to the 'New Screen'. 'Screen 1' could then be deleted*, but if the Student has defined a GUI (Designer) for her/his contribution, it looks like that will have to be redone (take a screenshot of the GUI layout first and work from there).

Hopefully, one of the experienced AI Users knows of a far better way, but if the individual projects are small then not much time will be lost.

*Edit: I see that AI2 allows you to delete any screen except Screen1 - it sounds as though the name Screen1 is a dependency:


Could it be that the Merger App is "Screen1" aware, and you just have to ensure the project names are unique? Looking at the documentation, I think it is:



Juan Antonio

unread,
Oct 8, 2017, 7:52:02 AM10/8/17
to mitappinv...@googlegroups.com

Evan Patton

unread,
Oct 9, 2017, 12:43:32 PM10/9/17
to MIT App Inventor Forum
It's not that we don't realize the need, but more the fact that as part of a curriculum you would typically have people do some design prior to getting started in App Inventor (and therefore have a sense of what the screens would do). This will probably be a feature we will add in the future (now issue 954).

Evan

Reply all
Reply to author
Forward
0 new messages