开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜