As far as I know, Android does not provide a default way to find a MIME type for files stored on the SD card.
In the OI File Manager, we currently keep a list of file extensions and their corresponding MIME types: http://code.google.com/p/openintents/source/browse/trunk/FileManager/res/xml/mimetypes.xml To open the text file, use the VIEW intent, with MIME type "text/ plain": http://www.openintents.org/en/node/37 Peli www.openintents.org On Jan 16, 1:43 pm, jalandar <[email protected]> wrote: > I want open text file from sdcard > which action is requires and which mime type is requires. > > In general I want open any file(all file audio, text, etc) what should > be its action and mime type. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

