i added these lines into the manifest.xml file to launch my app when the user want to open an .ext attachment from one email :
Code: Select all
<intent-filter>
<data android:scheme="content" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- open any mime type file -->
<data android:mimeType="application/*" />
<data android:mimeType="text/*" />
<data android:pathPattern=".*\\.ext" />
</intent-filter>
If i open the file as attachment my app is launched as excepted but the url passed to the urlwakeup handler is like that :
Code: Select all
content://gmail-ls/my.email@gmail.com/messages/18/attachments/0.0/BEST/false
or
Code: Select all
content://com.android.email.attachmentprovider/2/20/RAW
i cannot read the content of this URI.
How do that ? For android developer there is a solution : http://stackoverflow.com/questions/5657 ... ontent-uri but for livecode ?
I didn't found any command in the dictionary.
Thanks