I have an application, call \"App1\". In my App1 I invoke Camera application.
intent = new Intent(Intent.ACTION_MAIN); intent.setComponent(new ComponentName(\"co
You need to override Activity.onNewIntent() method.
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); setIntent(intent); }
After onNewIntent() is called, the normal onResume() lifecycle will follow. Alternatively, you can write your code in onNewIntent() itself.
onNewIntent()
onResume()