Page 1 of 1
RunRev App Launch into Different iOS App
Posted: Wed Feb 01, 2012 4:52 am
by Tester2
Hey Livecoders,
What are the script(s) required to launch into another iOS application from your RunRev App?
Thanks so much.
-Tester2
Re: RunRev App Launch into Different iOS App
Posted: Wed Feb 01, 2012 12:49 pm
by Mark
Hi anonymous,
Can you be more specific? If you need to launch one app from another app, you need to hack around in plist files. What exactly do you want?
Kind regards,
Mark
Re: RunRev App Launch into Different iOS App
Posted: Wed Feb 01, 2012 10:05 pm
by Tester2
Hey Mark,
I wrote my question incorrectly...what I'm trying to do is call/open my RunRev App from a different second app.
I know with some programs you can use a URL to launch into a different application.
Is this a similar deal?
Thanks so much!
-Tester2
Re: RunRev App Launch into Different iOS App
Posted: Thu Feb 02, 2012 1:43 pm
by Mark
Hi,
If you want to open your app from another app, you need to define the protocol for your app in the plist file. Since you can't specify your own plist file in the standalone settings, you need to hack the standalone settings. I can't find a good example that quickly, but I'm sure you can find an example of a URL scheme in a plist file somewhere on the 'net.
Kind regards,
Mark
Re: RunRev App Launch into Different iOS App
Posted: Thu Feb 02, 2012 2:54 pm
by teacherguy
Similarly, is there a way to have your iOS included in the "Open With" list that shows in the mail app when there is an attachment?
Re: RunRev App Launch into Different iOS App
Posted: Thu Feb 02, 2012 3:08 pm
by Mark
Hi,
Yes, but only theoretically. Again, you need to fiddle with the plist file, but now it is even more difficult, because LiveCode has no way to retrieve information about the document you're trying to open. You may be able to launch your LiveCode app, but you won't be able to find out which document Mail wanted to send to your LiveCode app. A development platform that can do this is Phonegap.
Kind regards,
Mark
Re: RunRev App Launch into Different iOS App
Posted: Thu Feb 02, 2012 8:25 pm
by jacque
Tester2 wrote:Hey Mark,
I wrote my question incorrectly...what I'm trying to do is call/open my RunRev App from a different second app.
I know with some programs you can use a URL to launch into a different application.
-Tester2
I think you are looking for the "launch" command. See the dictionary. It will launch your second app.
Re: RunRev App Launch into Different iOS App
Posted: Thu Feb 02, 2012 8:35 pm
by Mark
Hi Jacque,
Does that work on iOS?
Mark