imbault Well-Known Member Licensed User Longtime User Jun 12, 2015 #1 Hi, I just want to open an attached XML with my app. With gmail mail client it's ok: But with the default Android email client, my Smile App does not appear: Here is the manifest intent filter : B4X: AddActivityText(importxml, <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="application/xml" /> <data android:mimeType="text/xml" /> <data android:mimeType="text/html" /> <data android:mimeType="text/*" /> </intent-filter>) Any idea ? Attachments upload_2015-6-12_10-36-6.png 42.9 KB · Views: 164 upload_2015-6-12_10-39-14.png 29.4 KB · Views: 172
Hi, I just want to open an attached XML with my app. With gmail mail client it's ok: But with the default Android email client, my Smile App does not appear: Here is the manifest intent filter : B4X: AddActivityText(importxml, <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="application/xml" /> <data android:mimeType="text/xml" /> <data android:mimeType="text/html" /> <data android:mimeType="text/*" /> </intent-filter>) Any idea ?
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2015 #2 Check the unfiltered logs (in usb debug mode) and look for the intent that is being sent when you choose one of the listed applications. Upvote 0
Check the unfiltered logs (in usb debug mode) and look for the intent that is being sent when you choose one of the listed applications.
imbault Well-Known Member Licensed User Longtime User Jun 12, 2015 #3 Thx @Erel , it's : application/xhtml+xml without the log, unable to image that mime type... But how to get the intent file name and path from inside my App ? Last edited: Jun 12, 2015 Upvote 0
Thx @Erel , it's : application/xhtml+xml without the log, unable to image that mime type... But how to get the intent file name and path from inside my App ?
imbault Well-Known Member Licensed User Longtime User Jun 12, 2015 #4 found it is this post: https://www.b4x.com/android/forum/threads/get-file-from-email-attachment.54224/ Upvote 0
found it is this post: https://www.b4x.com/android/forum/threads/get-file-from-email-attachment.54224/