How to open android App from Corona App

Hi,

I need to open an android application from another application which is built using Corona Enterprise SDK.

How could I do this?

I have an example on android. Application A “sendBroadcast” to ApplicationB with a receiver which gets the value that is passed from A to B.

Any ideas?

Best regards

Well, there’s native.showPopup() and Android intents: http://docs.coronalabs.com/plugin/CoronaProvider_native_popup_social/showPopup.html

But be warned Corona’s implementation is not flawless; sharing to Facebook on Android is broken, for instance: http://forums.coronalabs.com/topic/52755-can-corona-enable-limited-facebook-sharing-on-android-via-nativeshowpopup/

I think thant native.showPopup() is available to open -->  Supported values are “twitter”, “facebook”, or “sinaWeibo”.

But I want to open an installed APK on my device from another Corona APK.

With two android native applications I used a “receiver” to listen an intent with some “putExtras” and finally sendBroadcast(intent) but in Corona I don’t know what I need.

Thanks

I’m afraid you read the docs too quickly. The portion you excerpted is iOS-specific, and has nothing to do with Android sharing. The full paragraph shows that:

Required for iOS only… Supported values are “twitter”,“facebook”, or “sinaWeibo”. This key is ignored on Android.

http://docs.coronalabs.com/plugin/CoronaProvider_native_popup_social/showPopup.html

 

Corona uses native.showPopup() for Android intents. (Though it is broken for Facebook sharing, as I mentioned above.)

Well, there’s native.showPopup() and Android intents: http://docs.coronalabs.com/plugin/CoronaProvider_native_popup_social/showPopup.html

But be warned Corona’s implementation is not flawless; sharing to Facebook on Android is broken, for instance: http://forums.coronalabs.com/topic/52755-can-corona-enable-limited-facebook-sharing-on-android-via-nativeshowpopup/

I think thant native.showPopup() is available to open -->  Supported values are “twitter”, “facebook”, or “sinaWeibo”.

But I want to open an installed APK on my device from another Corona APK.

With two android native applications I used a “receiver” to listen an intent with some “putExtras” and finally sendBroadcast(intent) but in Corona I don’t know what I need.

Thanks

I’m afraid you read the docs too quickly. The portion you excerpted is iOS-specific, and has nothing to do with Android sharing. The full paragraph shows that:

Required for iOS only… Supported values are “twitter”,“facebook”, or “sinaWeibo”. This key is ignored on Android.

http://docs.coronalabs.com/plugin/CoronaProvider_native_popup_social/showPopup.html

 

Corona uses native.showPopup() for Android intents. (Though it is broken for Facebook sharing, as I mentioned above.)