I'm creating an application to view java, c, and text files. I want my app to appear in openwith dialog (but currently (the file format is not supported) toast message gets displayed when I click on the file. Please help me out in this.
You can find a good tutorial here: http://richardleggett.co.uk/blog/2013/01/26/registering_for_file_types_in_android/ or Why isn't my app on the list of apps to open txt file?
If this doesn't help, please post some code. :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.