Run apk into corona application?

Good night,

I have an application made in Corona and I need to open another application within it (run another apk). Is this possible?

Thanks.

So what you want is to run a application1 on your phone and press a button and it opens another application2 that is on that phone?

Does it close application1?

Although i doubt you can do this there might be a way…

Are you using android or iPhone? Windows or Mac?

Thanks!

If the application you want to open has setup a URL scheme (iOS) you can use system.openURL() to open the other app. Android uses a different method, which is detailed here.

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

Rob

So what you want is to run a application1 on your phone and press a button and it opens another application2 that is on that phone?

Does it close application1?

Although i doubt you can do this there might be a way…

Are you using android or iPhone? Windows or Mac?

Thanks!

If the application you want to open has setup a URL scheme (iOS) you can use system.openURL() to open the other app. Android uses a different method, which is detailed here.

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

Rob