Page 1 of 1
App not working in Android
Posted: Fri Sep 09, 2016 10:00 pm
by newpie
Hello, I was researching the forum and I found a 2013 app (called seaFauna) from page:
http://forums.livecode.com/viewtopic.ph ... 98&p=74145
I tested in android emulator and it works fine. When I upload it to my android tablet it just shows blank app page with no pictures.
Does anyone know how I can diagnose the problem or if you know the issue please let me know. Thanks
My tablet has Android version 4.4.2
Thanks
Re: App not working in Android
Posted: Sat Sep 10, 2016 4:07 pm
by jacque
Are the images embedded in the stack or stored separately on disk? If on disk, be sure they are included in the Copy Files pane of the standalone settings.
Otherwise, what Android version are you building for? Try changing the minimum build to honeycomb or later. Make sure the build tools in the Android SDK are up to date.
Re: App not working in Android
Posted: Sat Sep 10, 2016 4:34 pm
by Klaus
Hi newpie,
I think you have added the folder "theContent" via the "Copy files" tab in the standalone builder settings?
If yes, then this is not correct and causes the missing images:
Code: Select all
...
## if the environment is "mobile" then
## put specialFolderPath("cache") into tLoc
## else
...
Instead you'll find you data here:
Code: Select all
...
if the environment is "mobile" then
put specialFolderPath("resources") into tLoc
else
...
Best
Klaus
Re: App not working in Android
Posted: Sat Sep 10, 2016 5:07 pm
by newpie
Hello,
@jacque - Thanks for replying. The zip file I attached was how it came to me from download. It seems the images are stored separately and in the "copy files" pane. The Android version was the lowest selection in the settings. Other apps I created do work so I believe the SDK is ok.
@Klause -Yes the theContent was in the copy files tab. From what I can tell the initial goal of the script is to copy the data into the cache memory so the user could submit to apple as the other way was being denied due to space issues.
I will look at your suggestion, thanks.