Page 1 of 1
Android Images not showing
Posted: Sun Jun 18, 2017 3:33 pm
by MikeLima
Hi
I use local files in my puzzle app to be loaded dynamically (set filename). It works great in IDE, but on Android I get only empty images.
I read something about specific folders, but can't make it work. I also set "copy referenced files" to true, but I can't make it.
Can someone point me to the right tutorial, document or whatever to help me solve this ?
Help appreciated
MikeLima
Re: Android Images not showing
Posted: Sun Jun 18, 2017 4:14 pm
by Klaus
Hi Mike,
1. welcome to the forum!
2. What did you try/script so far to set the filename?
3. Do you add your images via the standalone builder settings "Copy files..." tab?
If yes, you will find all your files/images in -> specialfolderpath("resources")
...
set the filename of img 1 to (specialfolderpath("resources") & "/cool_image.jpg")
...
Best
Klaus
Re: Android Images not showing
Posted: Sun Jun 18, 2017 10:57 pm
by capellan
Hi Mike,
Check if these APK and Compressed stack files (posted in a previous forum message)
could help in your Android development:
http://forums.livecode.com/viewtopic.php?f=53&t=29207
Tell me if these files works fine in your own setup.
Al
Re: Android Images not showing
Posted: Mon Nov 06, 2017 2:08 pm
by RamaVerma
Hi Mike,
I faced a similar issue, as earlier the image was not showing.
Please check the size of the image, and incase its too large, ensure to cut it short to fit in the right pixel dimensions. Or else change your imageview. Recheck your XML file. You may check out various
android tutorial and search for the right tutorial, which can answer your query definitely. There are some tutorials which answer the image related problem you mention.
Re: Android Images not showing
Posted: Fri Dec 01, 2017 1:43 pm
by MaxV
MikeLima wrote: ↑Sun Jun 18, 2017 3:33 pm
Can someone point me to the right tutorial, document or whatever to help me solve this ?
http://livecode.wikia.com/wiki/Saving_files_on_Android