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.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论