Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Go from app to app

Explorer ,
Sep 25, 2013 Sep 25, 2013

Does anyone know if possible in Air for iOS to create an app and have it also open another app created by same dev. I see apps in the appstore doing it that are created the native way but don't know if possible in Air.

TOPICS
Development
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Sep 26, 2013 Sep 26, 2013

It should work.  It is done by registering custom URI schemes in your app:

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html#WS901d38e593cd1bac354f4f7b12e260e3e67-8000

(within the Info.plist, which you handle in AIR with your app descriptor XML iPhone/InfoAddtions)

If you get your custum URI scheme registered properly, you should be able to call within a different app:

import flash.net.navigateToURL;

navigateToURL(new URLRequest("customAppURI://myapp"))

Translate
Engaged ,
Sep 26, 2013 Sep 26, 2013

It should work.  It is done by registering custom URI schemes in your app:

http://help.adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html#WS901d38e593cd1...

(within the Info.plist, which you handle in AIR with your app descriptor XML iPhone/InfoAddtions)

If you get your custum URI scheme registered properly, you should be able to call within a different app:

import flash.net.navigateToURL;

navigateToURL(new URLRequest("customAppURI://myapp"))

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 27, 2013 Sep 27, 2013

Thank you. that tutorial was what I needed, don't know why I didn't find it myself.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 30, 2014 Apr 30, 2014
LATEST

Hello,

Did you manage to get an AIR iOS app to open another AIR iOS app via a URL scheme? I am currently requiring this functionality. The documentation I have read so far suggests that an AIR app can receive and respond to a URL scheme, but that AIR apps cannot send URL schemes to launch other apps, due to security restrictions.

Can you advise?

Kind regards

Simon

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines