AIR iOS URL Scheme

I'm developing an AIR for iOS app for my client to run on an iPad, and my app needs to be able to launch other apps using a URL scheme, and also to be launched by another app, by receiving a URL scheme from it. From what I have read, it would appear that AIR for iOS apps can receive and respond to URL schemes, but they cannot send URL schemes to launch other apps, due to security restrictions.
Does anyone know if it is possible to both send and receive URL schemes?

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://"));
Same way you can open your app from any other. In example above Wikitude app it's URI id. The same as below iPadARIconAppB
Here is part of Application-xml.xml descriptor from my old project:
<iPhone>
    <InfoAdditions><![CDATA[
  <key>UIDeviceFamily</key>
  <array>
    <string>1</string>
    <string>2</string>
  </array>
  <key>CFBundleURLTypes</key>
  <array>
    <dict>
      <key>CFBundleURLName</key>
      <string>com.camel.geo.iPadARIconAppB.iPadARIconAppB-scheme</string>
      <key>CFBundleURLSchemes</key>
      <array>
        <string>iPadARIconAppB</string>
      </array>
    </dict>
  </array>
  <key>UIApplicationExitsOnSuspend</key>
  <true/>
]]></InfoAdditions>
    <requestedDisplayResolution>standard</requestedDisplayResolution>
  </iPhone>
You need to change CFBundleURLName to your app ID by my sample and CFBundleURLSchemes put there your own app name.
If you want open your app from any other - you must open "iPadARIconAppB://" and if you need pass params - just make "iPadARIconAppB://myparams" and read it via Invoke from Adobe Air.
Air is great and allow many things

Similar Messages

  • Adobe Reader for iOS URL scheme について

    「Adobe Reader for iOS」というアプリの中に「URLScheme」という
    他のアプリとの連携を行う機能が有ります。
    SafariでPDFを開くと「"Adobe Reader"で開く」というボタンが表示され。
    タップすると、Adobe Readerアプリが起動し、
    Safariで表示していたPDFが、Adobe Readerアプリで表示されます。
    私はiPhoneアプリを制作していて、
    この機能を私のアプリに組み込みたいと考えています。
    同様の質問が以前に行われているのを確認しています。
    http://forums.adobe.com/message/5617444#5617444
    "com.adobe.Adobe-Reader://myfile.pdf"
    「myfile.pdf」が何を指しているのか理解できませんでした。
    私が渡せる情報は下記3点です。
    ・PDFのURL
    ・PDFのURLから取得したNSData
    ・NSDataをファイル保存したPDFファイルのパス
    =====
    NSString *str = [NSString stringWithFormat:@"com.adobe.Adobe-Reader://%@", [self pdfURL]];
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
    =====
    URLSchemeについてドキュメントが有ればご教授ください。
    以上、よろしくお願いいたします。

    Yes, each page of a scanned PDF is a picture/image.
    You can still add Freehand drawing and/or sticky notes to a scanned PDF document.
    To recognize text in a scanned PDF document, you need to run special Text Recognition software.  Acrobat Pro (that you said you have) offers the capability.
    Recognizing Text in Scanned PDF Documents
    After the step, you should be able to select text or add highlight.
    Hope this helps.

  • How to open a pdf file in Adobe Reader using URL scheme on iOS devices

    To open a pdf files in Adobe Reader on iOS devices,
    I created url links as follows:
    com.adobe.Adobe-Reader://mysite.com/myfile.pdf
    com.adobe.reader.request://mysite.com/myfile.pdf
    But none of these does work.
    Adobe Reader starts up but never opens pdf files.
    Does anyone know how to write URL scheme?
    Thanks in advance.

    Sorry. Wrong category.

  • Custom url scheme not working (for first time) IOS applicaiton

    i have created one distribution application also register custom URL scheme. First time after I installed application, and try custom URL link, it does not work.
    However if I lunch the application manually it will prompt me below mentioned message
    Are you sure you want to open the application ... from the developer iphone distribution ... ?
    i will click on continue, and after that custom URL link works fine with my application.
    Can Custom url link launch the application directly on installation (without manually launch application and contiue)?
    is there any settings, so we can make the prompt message off. So it will not prompt message.
    also i had tried to create new application from another enterprise account, and deploy on other server; then it do not prompt that message, but unable to figure out the reason .
    Thanks

    Are you exactly following the guidance in the iOS App Programming Guide for Implementing Custom URL Schemes? Do you get the same message the first time, no matter whether app has been loaded or not? Are you really using iOS 4 per your profile?
    "If your app is not running when a URL request arrives, it is launched and moved to the foreground so that it can open the URL. The implementation of your application:didFinishLaunchingWithOptions: method should retrieve the URL from its options dictionary and determine whether the app can open it. If it can, return YES and let your application:openURL:sourceApplication:annotation: (or application:handleOpenURL:) method handle the actual opening of the URL.

  • URL Scheme iOS 5.0

    Hello
    Is there a URL scheme for the new app, the old one doesn't appear to work anymore?
    Thanks
    Ian

    Sorry to hear it's perceived like that. Our release coincides, but is not timed in relation to E3. We wanted to get the improvements in the hands of our users fast even if that meant that some features might not be available temporarily. Main example for such an improvement is the snappier app performance which you probably could observe yourself already.
    Can you share what use case you are using the Skype URI integration on iPhone for? This helps us prioritizing.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • What are the accepted values for each Maps parameter in the Apple URL Scheme?

    I'm interested in a complete enumerated list of the acceptable VALUES (as in KEY=VALUE) for the URL Scheme defined https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Referen ce/MapLinks/MapLinks.html
    Obviously some of those parameters have an enumerated list, some are freeform. I'm just interested in the enumerated ones.

    Hi,
    Have a look at include LBTCHDEF.
    The standard include from SAP.
    -> Definitions and Constants for Function group BTCH
    Kind Regards
    Raymond

  • Why can't I launch another app using a URL scheme in a web clip set up through Configurator with the "full screen app" option selected?

    My company uses web clips on iOS devices, set up through profiles on Configurator, for EVERYTHING. Most of these web clips have a transfer function on the site that allows the user to bring up other apps, like directions to a destination in Google Maps for instance (a URL scheme.) If the option for the web clip to appear as a "full screen app" is selected in Configurator (or iPhone Configuration Utility), this fuction does not work on devices that are running iOS 7. It is imparative to our company that the web clips be full page so there is no address bar, back button, etc. for the users to access. With this feature not working, I have 50+ iOS devices that are usless to us.
    iOS 6 Device --> Configurator 1.3 --> Full Screen Web Clip --> WORKS
    iOS 6 Device --> Configurator 1.4 --> Full Screen Web Clip --> WORKS
    iOS 6 Device --> iPhone Configuration Utility --> Full Screen Web Clip --> WORKS
    iOS 7 Device --> Configurator 1.3 --> Full Screen Web Clip -->  DOESN'T WORK
    iOS 7 Device --> Configurator 1.4 --> Full Screen Web Clip --> DOESN'T WORK
    iOS 7 Device --> iPhone Configuration Utility --> Full Screen Web Clip --> DOESN'T WORK
    iOS 7 Device --> Configurator 1.3 --> NOT Full Screen Web Clip -->  WORKS
    iOS 7 Device --> Configurator 1.4 --> NOT Full Screen Web Clip--> WORKS
    iOS 7 Device --> iPhone Configuration Utility --> NOT Full Screen Web Clip --> WORKS
    Somebody, please help!

    Phil,    I have been trying to figure out a solution to this problem since iOS 7 came out. In hindsight, I should have downloaded the beta versions of the iOS so I would have had even more time. I have talked with quite a few different developers and up until today it was a consensus that this was a "feature" of iOS in an attempt by Apple to diminish the use of webapps. Now most of these people wouldn't be considered apple apologists by any stretch, which could have contributed to their pessimism.    That being said, today I finally received some news that could give us a glimmer of hope. I spent almost 2 hours on the phone today being sent "up the ladder" until I think I found the right person to help (I'm not complaining; I was surprised at how competent and helpful each person that I spoke with was, and I didn't have to explain the situation over and over again.) I think what took so long finding the right person to speak with was that this isn't an issue that any type of troubleshooting would fix. It's not an iPad, iPhone, or even an Apple Configurator issue; it's actually a bug in iOS 7.    Anyways, the senior engineer that I spoke with reassured me, very adamantly, that this was not a feature of the new operating system and most definitely a bug. He said that they take webapps very seriously and are actually looking for ways to improve how webapps work on iOS devices and how they are used with Mobile Device Management software, like Configurator.    I was a little concerned that he said this was the first he or anyone on his team has heard about this problem, but he did work extensively with me today and said that it looks to be a major issue, and something that he and his team are going to try to figure out as soon as possible. He said he would be calling me by Tuesday with information on how and when this will be fixed.     Jon

  • URL Scheme for iBooks

    Ever since version 1.1, iBooks has had PDF viewing functionality. Some apps like Dropbox allow viewing PDFs in iBooks. I'm assuming that this uses a URL scheme for loading PDFs into iBooks, since according to the developer docs that's how apps can communicate with each other.
    However, the Apple URL Scheme reference (http://developer.apple.com/iphone/library/featuredarticles/iPhoneURLScheme_Refer ence/Introduction/Introduction.html) was last updated on 2009-06-17, and therefore makes no mention about iBooks, iPhone 3.2, or iOS 4.
    Closest I was able to find was the itms-books: scheme which invokes the iBooks Store. I would like to know what the URL scheme is for invoking the iBooks PDF viewer. Any type of help is appreciated.

    Can anyone confirm that iBooks 1.1 and 1.1.1 append "%20" to all externally-targeted URLs in PDF books?
    As a result, I get a +Page Not Found+ page when initially navigating to an external URL. I have to truncate the 3 extra characters from the URL in Safari in order to load the intended web page.
    These PDF files are well known to me and have always worked fine in this respect in Acrobat Reader.

  • Sending Tweets via Adobe AIR iOS Apps

    Heya everyone.
    Is there a way that I can implement a tweet function into an AIR iOS app? I'm currently developing it in Flash Professional Actionscript 3. I understand that there's a method of doing it in Flex, but I have no knowledge in that area.
    Thanks .

    hey kglad, thanks for your help. things are a little clearer now.
    I had a look at the REST API Resources, and dug out the "POST statuses/update_with_media" which requires authentication. So I shall proceed with using tweetr's oAuth class.
    I've chosen to make the authentication a PINless one, since I'm currently dealin with an iPhone app, and I do not wish to disturb the user with a browser opening up everytime whenever an authentication is needed.
    I had a look through tweetr's pinless authentication tutorial and found this piece of code:
    oauth = new OAuth();
    oauth.consumerKey = "YOUR_CONSUMER_KEY";
    oauth.consumerSecret = "YOUR_CONSUMER_SECRET";
    oauth.callbackURL = "http://your.callback.url";
    oauth.pinlessAuth = true;
    oauth.addEventListener(OAuthEvent.COMPLETE, handleOAuthEvent);
    oauth.addEventListener(OAuthEvent.ERROR, handleOAuthEvent);
    var rect:Rectangle = new Rectangle(50,50, 780, 500);
    htmlLoader = HTMLLoader.createRootWindow(true, null, true, rect);
    oauth.htmlLoader = htmlLoader;
    oauth.getAuthorizationRequest();
    I'm guessing the above code goes into the constructor? Or into a private function itself where it'll be called when a button is pressed or something.
    Another question is, what is a request URL? It seems like the default address (according to my application details in dev.twitter.com) is http://api.twitter.com/1/. But that doesn't seem right at all.
    Cheers

  • URL schemes for Microsoft Office suite for ipad

    Hello,
    I am trying to implement inter-app communication with an app I am creating.  I would like to be able to tap a button in my app, and have an xls document I have put on my web server open in the IOS Excel app.  To do this, I know I need to make use of URL schemes.  I can get the button to open the Excel app itself by using ms-excel://, but I cannot get it to open the server document within the app. 
    I tried the following:
    ms-excel://HTMLResources/file.xls (referencing it in the resources folder)
    ms-excel://http://www.yoursite.com/files/file.xls (referencing it directly via url)
    Both of these options simply open Excel, but not the document.
    I even tried putting it in a web overlay using html snippets as referenced here: http://blogs.adobe.com/jlockman/2013/04/05/launching-external-apps-from-a-dps-folio/
    No luck.
    Does anyone have any ideas, or happen to be familiar with the custom URL schemes for Office for ipad?
    I know that the office suite for ipad is relatively new, so I am wondering if anyone out there is familiar with the custom URL schemes for Office for ipad. Any help or suggestions would be greatly appreciated!
    Thanks,
    Allison
    One other note: I have tried this same thing with PDF Expert and it works: (the app makes use of the URL scheme PDFE)
    So,
    PDFEhttp://yoursite.com/files/file.pdf
    will open file.pdf in PDF Expert.

    You could try creating a new user account on the computer, logging out of the current and into the new one, and checking the behavior then. If that doesn't help, I think you'll have to settle for using NeoOffice or possibly GoogleDocs until you can reinstall Office.
    ~Lyssa

  • Is It Possible to Create Custom URL Scheme to Launch a Specific Tab ?

    I know you can link to DPS and a specifict folio / artcile with a Custom URL Scheme, but does DPS support to use Custom URL scheme to launch a specific Tab ?
    To clarify I'm not looking at the option to start on a specifict tab when launch, DPS supports this already, but just wondering if another iOS app can invoke DPS launch to a specific tab ?

    I found http://helpx.adobe.com/digital-publishing-suite/help/hyperlink-overlays.html there is a section "Create goto links to custom icons" seems like you can specificy which tab to go to from an external app when invoke the DPS app ? (ex. library, store)
    oto://ApplicationViewState/library
    goto://ApplicationViewState/sections

  • How to open Viewer from other apps? - App 'URL Scheme' has disappeared from Viewer Builder!

    Hello
    The 'URL Scheme' option in the Viewer Builder did let me to specify a url that made other apps open my viewer. But this option has disappeared from the newer version of Viewer Builder. So. How do I do now to let other apps open my viewer?

    Is there a spacial reason that the URL scheme option was taken away from ordinary Multi-issue viewers? It was there in earlier version. I'll explain our situation:
    Our client want to publish corporate information; annual reports etc, with DPS. Not really magazines or newspapers you subscribe to.
    We are making another app where they publish news articles, videos etc. In that app, we want to have a link which opens the viewer with their publications.
    To make this simple thing work, we have to create a 'subscription' to content which is not relly good for subscribing (it is free and announced with push anyway). We also have to tell the client to create Privacy Policys etc for this. A lot of hassle for something we do not really want.
    Any chance that this option will come back in v19?

  • In-App-Purchase-Air-Ios (extension inside, need help on how to use it :P)

    Code examples: http://code.google.com/p/in-app-purchase-air-ios/w/list
    Extension download: http://code.google.com/p/in-app-purchase-air-ios/downloads/list
    How do I use this with my Flash CS5.5 Pro (IDE)?
    They show examples with using ADT command line stuff.

    Hi Saumitra Bhava,
    Nice examples of Native Extensions. I am having an issue when trying to use a block in Objective-c Something as simple as
    - (void) searchForAlbums
        void(^test)(void) = ^{
            NSLog( @"BLOCK CALLED" );           
        test();
    does not work and FlashBuilder reports the following error.
    ld: absolute addressing (perhaps -mdynamic-no-pic) used in -[MobileImagePicker searchForAlbums] from /var/folders/nw/nwjKk-0UFzKXgLSHtcbjxE+++TI/-Tmp-/534267c1-6c13-4a8e-98d6-6c8357d4f355/li buk.co.betadesigns.extension.NativeImagePicker.a(MobileImagePicker.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
    Compilation failed while executing : ld64
    Have you tried using blocks in an iOS extension?
    Regards
    Anthony

  • [SOLVED] pacman -Sy failing with Invalid URL Scheme

    I'm getting a comparable pair of lines for each combination of database (core, extra, etc.) and mirror (rankmirrors-generated mirrorlist):
    error: url 'http://mirror.rit.edu/archlinux/core/os … .db.tar.gz' is invalid
    debug: returning error 43 from download_internal : Invalid URL scheme
    Yesterday I did pacman -Sy followed by pacman -Qu then pacman -Su all successfully.
    Any thoughts/help?
    UPDATE: re-installing pacman's dependencies learned via "pacman -Qi pacman" fixed the problem.
    Last edited by wrarus (2010-12-15 04:17:40)

    Comment out that mirror and try the next one.

  • [SOLVED] Invalid URL scheme

    Any ideas folks?
    root@kangaroo ~ # pacman -Syu
    :: Synchronizing package databases...
    stable32 is up to date
    stable-any is up to date
    error: failed retrieving file 'core.db.tar.gz' from repo.fukawi2.local : Invalid URL scheme
    error: failed to update core (Invalid URL scheme)
    error: failed retrieving file 'extra.db.tar.gz' from repo.fukawi2.local : Invalid URL scheme
    error: failed to update extra (Invalid URL scheme)
    error: failed retrieving file 'community.db.tar.gz' from mirror.internode.on.net : Invalid URL scheme
    error: failed to update community (Invalid URL scheme)
    error: failed retrieving file 'archlinuxfr.db.tar.gz' from repo.archlinux.fr : Invalid URL scheme
    error: failed to update archlinuxfr (Invalid URL scheme)
    error: failed retrieving file 'xyne-any.db.tar.gz' from xyne.archlinux.ca : Invalid URL scheme
    error: failed to update xyne-any (Invalid URL scheme)
    :: Starting full system upgrade...
    warning: courier-authlib: local (0.62.4-1) is newer than stable32 (0.62.2-2)
    local database is up to date
    pacman.conf mirrors:
    [stable32]
    Server = file:///srv/stable/i686/
    [stable-any]
    Server = file:///srv/stable/any/
    [core]
    Server = http://repo.fukawi2.local/core/os/i686/
    [extra]
    Server = http://repo.fukawi2.local/extra/os/i686/
    [community]
    Include = /etc/pacman.d/mirrorlist
    [archlinuxfr]
    Server = http://repo.archlinux.fr/i686
    [xyne-any]
    Server = http://xyne.archlinux.ca/repos/any/
    Last edited by fukawi2 (2009-09-13 23:23:47)

    okayyyy... wtf pancakes.
    I commented all repositories, except for core, extra and community and ran `pacman -Syu` which worked fine. I uncommented the other respositories and ran `pacman Syu` again. Everything worked fine again. Good.
    root@kangaroo ~ # pacman -Sy qingy qingy-theme-arch
    :: Synchronizing package databases...
    stable32 is up to date
    stable-any is up to date
    error: failed retrieving file 'core.db.tar.gz' from repo.fukawi2.local : Invalid URL scheme
    error: failed to update core (Invalid URL scheme)
    error: failed retrieving file 'extra.db.tar.gz' from repo.fukawi2.local : Invalid URL scheme
    error: failed to update extra (Invalid URL scheme)
    error: failed retrieving file 'community.db.tar.gz' from mirror.internode.on.net : Invalid URL scheme
    error: failed to update community (Invalid URL scheme)
    error: failed retrieving file 'archlinuxfr.db.tar.gz' from repo.archlinux.fr : Invalid URL scheme
    error: failed to update archlinuxfr (Invalid URL scheme)
    error: failed retrieving file 'xyne-any.db.tar.gz' from xyne.archlinux.ca : Invalid URL scheme
    error: failed to update xyne-any (Invalid URL scheme)
    resolving dependencies...
    looking for inter-conflicts...
    Targets (5): directfb-1.4.1-1 [2.04 MB] scrnsaverproto-1.2.0-1 [0.00 MB] libxss-1.2.0-1 [0.01 MB] qingy-0.9.9-2 [0.28 MB] qingy-theme-arch-2.0-1 [0.67 MB]
    Total Download Size: 3.01 MB
    Total Installed Size: 8.85 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from extra...
    error: failed retrieving file 'scrnsaverproto-1.2.0-1-any.pkg.tar.gz' from repo.fukawi2.local : Invalid URL scheme
    error: failed retrieving file 'libxss-1.2.0-1-i686.pkg.tar.gz' from repo.fukawi2.local : Invalid URL scheme
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (Invalid URL scheme)
    Errors occurred, no packages were upgraded.
    Now I'm confused.
    Removing my other repos apart from core, extra, and community results in the same errors when I try and install qingy.
    Last edited by fukawi2 (2009-09-13 04:54:12)

Maybe you are looking for

  • Accounting doc is not create?

    Hello cham's, After creating the billing document it was not posted into finance and the system is showing accounting document is not created.  How to procede to resolve this error will anyone share your expertise?.

  • Pre Calendar Sync

    I'm having issues with my Exchange calendar. 1. I am unable to create a new calendar entry and add people to that invite. I can create new entries, but I can't invite people to that meeting. 2. When I move a meeting I created (open and change the dat

  • HT2506 Permissions in Preview?

    I've been having problems viewing jpeg files in preview. It shows me the thumbnails but when I click to open it it says I do not have permission to view the file and suggests I go to "get info" and change the settings. I've done that with individual

  • Multiple mitigation controls assignment through CUP

    Dear All, We have implemented CUP 5.3 and under SP9. We have multiple controls addressing same risk where in we are supposed to assign multiple controls to the users. When the manager is assigning multple controls, the old one is getting replaced wit

  • ITunes and iPad sync

    I have recently had to reformat my MacBook Pro internal disk and restore from a time machine backup. Unfortunately a lot of my music was not in the time machine backup. Some of the lost music still exists on my iPad. My question is: what happens when