Is it possible to launch another installed app from an Android Corona app by package name?

I have a Corona app (Android build only), and I need to be able to launch another app that does not have an android:scheme defined in the AndroidManifest.xml, so I can’t use system.openURL.

Even though the Corona docs are clear that it doesn’t work from mobile devices, I tried (and failed) with:

os.execute("adb shell am start -n com.xx.xx/com.xx.xx.main")
  1. So, question is, is there a way from one Corona Android app to launch another Android app by package name?
  2. If not, is there a plugin that will do this?

Look through this thread:

https://forums.coronalabs.com/topic/37105-handling-url-scheme-on-android/

Rob

Thanks Rob! Still looks like it’s not possible though. The app I’m trying to link to doesn’t have a URL scheme assigned in the Android manifest and without a plugin, it looks like I can’t launch anything else on Android based on property name.

On a more positive note, the app I’m working on does receive a bundle of parameters passed to it through the Android intent and I’m able to use the techniques in that thread you mentioned to successfully read them.

Look through this thread:

https://forums.coronalabs.com/topic/37105-handling-url-scheme-on-android/

Rob

Thanks Rob! Still looks like it’s not possible though. The app I’m trying to link to doesn’t have a URL scheme assigned in the Android manifest and without a plugin, it looks like I can’t launch anything else on Android based on property name.

On a more positive note, the app I’m working on does receive a bundle of parameters passed to it through the Android intent and I’m able to use the techniques in that thread you mentioned to successfully read them.