How to install another app from Corona App

Am able to open any app using open URL scheme.

settings =
{
  android =
  {
     intentFilters =
     {
        {
           label = “Your Title Goes Here”,
           actions = { “android.intent.action.VIEW” },
           categories =
           {
              “android.intent.category.DEFAULT”,
              “android.intent.category.BROWSABLE”,
           },
           data = { scheme = “try” },
        },
     },
  },
}

And then you can open your “try” app from your other app using the following function call…

system.openURL(“try://your_arguments_go_here”)

Doing above.

But now I want to install an .apk which is in my Document Directory. Am downloading .apk from my personal server.

Hi altafr,

I don’t know the answer to your question specifically, but I’d be surprised if you were able to install an external .apk without it being approved by any of the app stores.  Seems like a huge security risk to me.

Cheers.

Hi altafr,

I don’t know the answer to your question specifically, but I’d be surprised if you were able to install an external .apk without it being approved by any of the app stores.  Seems like a huge security risk to me.

Cheers.