no restart when closed?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 32
- Joined: Mon Nov 26, 2012 6:07 pm
no restart when closed?
How I can get my app on ipad not restart when closed,
I need to continue on the last card where you stay?
Thanks
I need to continue on the last card where you stay?
Thanks
Re: no restart when closed?
Olà Jorge,
Standalone remains as you compiled it (for all platforms)
You have to write the name of current card in a file when you quit and read it at preopenstack and go to this card.
Best regards
Jean-Marc
Standalone remains as you compiled it (for all platforms)
You have to write the name of current card in a file when you quit and read it at preopenstack and go to this card.
Best regards
Jean-Marc
https://alternatic.ch
Re: no restart when closed?
Hi jorgecaballero,
Didn't you ask this already?
http://forums.runrev.com/phpBB2/viewtop ... 49&t=20045
If you trouble understanding the stack I provided just ask.
Simon
Didn't you ask this already?
http://forums.runrev.com/phpBB2/viewtop ... 49&t=20045
If you trouble understanding the stack I provided just ask.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- VIP Livecode Opensource Backer
- Posts: 32
- Joined: Mon Nov 26, 2012 6:07 pm
Re: no restart when closed?
Hello
It worked fine in the simulator, but I uploaded it to the appstore and does not work.
Do not save the file in the "Documents" folder, create a different, you think that is the problem?
I must save the "documents" folder? or I can try it on the "Engine" folder.
What is your recommendation?
thanks
It worked fine in the simulator, but I uploaded it to the appstore and does not work.
Do not save the file in the "Documents" folder, create a different, you think that is the problem?
I must save the "documents" folder? or I can try it on the "Engine" folder.
What is your recommendation?
thanks
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: no restart when closed?
jorgecaballero,
You can not write to the "engine" folder, or create a new folder, so you should use specialfolderpath("documents")
Here's a link to a lesson about reading and writing files on mobile:
http://lessons.runrev.com/s/3527/m/4069 ... -on-mobile
Hope this helps
--Sefro
You can not write to the "engine" folder, or create a new folder, so you should use specialfolderpath("documents")
Here's a link to a lesson about reading and writing files on mobile:
http://lessons.runrev.com/s/3527/m/4069 ... -on-mobile
Hope this helps
--Sefro
Re: no restart when closed?
Hi jorgecaballero,
You don't save anything with the standalone, it writes the preference file on first run.
Did you look at the preference.txt file in your documents folder while running it just in the IDE?
Simon
You don't save anything with the standalone, it writes the preference file on first run.
Did you look at the preference.txt file in your documents folder while running it just in the IDE?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- VIP Livecode Opensource Backer
- Posts: 32
- Joined: Mon Nov 26, 2012 6:07 pm
Re: no restart when closed?
.
ok thanks, then that's my mistake,
will update and will use the folder "documents"
,
ok thanks, then that's my mistake,
will update and will use the folder "documents"
,
Re: no restart when closed?
You can make a folder in the Documents folder - or just use the Documents folder to hold your file. The engine "folder" is in the app binary and as we said previously you can't change the app binary.
Did you really upload your app to the Apple app store without testing it on a device?
Gerry
Did you really upload your app to the Apple app store without testing it on a device?
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.