Associate file extension with air app on Android
I am trying to associate a file extension with my air app on Android. My goal is to be able to start my app by clicking on a file with a specific fi开发者_运维问答le type from either a file manager or mail app. I have found a solution that in theory would work in native, but does not with air somehow.
In the .xml-file for the app, under the tag I have written:
<activity>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" />
<data android:pathPattern=".*\\.csml" />
<data android:host="*" />
</intent-filter>
</activity>
Does anyone have an idea how this could be solved?
Thanks in advance Jens
Adobe AIR currently doesn't support intents, here the feature request for it.
精彩评论