Over 200 image files to use in app

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
abanowBUSTfGf
Posts: 63
Joined: Sat Dec 22, 2012 3:01 am

Over 200 image files to use in app

Post by abanowBUSTfGf » Mon Jan 07, 2013 11:17 pm

I need to use over 200 images in an Android app. Would I have to import all the
images into the stack? Also what should be the minimum dimensions of each image
if the app is to be deployed on Android devices? Thanks.

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Over 200 image files to use in app

Post by shaosean » Tue Jan 08, 2013 11:38 am

Might be better asked in the Android forums..

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Over 200 image files to use in app

Post by Mark » Tue Jan 08, 2013 5:54 pm

Hi,

You shouldn't import all images. You should include them with your standalone as separate files and use referenced image controls, because you might run into memory limits, unless the images are fairly small. Note that a 100K JPEG file can easily take up several MB's of memory in LiveCode.

Android doesn't impose any technical limits on the size of a picture. There are rare occasions where an img control smaller than 8x8 pixels can cause problems in LiveCode (this was a bug that might have been fixed by now).

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply