Android start external intent action then reopen your app -


i start partner (external) app (with custom intent action) :

intent = new intent("com.myapp.action.my_action"); i.putextra("param1", "value1"); ... startactivity(i); 

the partner app launched , action performed. problem when re-opening app (after pressing home button example), view displayed partner app , have press device button go app. there way stay in app when re-opening it?

thanks

of course. launch partner app new task. if user returns application (via home key press or list of recent tasks), app appear, not partner app:

intent = new intent("com.myapp.action.my_action"); i.addflags(intent.flag_activity_new_task); i.putextra("param1", "value1"); ... startactivity(i); 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -