阅读背景:

如果从超链接打开,应用程序将启动两次

来源:互联网 

I am developing one application which can be launched from multiple places like e.g. hyperlink in Calendar. I am facing the problem in the below scenario: If application is already launched and running in the background and User clicks the event/hyperlink in Native calendar to start the appliction. My application is launching twice as a new instance. In the running app list I can see the two instances of my application. I have tried both android:launchMode="singleInstance" and "singleInstance" attribute for my Main activity.but still not working. Can anyone suggest me the solution?I am developing one application which can be la




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: