开发者

application getting launched even if it is open android

开发者 https://www.devze.com 2023-02-18 11:29 出处:网络
Inmy android application as soon as the user clicks on the application icon from menu the app is getting launched.It is happening even if the application is open earlier.

In my android application as soon as the user clicks on the application icon from menu the app is getting launched.It is happening even if the application is open earlier.

I would like to maintain the state li开发者_运维技巧ke if the application is opened then the app should show the default opened page and should not launch it again.

Please let me know your valuable suggestions.

Thanks in advance :)


Hey i solved this issue.Earlier i was using android:launchmode as single instance.When i removed this its working fine :)

0

精彩评论

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