mirror of
https://git.sr.ht/~eliasnaur/gio-cmd
synced 2026-07-06 09:55:33 +00:00
gogio: [Android] add support for querying apps
Previously, it was impossible to identify if a specific app was installed on the user device. It was also impossible to launch a external app from Gio using Intent. Now, you can use `-queries` with a comma separed package names, like `com.another.app`. That allows you to launch Intent to `com.another.app`. Signed-off-by: inkeliz <inkeliz@inkeliz.com>
This commit is contained in:
@@ -88,4 +88,8 @@ The -schemes flag specifies a list of comma separated URI schemes that the progr
|
||||
handle. For example, use -schemes yourAppName to receive a app.URLEvent for URIs
|
||||
starting with yourAppName://. It is only supported on Android, iOS, macOS and Windows.
|
||||
On Windows, it will restrict the program to a single instance.
|
||||
|
||||
The -queries flag specifies a list of comma separated package names used to query other apps,
|
||||
that is useful to launch other apps and verify their presence. For example, use -queries
|
||||
com.example.otherapp to query the app with that package name. It is only necessary on Android.
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user