Return to card when app closes

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
KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

Return to card when app closes

Post by KennyR » Sat Aug 25, 2012 7:30 pm

Hi everyone,

I'm back with more stupid questions, so just a warning. I have been working on an application for a long time and recently took some time off from it due to being sick of working with it. Anyway, It is a basic tracking application for therapists. I have figured out how to retain data between sessions and have that data loaded back to the screen they were working with, but there appears to be an issue with returning to the last screen viewed when the application closes or the user receives a text message or phone call. I would like to know how I can have the application load back to the last screen they were viewing when the application closed. Any idea on where I might need to read up on this, or better yet any ideas on what I can do to accomplish this?

Thanks everyone ahead of time for the help...

Oh by the way, this is an application for IOS iPhone...

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Return to card when app closes

Post by Dixie » Sat Aug 25, 2012 8:08 pm

KennyR...

I have attached a stack that will do what you wish... Swipe through the cards... close the app.. launch it again and it will open at the card that you were on before it was closed...

hope it helps...

Dixie
Attachments
swipe2.livecode.zip
(2.09 KiB) Downloaded 191 times

KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

Re: Return to card when app closes

Post by KennyR » Sat Aug 25, 2012 8:16 pm

LOVE YA LONG TIME DIXIE!

Post Reply