Dialog box with open files in the phone book

I have a phonegap app. I want the file selection dialog to allow me to select an activity like camera or documentation. enter image description here

With my current settings, it will only open the Documents

file selection activity.

enter image description here

<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.VIEW" />
    <action android:name="android.intent.action.EDIT" />
    <action android:name="android.intent.action.PICK" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
<intent-filter>
    <action android:name="android.intent.action.GET_CONTENT" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:mimeType="*/*" />
</intent-filter>

      

+3
android android-intent android-activity cordova


source to share


No one has answered this question yet

Check out similar questions:

2735
Stop EditText from getting focus when Activity starts
2510
How to persist android activity state by persisting instance state?
1296
Reloading activity on android rotation
1270
How do I pass data between activities in an Android app?
1260
How can I open the url in the Android browser from my application?
809
How to send object from one android activity to another using intents?
nineteen
Understanding what activity starts in an Android app
4
Fix android intentional filter config to associate file type with activity?
4
Information on MAIN and Start Category Action in Android Manifest
0
Are all major activities exported to other applications?



All Articles
Loading...
X
Show
Funny
Dev
Pics