Android App - Images

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
Googie85
Posts: 227
Joined: Tue Aug 05, 2014 10:07 am

Android App - Images

Post by Googie85 » Thu Nov 06, 2014 11:12 am

Hello Guys,

I am writing an app for Android and I have a problem that I am sure there is a simple answer for. For example, I have an image that I want to set as a background, in the inspector I was wondering about how to point it to a location on the Android device for a .bmp or .jpg file? I have put ./background.jpg but nothing appears as background on the device. Im sure its a simple solution, any help is greatly appreciated!

Many Thanks,

Matthew.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Android App - Images

Post by Simon » Thu Nov 06, 2014 9:46 pm

Hi Matthew,
Are you using a referenced image?
For something like a background I'd just import it into the stack File>Import as Control>Image File.

Now if were some kind of slide show then I'd use an external folder. In that case you have to use Copy Files in the standalone settings.
The folder/images will end up in "specialFolderPath ("engine"). Look it up.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply