开发者

Closing the activity of other application

开发者 https://www.devze.com 2023-01-30 09:25 出处:网络
On specific event, I am opening an activity of other application (In my case Default phone dialer) Once user is done with his job (in my case, termi开发者_如何学JAVAnating a call) I have to close the

On specific event, I am opening an activity of other application (In my case Default phone dialer)

Once user is done with his job (in my case, termi开发者_如何学JAVAnating a call) I have to close the app so that user can see my app on top of UI stack.

How can I do that?

Thanks & Best Regards Sudhakar Chavali


Open new activity by startActivityForResult(intent, code); And override the method onActivityResult in main activity.

0

精彩评论

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