How to set the application as a default one?
I download a ics file (Outlook Calendar File) from a mail attachment in my application. Another application also downloads the ics file. I need to set my application as the default application to open the ics files (from my program). Is there any possibility to know our application is the default application or not from our program?
If my application is not a default application, is the user select my application at that time i have to get some details from the user.Can anyone h开发者_如何学运维elp me to solve this???
When the user tries to open an ICS file, the user will be prompted to open it with your app or with another app. The user will then be given the option to make the current selection the default one, so as not to be faced with the question again.
This decision should always be in the hands of the user.
Android has already solved this natively, and you don't have to bother with it.
精彩评论