Allow/use custom protocol handlers in the Android runtime

Many Android apps register their own protocol handlers for launching them with some parameters, e.g. from a link on a webpage.
A common pattern is appname:// but there are probably others use cases.
It would be nice if this was accessible from the Sailfish side of things too.

Currently it is semi-possible with:
lxc-attach -n aliendalvik -- /system/bin/am start -a "android.intent.action.VIEW" -d <address goes here>

But since that needs root(?) privileges it doesn’t work as an integrated solution with less than something like the Aliendalvik-Control trampoline service thing.

1 Like