Page 1 of 1

Over 200 image files to use in app

Posted: Mon Jan 07, 2013 11:17 pm
by abanowBUSTfGf
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.

Re: Over 200 image files to use in app

Posted: Tue Jan 08, 2013 11:38 am
by shaosean
Might be better asked in the Android forums..

Re: Over 200 image files to use in app

Posted: Tue Jan 08, 2013 5:54 pm
by Mark
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