trejder
trejder

Reputation: 17513

Install / run (not: download) APK file directly from website

I've seen this answer, but -- as it claims -- link starts download of .apk file, while I'm looking for any way to run it, if it is installed, directly from the web.

I found this example and TestFlight's webpage. There's a link Already Installed? Launch the App -- a simple <a> tag with href set to testflightapp://com.testflightapp.androidapp?scheme=http&amp;host=testflightapp.com&amp;path=m/builds.

However, it seems, that this kind of href / protocol is supported only by installed Test Flight application and not available in general in Android system.

Am I right, that my own application -- the one, that I want to run via link from website -- must itself register and handle private protocol, as in this example.

Upvotes: 0

Views: 2505

Answers (1)

Raghav Sood
Raghav Sood

Reputation: 82583

Yes, your app must have an intent-filter that responds to a particular (preferably non-standard) URI.

In the above case, the intent-filter is for testflightapp:// scheme URIs.

Upvotes: 1

Related Questions