android - Creating an intent -
i'm trying send intent photoshop express accepts raw images. in example i'm sending canon cr2 file. regardless of how specify action, data, or type can't seem pse pop option.
pse manifest:
<activity android:configchanges="orientation|screensize" android:launchmode="singletask" android:name="com.adobe.psmobile.psxeditactivity"> <meta-data android:name="android.support.parent_activity" android:value="com.adobe.psmobile.mainactivity"/> <intent-filter> <action android:name="android.intent.action.edit"/> <category android:name="android.intent.category.default"/> <data android:mimetype="image/jpeg"/> <data android:mimetype="image/png"/> </intent-filter> <intent-filter> <action android:name="android.intent.action.edit"/> <category android:name="android.intent.category.default"/> <data android:scheme="file"/> <data android:mimetype="*/*"/> <data android:host="*"/> <data android:pathpattern=".*\\.cr2"/> <data android:pathpattern=".*\\.cr2"/> ...
one of hundreds of attempted combinations:
// intent action = new intent(); intent action = new intent(intent.action_edit); // action.settype("*/*"); action.setdata(media.geturi()); action.setflags(intent.flag_grant_write_uri_permission); action.setflags(intent.flag_grant_read_uri_permission); intent chooser = intent.createchooser(action, getresources().getstring(r.string.edit)); startactivityforresult(chooser, request_code_edit);
ex uri:
file:///storage/sdcard1/_test/canon_1d_miv_03.cr2
es file explorer send cr2 file pse, can't under circumstances appear option jpeg. know how format intent pse consume?
you opening files in es file explorer, maybe has set defaults file extensions?
try re-setting them by:
- long click on item
- more
- open as
- clear defaults
you may need multiple times separate extensions.
Comments
Post a Comment