0

My application has 2 different possible launch scenarios : standalone or launched by another app (with specific intent).

If launched in standalone mode after it is launched by another app, my app is completely broken (I deal with bluetooth, etc).

Is there any way to know when my app is launched from another app whether or not my standalone app is already running on the device?

J Steven Perry
  • 1,711
  • 1
  • 17
  • 28
Léo Moro
  • 171
  • 2
  • 7
  • May be you can use onReume(). Check this link: http://stackoverflow.com/questions/15658687/how-to-use-onresume – Dhruv Feb 02 '16 at 13:18
  • I think this link might help your situation http://stackoverflow.com/questions/3290936/android-detect-when-other-apps-are-launched – Veeresh Charantimath Feb 02 '16 at 13:24

0 Answers0