Skip to main content
Participating Frequently
Nov 22, 2011 4:35 PM UTC
Question

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??

This topic is closed to new replies. Start a new post to keep the conversation going.

10 replies

cbigbAuthor
Participating Frequently
Nov 25, 2011 4:06 AM UTC

anybody help me??

Translate
Inspiring
Jun 1, 2012 1:04 PM UTC

I am looking to do the same thing but havent been successful.  Were you able to solve this?

Translate
Participating Frequently
Dec 6, 2012 3:34 AM UTC

Hello, im having the same issue. Have you found an solution for that?

Translate