C csgoh Member Licensed User Longtime User Feb 27, 2012 #1 Hi, I am trying to build an android app which will appear as one of the file viewers when an email attachment is selected. How could I do that? Thanks
Hi, I am trying to build an android app which will appear as one of the file viewers when an email attachment is selected. How could I do that? Thanks
Erel B4X founder Staff member Licensed User Longtime User Feb 27, 2012 #2 Which type of files (images, text, ...)? Upvote 0
C csgoh Member Licensed User Longtime User Feb 27, 2012 #3 I am trying to open an attachment with .DRF extension. This file links to a document in our document management (DM) system. I want to build an app that fetch the doc from DM when .DRF file is clicked on the email client. Upvote 0
I am trying to open an attachment with .DRF extension. This file links to a document in our document management (DM) system. I want to build an app that fetch the doc from DM when .DRF file is clicked on the email client.
Erel B4X founder Staff member Licensed User Longtime User Feb 28, 2012 #4 You need to add an intent filter to the activity. See this link: Android intent filter for a particular file extension? - Stack Overflow You should add the intent filter with AddActivityText in the manifest editor. In your activity you can get the Intent that was sent to it with Activity.GetStartingIntent. The file path should be included in the intent. Upvote 0
You need to add an intent filter to the activity. See this link: Android intent filter for a particular file extension? - Stack Overflow You should add the intent filter with AddActivityText in the manifest editor. In your activity you can get the Intent that was sent to it with Activity.GetStartingIntent. The file path should be included in the intent.
C csgoh Member Licensed User Longtime User Mar 4, 2012 #5 Thank you so much! I will try it out. Upvote 0