S
S
SilentBlock2019-08-06 00:14:15
Android
SilentBlock, 2019-08-06 00:14:15

How to kill or return focus from an android application?

I launch someone else's MyApp from my application:
Android.Content.Intent intent = PackageManager.GetLaunchIntentForPackage("com.app.app1");
StartActivity(intent);
Next, I would like to launch the second app2, but the system, apparently, takes the focus on app1 and everything stops there. How to kill app1 or return focus to MyApp?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question