Air on android is not support sharedintent??

hello..
i want to register shaedIntent by air application, so i insert intent-filter in description xml below..
[xml in Air] -------------------------------
<application android:enabled="true">
<activity android:excludeFromRecents="false">
     <intent-filter>
         <action android:name="android.intent.action.MAIN"/>
         <category android:name="android.intent.category.LAUNCHER"/>
     </intent-filter>
     <intent-filter>
         <action android:name="android.intent.action.SEND" />
         <category android:name="android.intent.category.DEFAULT"/>
         <data android:mimeType="image/*" />
     </intent-filter>
     <intent-filter>
         <action android:name="android.intent.action.VIEW" />
         <category android:name="android.intent.category.BROWSABLE"/>
         <category android:name="android.intent.category.DEFAULT"/>
         <data android:scheme="content" />
     </intent-filter>
</activity>
</application>
so the addition in Gallery option menu for shared was successful
But, when select Air Application, InvokeEvent parameter is empty..
[invoke Handler in Air] -------------------------------
protected function onInvokeEventHandler(event:InvokeEvent):void
          trace("[SharedIntentSample::onInvokeEventHandler(event)]" + arguments);
          trace("[SharedIntentSample::onInvokeEventHandler(event)]" + event.arguments);
          trace("[SharedIntentSample::onInvokeEventHandler(event)]" + event.reason);
          trace("[SharedIntentSample::onInvokeEventHandler(event)]" + event.arguments.length);
intent information is below..
[Intent information from native application] -------------------------------
11-23 11:14:06.288: D/SharedIntent(8409): action = android.intent.action.SEND
11-23 11:14:06.288: D/SharedIntent(8409): key = Intent.EXTRA_STREAM
11-23 11:14:06.288: D/SharedIntent(8409): uri= content://media/external/images/media/2
11-23 11:14:06.298: D/SharedIntent(8409): scheme= content
11-23 11:14:06.298: D/SharedIntent(8409): mimeType= image/jpeg
11-23 11:14:06.298: D/SharedIntent(8409): filePath :: /mnt/sdcard/DCIM/Camera/20111113_174316.jpg
How do i get the value from Intent??

Anyone been able to get anywhere?  I was hoping to get one or more images from the gallery into my app.  I looked on stack overflow and found the below for my manifest which populates the share list for one or more images but it causes my app to crash.  Mainly because I don't have the right activity defined in my app.  Is there a default activity for an Air app that I can try replacing ".activities.ImportImagesActivity"
<activity
       android:label="@string/app_name"
       android:name=".activities.ImportImagesActivity" >
       <intent-filter>  
           <action android:name="android.intent.action.SEND" />
           <category android:name="android.intent.category.DEFAULT" />
           <data android:mimeType="image/*" />
       </intent-filter>
       <intent-filter>  
           <action android:name="android.intent.action.SEND_MULTIPLE" />
           <category android:name="android.intent.category.DEFAULT" />
           <data android:mimeType="image/*" />
       </intent-filter>
   </activity>

Similar Messages

  • Air 2.7 - iPad not supported ?!?

    Hi,
    I was reading the mobile requirements in the Air 2.7 release notes.
    It says the following devices are supported:
    iOS devices
    iPod touch 3rd or 4th generation, iPhone 3GS or 4, iPad 2
    OS 4 or later
    Am I reading this right? No iPad 1 support???
    I can't believe this...
    Please tell me this is a type from Adobe!!

    The release notes are available at http://kb2.adobe.com/cps/906/cpsid_90612.html. The supported devices are iPodTouch 4th generation, iPhone 3GS and iPhone 4, iPad which means both iPad 1 and iPad 2.
    Could you mention the release notes link that you are checking?
    -Sanika

  • Android does not support 3D PDF?

    How disappointing, we just purchased an Asus A500 10.1 “Android 2.2
    Tablet and the Adobe Reader does not support 3D PDF.....I know Tetra 4D
    are the developer for 3D PDF SDK and features however under the agreement/partnership Adobe
    was to support the Free Readers.
    It would appear Adobe has really dropped 3D inside
    PDF - thnx Adob's
    Gazzzz

    HI Dave,
    Thanks for the update.  I think your comments may have been valid when mobile devices = mobile phones.
    However the tables are more like a PCs now with quite resonable graphics ablilties - surely we can get
    better functionality for our PDF now.  "You can read text and images, you can search, that is basically it" - PDFwise, this is a step back in functionality - Android has the same functionality as iPAD...In a simlar question to Tetra 4D they (and Adobe) said that are working on a "port" but would not happen til Q3 this year.
    Maybe the way forward is the Asus Slate Table, -an i5, 4 RAM, 64 SDHD, running Windows touch - Android does not seem to yet the functionality I was hoping for.
    In a plus, Tetra 4D seem to pulling the industry in the right direction - fingers crossed

  • AIR for mobile does not support the full range of icons. How can we include them?

    The range of icon sizes suppoted by the <icons> attribute of the Main-app.xml seems quite limited.
    For example, we are getting ready to launch our app in the Amazon app store, which has a wide range of different icon sizes for their devices:
    https://developer.amazon.com/sdk/fire/cx-guidelines.html#IconSizes
    But the majority of them fail when you try to include them in a build:
    42x42, 62x62, 75x75, 78x78, 80x80, 90x90, 118x118, 121x121, 125x125, 134x134, 155x155, 159x159, 188x188, 210x210, 252x252, 284x284, 322x322, 365x365, 425x425, 675x675
    Is there a way to add them to the .apk package that will be accesible to the application?

    Hi,
    If you feel that the number of icon sizes available are limiting you, please log a feature request for supporting more icon sizes on https://bugbase.adobe.com.

  • Air update - initial content not found

    I had a working AIR-Project using this configuration:
    Win 7 64 bit
    Flex SDK 4.0.0
    AIR 1.5.3
    However, I needed to include a C++ library in the project and therefore update to AIR 2.0 or newer (at least I was told AIR 1.5 does not support calling native processes or C++ libraries).
    I tried updating both, the AIR version only or the Flex SDK including a newer AIR version - however, all update atempts led to the following error:
    Process terminated unexpectedly.
    initial content not found
    Launch command details:  "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.5.0\bin\adl.exe" -runtime "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.5.0\runtimes\air\win" "<root>\TestAirVersion\bin-debug\TestAirVersion-app.xml" "<root>\TestAirVersion\bin-debug"
    As you can see the above error occured using Flex SDK 4.5.0 and AIR 2.5.0 - but a similar error is thrown by any configuration above AIR 2.0 (both in Flash Builder or by calling the ADL manually).
    The project descriptor was updated (<application xmlns="http://ns.adobe.com/air/application/2.5">) and the SDKs were put in the Adobe Flash Builder4\sdks\xxx directory - did I miss something? (the project above is an empty test-project!)
    I also discovered that the AIR runtimes 2.0 and later include a Template.exe and a template.msi in the \Resources\ directory. If I run these, I get a
    Source file not found: C\ <...> \Resources\REPLACE. Verify that the file exists and that you can access it.
    Error (template.msi) - Template.exe leads to an invalid-application error - are these supposed to work?
    Thanks in advance!

    I had a working AIR-Project using this configuration:
    Win 7 64 bit
    Flex SDK 4.0.0
    AIR 1.5.3
    However, I needed to include a C++ library in the project and therefore update to AIR 2.0 or newer (at least I was told AIR 1.5 does not support calling native processes or C++ libraries).
    I tried updating both, the AIR version only or the Flex SDK including a newer AIR version - however, all update atempts led to the following error:
    Process terminated unexpectedly.
    initial content not found
    Launch command details:  "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.5.0\bin\adl.exe" -runtime "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.5.0\runtimes\air\win" "<root>\TestAirVersion\bin-debug\TestAirVersion-app.xml" "<root>\TestAirVersion\bin-debug"
    As you can see the above error occured using Flex SDK 4.5.0 and AIR 2.5.0 - but a similar error is thrown by any configuration above AIR 2.0 (both in Flash Builder or by calling the ADL manually).
    The project descriptor was updated (<application xmlns="http://ns.adobe.com/air/application/2.5">) and the SDKs were put in the Adobe Flash Builder4\sdks\xxx directory - did I miss something? (the project above is an empty test-project!)
    I also discovered that the AIR runtimes 2.0 and later include a Template.exe and a template.msi in the \Resources\ directory. If I run these, I get a
    Source file not found: C\ <...> \Resources\REPLACE. Verify that the file exists and that you can access it.
    Error (template.msi) - Template.exe leads to an invalid-application error - are these supposed to work?
    Thanks in advance!

  • Is there any way to export a desktop AIR package when desktop is not supported by an ANE?

    I have a third party ANE that I need to use. The ANE has a target for Android, but when I add it in Build Path->Native Extensions an error shows up "This ANE does not support Desktop(Mac) platform". Now, my app is targeting android, but to make it easy for others in my company to play builds without having a device, I've been using the "Export Release Build->Signed AIR package for installation on desktop" option. The problem is, since I've added the ANE, I'm no longer able to hit the "finish" button because it's greyed out due to the error (even though the checkbox to include the ANE is unchecked in the export settings. The only way I've found to work around this is to remove the ANE temporarily and comment out references to it to build the desktop package, which is not optimal. Any other suggestions?
    Thanks!

    Rather than commenting it out, you could define a compiler parmeter:
    [code]
      -define=CONFIG::includeAndroidANE,true
    [/code]
    Then, in your code, wrap any references to the problem code in the config statement
    [code]
    CONFIG::includeAndroidANE
    import the.problem.package.ProblemExtensionClass;
    [/code]
    And:
    [code]
    CONFIG::includeAndroidANE
       if(ProblemExtensionClass.isSupported()) {
            var v:ProblemExtensionClass = new ProblemExtensionClass();
             v.init();
             v.doSomethingThatIsntSupportedOnAMac();
    [/code]
    Then, when you compile for Mac, you just need to set CONFIG::includeAndroidANE,false;
    This is what OSMF does to support different versions of the player, and also what SWIZ do to support different versions of Flex.
    All good.
    G

  • Error message "The currently attached accessory is not supported by this iPod" is shown when connected to my Zeppelin Air Dock.

    I have 2 iPods, one is a 60GB Classic formatted to Mac the other is a 80GB Classic formatted to Windows. When either is connected to my Zeppelin Air Dock, a message appears on the iPod saying "The currently attached accessory is not supported by this iPod"
    I have updated the firmware on the Zeppelin and have the latest updates on each of the iPods.
    The Zeppelin works fine and connects to the computer and laptop without issues.

    I'm having the same problem, it just started today. I've been running w/ the nike+ sensor and receive w/ my iPod nano for 6 months, logging 75 runs, so don't understand why I'm getting this error now.
    Can someone please reply w/ how to resolve this issue? I have Nike+ challenges coming up soon that I can't miss. Thanks!

  • Air For Android - Full Screen not working

    Opened CS5.5 > Chose "Air For Android" which gave me a stage dimension of 480x800 default. I then created my app.
    I am using a Droid Bionic and testing my app on it. It will not go to full screen, regardless of how I am holding the Droid. When publishing, I clicked "Full Screen" and Portrait, Landscape, Auto Orientation, etc. I tried all of the publishing options, yet still there is white screen on the eastern and southern side of the screen.
    I have a picture on the main screen, and it fits perfectly within the 480x800 dimmensions when playing in Flash. After publishing to an APK file and testing it on Droid, I have that white space as mentioned, as if the stage size grew larger than the picture / app. I also shrank the stage(480x800) dimensions to to (340x600) , but still the same amount of white space. When I move the picture to the right a bit, and publish, it shows the white space on the left hand side of the stage. This can only mean that when I publish, the stage size grows but everything on the stage stays the same. 
    Any ideas?
    Thanks!

    I removed:
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    from AS3 and it works better. Now there is even white space on the north and south side of the screen. Clicking "Full Screen" in the publish settings, makes a little more white space, which is weird. It as if now the stage is expanding its height, rather than its height and width due to me using the above code. Still, would like to get rid of that extra white space.
    Edit: It looks like the stage height grew by 60. If I expand the picture by 60, placing it on the stage at 0x and -30y, it fits fine on the bionic. I don't understand why this is happening, and scared that it may be different for each device.

  • I have a MacBook Air (10.8.2) connected to Canon MP530 printer.  I'm unable to scan documents as MP Navigator is not supported.   Any ideas on how to scan using this printer.

    I have a MacBook Air (10.8.2) connected to a Canon MP530 printer.    I am unable to scan documents as it appears my Mac does not support MP Navigator.   Any ideas?     I have made an inquiry to Canon but have not received any answers yet.

    Why do you say your MBA won't support it? MP Navigator for OS X 8 and the MP530 is available here. 

  • Photoshop CS6 is not supported on this type of Mac (2012 MacBook Air)

    Photoshop won’t launch on the latest MacBook Air 2012, OS 10.8.2, i7, 8GB. Installed the Adobe CS6 (Design/Web). All products work fine (although had to downgrade to Java6 to start Dreamweaver) but the PS icon is greyed out. When launching Photoshop CS6, I’m getting: You can’t open the application “Adobe Photoshop CS6” because it is not supported on this type of Mac”. 

    No idea what  happend. I was installing the CS6 suite on a brand new MBAir. All software was fine, eg, DW, InDesign and so on. Only Photoshop failed. One strange thing was that the MBAir has Java 7 but when launching DW it asked me to install "newer" Java version (?). I did the SMC/PRAM reset. Then uninstalling and installing PS solved the issue.

  • Multi Touch not supported in Adobe Air for IOS?

    Hi, I've just started developing my first app for my iPhone which is an iPhone 3GS. I'm using CS5 to make these apps.
    I did a simple test game where there are two arrows on the screen and a fire button. The screen also has a ground and the player standing on it which can be controlled with left/right and fire. Now, if I press right, he moves right, if I press left, he moves left, if I press fire, he jumps... BUT no matter what I do I can't make dual touch work, ie: I press right AND fire, it only recognize just ONE touch point. So I did alot of researching and didn't find much.  I thought maybe adding a TouchEvent.TOUCH_TAP which I found a guide on on this page: http://openexhibits.org/support/gestures/1/one-finger-tap , but couldn't make it work, so I found this: http://www.adobe.com/devnet/flash/articles/multitouch_gestures.html and it seems Adobe Air for iPhone only allows four different gestures, no TouchEvents. I found a code somewhere that when run it checks to see if the device it's running on supports TOUCH_TAP stuff and in CS5 I got the message that it is not supported, in Adobe Device Central I get it's supported, on the actual phone (yes, got dev license from Apple and all that and can run my apps from CS5 on my iphone) I get it IS supported, but it doesn't work when I try it for real.
    So, my question is: how can I make Adobe Air using CS5 to detect 2 finger presses at the same time in iPhone apps?  Like pressing right+fire at the same time, so it doesn't just detect ONE of them being pressed.
    Thanks a million for any reply.

    Before listening for TouchEvents like TOUCH_BEGIN, TOUCH_MOVE, TOUCH_END etc... you need to set the input mode of your device to TOUCH_POINT. By default it is set to GESTURE.
    This works fine on the iPAD:
    import flash.ui.Multitouch;
    import flash.ui.MultitouchInputMode;
    Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    stage.addEventListener(TouchEvent.TOUCH_BEGIN, touchBegin);
    stage.addEventListener(TouchEvent.TOUCH_MOVE, touchMove);
    stage.addEventListener(TouchEvent.TOUCH_END, touchEnd);
    private function touchBegin(te:TouchEvent):void {
        // your code here
    private function touchMove(te:TouchEvent):void {
        // your code here
    private function touchEnd(te:TouchEvent):void {
        // your code here
    Hope that helps.

  • I have an older airport express and my computer states that the air port utility version does not support it.  Do I need to download an update?  My Imac is from SEP of last year, the version with the optical drive

    I have an older airport express.  My airport utilities states that it does not support this base station.  I am try ing to use the airport express in conjunction with a base station to air play my itunes library in another room.  I have mountain lion on my Imac (purchased new in SEP of last year.  My Imac was the last issued with an internal dvd drive.

    Unfortunately, Apple discontinued support of the older AirPort base stations with the introduction of Lion and Mountain Lion.
    You might be able to use a somewhat complicated workaround.....not supported by Apple.....if you want to try to use the older AirPort Express.
    See this thread for details:
    https://discussions.apple.com/message/21397085#21397085
    More background info here:
    http://www.macworld.com/article/1167965/mountain_lion_and_the_ancient_airport_ba se_station.html

  • When I try to connect the Air with my iPhone to create an Hotspot, it drops the connection and gives an error message in the iPhone saying that the device (MacBook Air) is not supported. What can i do about it?

    When I try to connect the Air with my iPhone to create an Hotspot, it drops the connection and gives an error message in the iPhone saying that the device (MacBook Air) is not supported. What can i do about it?

    The problem has been fixed with the most recent OS X software update.

  • I have air port express 802.11n and imac ver 10.7.5.  When I try to set up my wifi I get error message 'that the version mac os x is not supported' Help?

    I am trying to set up wifi using air port express 802.11n version 1.3 on my imac os x ver 10.7.5.  Get error message Air port can't be installed on this disk that the ver of mac not supported - Help????

    Please check the model number on the side of the AirPort Express in the faint print. It will start with an "A" followed by four numbers, as in A x x x x.
    Post back with your findings.

  • Adobe flash player not support in android 4.1.2 samsung s2

    Plz give me feedback (private contact info removed by moderator). i have Samsung S2 Mobile. And i have android 4.1.2(Lastest S2 Version). I can install this software. but I cant see any LIVE TV CHANNEL. EveryWhere flash player required. And i READ somewhere that in ADOBE FLASH PLAYER not SUPPORT in Samsung S2 Mobile. Sir plz SOLVE THIS PROBLEM AS SOON AS POSSIBLE.
    SIR PLZ GIVE ME FEEDBACK...
              -THANK YOU SO MUCH...

    There is no more Flash Player for Android and there won't be another. Android is no longer compatible with Flash Player. Playing Flash content is very processor consumptive and it drains your battery, also shortening the life of it. Android (Google) recommends using either "Dolphin" or "Puffin" as your browser if you need to view Flash content with a mobile device running Android. They're both free in the GooglePlay store. These browsers use "server side" rendering to reduce the load on your device.

Maybe you are looking for

  • "Radium is damaged and can't be opened."

    Howdy. Purchased Radium using my account on my new 15" MBP and the process went smooth. As I always do, I cloned the OS to use as a backup and sometimes boot off the drive on another machine to test out the clone and/or synchronize my apps and settin

  • How to use query-database() function in transformation?

    Hi All, How to use query-database() function in transformation? It is giving four fields but if i write select query in sqlquery field it is saying select node is not found.... plz help me out Regards Pavankumar Edited by: [email protected] on Jul 29

  • Adobe photoshop cs6 has stopped working

    Hello, I have a problem with adobe photoshop cs6 when I use a very big file, and I would like to ask someone for help to fix it. This problem several times daily returns. The error in event log is the following: Faulting application name: Photoshop.e

  • Good Software to Make a Font?

    I did a search here but the most recent thing that comes up is from 2003. Does anyone know of any good software that I can make fonts with? This is my first attempt and I want something free or inexpensive just to see how I like it. Thanks!

  • SAP BW Purchasing - Scheduling Agreement delta processing

    Hi, I have a question about Scheduling Agreements coming from ECC to BW with delta processing. When a goods receipt happens for a Scheduling Agreement item, it registers process key 2. However, it seems that when a second goods receipt happens for th