RunRev App Launch into Different iOS App

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Tester2
Posts: 102
Joined: Wed May 18, 2011 7:02 pm

RunRev App Launch into Different iOS App

Post by Tester2 » Wed Feb 01, 2012 4:52 am

Hey Livecoders,

What are the script(s) required to launch into another iOS application from your RunRev App?

Thanks so much.

-Tester2

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: RunRev App Launch into Different iOS App

Post by Mark » Wed Feb 01, 2012 12:49 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Tester2
Posts: 102
Joined: Wed May 18, 2011 7:02 pm

Re: RunRev App Launch into Different iOS App

Post by Tester2 » Wed Feb 01, 2012 10:05 pm

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

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: RunRev App Launch into Different iOS App

Post by Mark » Thu Feb 02, 2012 1:43 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: RunRev App Launch into Different iOS App

Post by teacherguy » Thu Feb 02, 2012 2:54 pm

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?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: RunRev App Launch into Different iOS App

Post by Mark » Thu Feb 02, 2012 3:08 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: RunRev App Launch into Different iOS App

Post by jacque » Thu Feb 02, 2012 8:25 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: RunRev App Launch into Different iOS App

Post by Mark » Thu Feb 02, 2012 8:35 pm

Hi Jacque,

Does that work on iOS?

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply