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?