![]() The mimetype in Method 2 results null and the mimetype set explicitly too doesn't work.Ĭould anybody share their thoughts on solving this issue. ![]() ![]() tDataAndType(Uri.fromFile(file),mimetype) Click on File at the top left hand corner. MSG file through another installed application Log.i(TAG, "Extension :" + extension + "\n" + "MIME :" + mimetype) // Prints msg for extension and mimetype = application/vnd.ms-outlook for method 1 and null when i use method 2 While on the General tab, check the checkbox next to Read-only in the Attributes. The software opens MSG message without Outlook and. String mimetype = ().getMimeTypeFromExtension(extension) // extension is msg MSG viewer application is available at free of cost to open and view MSG file messages independently. Method 2 : Fetching the MIMETYPE through MimeTypeMap String extension = (Uri.fromFile(file).toString()) Method 1 : Setting the MIMETYPE manually mimetype = "application/vnd.ms-outlook" Instead, the Gmail inbox opens in the broweser on the mobile device instead of opening to the specific message. MSG file in android programmatically within the application. In Android mobile app, click the link to the Gmail message. So my question is, How can i open up the. MSG file as i expected, then i tried with attaching the same. I tried with setting the MIMETYPE as vnd.ms-outlook, still i couldn't able to open up the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |