why it has too small picture capacity?

26 views
Skip to first unread message

히어로즈냥냥

unread,
Sep 9, 2018, 6:44:25 AM9/9/18
to MIT App Inventor Forum
my app doesnt work. 
so i tested to find the reason of bad bug. 
finally i found the reason, it has too small capacity for pictures that i used only 15. 
 please help me. if i wrong
, tell me what is the reason. 

Boban Stojmenovic

unread,
Sep 9, 2018, 7:54:07 AM9/9/18
to MIT App Inventor Forum
See the following general tips and in your case especially #2
  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
/Boban

Chris Ward

unread,
May 13, 2019, 6:29:35 PM5/13/19
to MIT App Inventor Forum
Hi

See my tips on images for App Inventor / Android. Remember that Smart Phones are small devices with small screens, so large images are always an issue.
Reply all
Reply to author
Forward
0 new messages