开发者

Intent : Android

开发者 https://www.devze.com 2023-01-29 14:46 出处:网络
I am using intent to 开发者_JS百科start google maps. When I press the back key I want my application to get the focus.

I am using intent to 开发者_JS百科start google maps. When I press the back key I want my application to get the focus.

Can you please let me know how can this be achieved??

Will using FLAG_ACTIVITY_REORDER_TO_FRONT flag help?? I am not able to solve this.

Please help.

Thanks.


Are you finishing the activity before you start google maps? Program control should return back to your application if the user hits the back button as long as you don't finish the activity.

0

精彩评论

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