开发者

Reset "Complete action using" choice

My application lists a bunch of开发者_Go百科 hyperlinks which once clicked, open Complete action using dialog. I would like to implement a button which will reverse this choice if it has been made with Use by default for this action.


If you are the default, you can clear yourself via clearPackagePreferredActivities() on PackageManager. However, you cannot get rid of other applications as being the default this way.

If you want to force the user to make a choice from something you are launching from your own activity, use createChooser() on Intent.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜