Skip to first unread message

Pau Fernández

unread,
May 29, 2017, 5:53:46 AM5/29/17
to MIT App Inventor Forum
cuando cambio de pantalla con unas fotos y videos puestos en una screen, al cambiar de screen desaparecen. Ayuda

SteveJG

unread,
May 29, 2017, 8:07:55 AM5/29/17
to MIT App Inventor Forum
see the following general tips and in your case especially #1 and #2       How large are your images?  Are you closing the screen you are own before leaving -the recommended method of switching screens)?

  1. Use different screens wisely
    Before starting to create another screen, first you should think about is it really necessary? See also Building apps with many screens and SteveJG's post about advantages/disadvantagesbecause in only one screen you also can use vertical arrangements to simulate different screens, just set the arrangements to visible = true/false as needed... See also Martyn_HK's example about how to use Tabs in App Inventor and another example from Cyd

    If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a while...      
    The recommended method of switching screens in App Inventor

  2. App Inventor works best if you use images whose size matches the size you want them to appear on your screen. If you import larger images into your app, your app may run out of system memory. Using Images with App Inventor

  3. Avoid redundancy
    Probably it helps to read chapter 19 - 21 in Dave's book http://www.appinventor.org/book2 to get an idea how to do DRY programming with App Inventor - Don't repeat yourself 

  4. See SteveJG's monster list of tips and tricks

  5. How to overcome the App Inventor project limit of 10 MB

  6. Backup your project frequently
Reply all
Reply to author
Forward
0 new messages