AIR iOS URL scheme

I'm developing an AIR for iOS app for my client to run on an iPad, and my application should be able to launch other applications using a URL scheme and also to be launched by another application, by receiving a URL scheme by it. What I read, it seems that AIR for iOS apps can receive and respond to URL patterns, but they are unable to send URL patterns to launch other applications, due to security restrictions.

Anyone know if it is possible for send and receive URL patterns?

Yes, you can.

Open installed "Wikitude" app can be done via this script

import flash.events.MouseEvent;

btn.addEventListener(MouseEvent.CLICK, callURL);

function callURL(e:MouseEvent):void{
    navigateToURL(new URLRequest("wikitude://"));
}

Likewise, you can open your app from any other. In the example above Wikitude app is URI id. The same below the iPadARIconAppB

Here is the part of the descriptor of the Application - my old project xml.xml:

UIDeviceFamily

1

2

CFBundleURLTypes

CFBundleURLName

com.camel.geo.iPadARIconAppB.iPadARIconAppB - schema

CFBundleURLSchemes

iPadARIconAppB

UIApplicationExitsOnSuspend

]]>

standard

You must replace CFBundleURLName by your app in my sample ID and CFBundleURLSchemes put your own application name.

If you want to open your application to any other - you must open "iPadARIconAppB://" and if you pass params - just "iPadARIconAppB:/ / myparams" and read via Invoke in Adobe Air. "

The air is great and allow a lot of things

Tags: Adobe AIR

Similar Questions

  • Is faster than the local AIR IOS app remote SWF SWF because I can ' t use the unloading code.

    Are faster than the local SWF on AIR IOS app remote SWF because I can't use the code to unload on IOS of AIR.

    my local code:

    Stop();

    import flash.net.URLRequest;

    import flash.system.ApplicationDomain;

    import flash.system.LoaderContext;

    import flash.filesystem.File;

    import flash.filesystem.FileMode;

    import flash.filesystem.FileStream

    go_level_2.addEventListener (MouseEvent.Click, Level_2);

    function level_2(event:MouseEvent) {}

    var loader2:Loader = new Loader();

    var loaderContext2:LoaderContext = new LoaderContext (false, ApplicationDomain.currentDomain);

    var file2:File = File.applicationDirectory.resolvePath ("level2.swf");

    loader2. Load (new URLRequest (file2.url), loaderContext2);

    addChild (loader2);

    }

    Because it works for me, because I can't unload the SWF app file en becomes slow, I'll put the SWf file "s on a remote location.

    But I can't imagine what is happening when I loaded the SWF file remotely. It remains on the server, or it remains on my application when I unloaded it, and the app gets also larger. I hope you can help me because I went on the internet for a week and do not now how to go further.

    I had a similar problem, but not on iOS.

    Maybe my solution might work for you too, however.

    The problem was this line:

    new LoaderContext (false, ApplicationDomain.currentDomain);

    Do not reuse the same field of application, or you will never be able to get rid definitions and thus the SWF loaded.

    Instead, make a new child application domain for the current domain, keep track of it and it has as well as the rest of the SWF file when you are finished.

    Example:

    var loader2:Loader = new Loader();

    var appDomain2:ApplicationDomain = new ApplicationDomain (ApplicationDomain.currentDomain);

    var loaderContext2:LoaderContext = new LoaderContext (false, appDomain2);

    var file2:File = File.applicationDirectory.resolvePath ("level2.swf");

    loader2. Load (new URLRequest (file2.url), loaderContext2);

    addChild (loader2);

    Then

    function finishLevel2(event:Event):void

    {

    var loader2:Loader;

    loader2 = Event.Target.Loader;
    loader2.parent.removeChild (loader2);

    loader2.unloadAndStop ();

    appDomain2 = null;

    }

    Note that the definitions of the classes of the loaded SWF file will be available in the new application domain.

  • Can I set a URL scheme for a viewer Android application?

    Hello world

    I want to be able to open our notice of another application Android app.  How to set a pattern of URLS for Android?

    When we are going to create a new view Android app it is not the "diagram of URL field optional" that we use to set the type for our iOS app.

    Is it possible to define a URL scheme in Android?

    Best,

    Paul

    Hello Paul,

    The custom URL scheme is offered by the iOS platform and not for android.

    You will not find this option in the Dps android app generator.

  • iPad 2 Air (iOS 9.3.5) said 'sharing location' - in messages.

    I noticed on my iPad 2 Air, (iOS 9.3.5) that when the use of messages, it is said

    "You share your location" when I click on "details".

    I never shared my position.

    Also, I "Location services" off. Looked at the settings > iCloud > and find my iPad's market (but greyed out) and "share my location" under ADVANCED is dimmed.

    How to make a gray location on my part so I can switch that off?

    Never shared my position in the first place. Thank you.

    Screenshot:

    (for some reason that I could not change above to insert the image)

  • I want to connect my Macbook Air (IOS 10.9.5) with my amp stereo House (TEAC I-501DA), which has a USB connection. I followed the steps described in the manual TEAC to install the driver and my Mac says it is installed correctly, but it does not appear I

    I want to connect my Macbook Air (IOS X 10.9.5) with my amp stereo House (TEAC I-501DA), which has a USB connection. I followed the steps described in the manual TEAC to install the driver and my Mac says it is installed correctly, but it does not appear as an option in the preferences/system sounds.

    Version 1.1.2.2 El Capitan driver support, then why don't upgrade you your MacBook Air to El Capitan?

  • How to call firefox app in url scheme

    Expensive than it may cover

    Hello, I'm an iPhone Developer and is facing a problem. I want to call the application firefox to my application, but I have no idea to get the firefox app url scheme. If you don't mind, could you let me know what it is or another solution to this subject.

    Thank you in advance.

    June Song

    edited by e-mail and phone # of spammers and public. You should get an email when there are answers to the thread.

    Try asking in the mobile-firefox-dev mailing list

  • Save the custom URL scheme

    Hello!

    Is it possible to save a custom url scheme so that the system will launch my application when the user clicks on a link in the form "customscheme://idontcareaboutthefqdn/"?

    I know you can record a complete domain name by using HttpFilterRegistry, but I really want to react to a plan.

    P.S.: As always, I forgot to include the most important information...
    BB 6.0.0 API

    THX

    A few quick answers:

    (1) ignore, memory shows just a nodule not RIM started

    (2) interesting

    (3) care

    Now, I have a theory here.  I think you are trying to add the template registry etc until your application has actually started.

    If you look at this statement:

    PatternRepository.addPattern (ApplicationDescriptor.currentApplicationDescriptor (), "^ regime:-/-/ \\S*",)

    This is handled in your main() and main is no NOT part of your application - it is used to start your application.  (in fact it becomes part of your Application, but it's out of reach for the moment). So what makes ApplicationDescriptor.currentApplicationDescriptor () actually refers to?  A null descriptor, perhaps?

    I would try to reworjk that so as the record of the model becomes an integral part of your Application, so that ApplicationDescriptor.currentApplicationDescriptor (done) actually refers to the application you want.  Something along these lines - do 'with it ':

        public static void main(String[] args) {
            MyApp theApp = new MyApp (args);
            theApp.enterEventDispatcher();
        }
    
        public MyApp(String [] args) {
            this.invokeLater(new Runnable() {
                public void run() {
                    // In here.....
                }
            });
        }
    

    Note, this is just a theory, I have not tested this.

  • Where can I get the URL scheme for adding / deleting/search a contact of the people app

    Original title: application Windows 8 Metro people...

    Where can I get the URL scheme for adding / deleting/search a contact of the people app

    It is not a URI API for this application.

  • Can we deep link from another application to a single app with url schema question?

    Hello

    Is it possible to deep link to another application or browser to an exemplary application installed on the iPad via the URL schema?

    We have a customer who want to link their own app (nonDPS) an application to the only question that we have built for him.

    We have an Adobe Enterprise license.

    Cheers, Tony

    I thought about it - it's: custom-url: / / (for example com.publisher.magazine://) and it works

    Cheers, Tony

  • Air iOS Camera download

    I facing problem with Adobe Flash CS6 tutorial at http://www.fizixstudios.com/labs/do/view/id/air-ios-camera-and-uploading-photos. After creating and naming instances & type of file coding ActionScript, I can't seem to run and make work and look forward to hearing from you all soon.

    No, just draw whatever it is in the constructor to make sure that you have assigned the document correctly class:

    trace ("HI");

    Although if your track is not generating an error, you can already conclude that you do not use CameraTest as your document correctly class.

    Click on an empty part of your stage or back, and then, in the properties panel, where it is said class, type CameraTest

  • Flash CS6 broken air iOS test?

    Hello

    I m developing an app for iOS with iOS 3.9 air.

    10 minutes ago I was testing and debugging as always.

    Suddenly my app started "plant", when I test or debug.

    I quote "crashing", because no error is not and no simController, neither my app launch.

    I m able to publish as ipa, but not test.

    I just started a new air iOS file, try to test... and does not not to test (to be published)

    Someone has an idea?

    Thank you

    Gonçalo

    After the computer restarts, everything is ok then...

  • url schema custom onto the pages of simple editing

    Hi, I have a question about custom url scheme on simple edition folios... it seems that this feature is only available on edition folio multi... If Yes... Why?, I mean, why is not possible for simple editing users access this feature... the ability to communicate the child with the parent... Web content overlay with folio to navigate within a folio... ?

    Thanks in advance

    It seems that this is what is happening. If you are a user of unique serial number edition show us the custom field of the url scheme. If you go through the creative workflow cloud we don't have. My guess is that it was a decision of design made to simplify the workflow creative Cloud for most customers, since "custom url scheme" is a bit complicated and not many people simple edition have a use for it.

    Neil

  • Is it possible to open a folio to a specific page of external links using the URL scheme?

    We want to link in a folio of another application we create.   We can open the application Viewer with the URL scheme that we define in the application (for example, com.name.app).   However, it always opens the application on the home screen.

    Ideally, we would like to link in a specific portfolio or a single page in the folio.  Is this possible using a sort of chain of request/identifier/anchor on the end of the URL scheme?

    Yes, its possible, but officially not supported and is not fully tested. Check the DPS tips App by Bob Bringhurst (https://itunes.apple.com/in/app/digital-publishing-suite-tips/id436199090?mt=8)

    Download Advanced Overlay folio and check "Buttons & Linking" - slide 2

  • Opening a Single-App URL scheme

    Hello

    I created a Single-App (Folio: 2048 x 1536) with the URL scheme.

    I installed and that you call from Safari.

    but it crashed after it displays a splattered image.

    The Single-App works well on the new iPad.

    Any answer or advise is appreciated.

    shimoawazu

    Although these articles are on Wallaby, they offer different techniques to avoid looping of the animation:

    http://InDesignSecrets.com/from-InDesign-to-HTML5-via-Flash.php

    http://digitalpublishing.Tumblr.com/post/3898796141/animate-headlines-or-other-things

  • iPad 2 Air, iOS 9.2.1 problem with E-mail konto, automatically RIMS Konto as POP3und not imap.

    I have a new iPad 2 Air running with iOS 9.2.1.  When I try to set up my e-mail account, checking account information, it automatically installs a POP3 account und not an imap.  Is it possible I can Overrides change the outcome of this review?  Why didn t Apple let tell us them what type of account, we have and not try to do it automatically for us!

    When asked for your email - enter incorrectly – then it will give you an option to choose. That said, the default value is usually IMAP - if she is entered as POP - Konto must not offer IMAP

Maybe you are looking for