
I wanna develop a app manager, and implements function like this: edit different type(with different suffix) opening app, or clear default. Is this possible in Android?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use:
This will show you the appliation choser dialog with the applications that can open the data based on the URI scheme/path and/or the MIME type.
You can also use
Intent.ACTION_EDITinstead ofIntent.ACTION_VIEWif you want to edit the data.EDIT: Nothing much to show, to open a TXT file you can use:
If there is any application associated with TXT files, the Android OS will prompt you to chose an app, if there is only 1 application capable of opening the specified file type, it will open it using that.