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
Android Images not showing
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Android Images not showing
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
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
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
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
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.
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.
- Private Consultant (Technology)
Re: Android Images not showing
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w