From b8c59b984655c5e89d489e06aeac907c2c35d530 Mon Sep 17 00:00:00 2001 From: Yurt Page Date: Sun, 12 May 2024 14:33:27 +0300 Subject: [PATCH 1/4] install-on-desktops.md: Debian install: use wget and temp file Instead of a curl we can use the wget that is always installed on all Debian systems. But since the curl is needed inside of the installation script we still need to install it before. We may get rid of it later. The wget uses the -nv flag to not show a progress but show any errors. The script is downloaded first to temp folder and only then being executed. This protects us from executing partially downloaded file. Instead of piping we executing a bash with the file name and once executed it will be removed. --- usage/install-on-desktops.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usage/install-on-desktops.md b/usage/install-on-desktops.md index 58fc84d..4f2f759 100644 --- a/usage/install-on-desktops.md +++ b/usage/install-on-desktops.md @@ -71,7 +71,7 @@ sudo apt install curl ca-certificates -y * Add the official repository ```bash -curl https://repo.waydro.id | sudo bash +wget -nv -O /tmp/waydroid_install.sh https://repo.waydro.id && sudo bash /tmp/waydroid_install.sh && rm -f /tmp/waydroid_instal.sh ``` If the script fails to detect your distribution, you can provide a valid option by appending `-s `. Currently supported values are: **mantic**, **focal**, **jammy**, **kinetic**, **lunar**, **noble**, **bookworm**, **bullseye**, **trixie**, **sid** From c8f42546df21bf96dc7c04d05fde9c95886b2f10 Mon Sep 17 00:00:00 2001 From: Yurt Page Date: Sun, 12 May 2024 15:16:19 +0300 Subject: [PATCH 2/4] install-and-run-android-applications.md: improve Add waydroid app list command. Extend example of installing F-Droid. --- usage/install-and-run-android-applications.md | 32 +++++++++++++------ 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/usage/install-and-run-android-applications.md b/usage/install-and-run-android-applications.md index 57c3939..2d3fc21 100644 --- a/usage/install-and-run-android-applications.md +++ b/usage/install-and-run-android-applications.md @@ -1,5 +1,8 @@ # Install and Run Android Applications +Once installed you can launch Android application through your desktop Application Menu. +For example try to find a Contacts app. + Waydroid is able to perform a few various operations found by using the `waydroid app -h` command: ```bash @@ -16,20 +19,31 @@ subaction: list list installed applications ``` -You can install Android applications with: +So to see a list of all available apps use: -```bash -waydroid app install xyz.apk +```sh +waydroid app list ``` -Then you can launch the application through your desktop Application Menu. +Now you see the Android package name of the app (it looks like `com.xxx.yyy`) and you can launch it from the commandline with `waydroid app launch`: -If you know the Android package name of the app (`com.xxx.yyy`) you can also use the commandline with: +```sh +waydroid app launch com.android.contacts +``` -```bash -waydroid app launch com.foo.bar + +You can install an Android application from `*.apk` package with `waydroid app install some_app.apk`. +The apk files you will sometimes find on the internet tend to only have ARM support, and will therefore not work on x86\_64. + +As an example let's install the [F-Droid](https://f-droid.org) libre app store to get applications graphically: + +```sh +wget -O /tmp/F-Droid.apk https://f-droid.org/F-Droid.apk +waydroid app install /tmp/F-Droid.apk +rm -f /tmp/F-Droid.apk +waydroid app launch org.fdroid.fdroid ``` -The apk files you will sometimes find on the internet tend to only have arm support, and will therefore not work on x86\_64. +With the F-Droid you may install more apps. You can also use the Play Store if you installed a GAPPS image. + -You may want to install [F-Droid](https://f-droid.org) to get applications graphically. Or use the Play Store if you installed a GAPPS image. From e2cceacdbf7d5a352afeeae25db03c0c136fa9b2 Mon Sep 17 00:00:00 2001 From: Yurt Page Date: Sun, 12 May 2024 15:20:51 +0300 Subject: [PATCH 3/4] install-and-run-android-applications.md: add link to faq/using-custom-waydroid-images --- usage/install-and-run-android-applications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usage/install-and-run-android-applications.md b/usage/install-and-run-android-applications.md index 2d3fc21..327d93b 100644 --- a/usage/install-and-run-android-applications.md +++ b/usage/install-and-run-android-applications.md @@ -44,6 +44,6 @@ rm -f /tmp/F-Droid.apk waydroid app launch org.fdroid.fdroid ``` -With the F-Droid you may install more apps. You can also use the Play Store if you installed a GAPPS image. +With the F-Droid you may install more apps. You can also use the Play Store if you installed a [GAPPS image](../faq/using-custom-waydroid-images). From cd40faa2a98973e22975b36a7a510a0b31481bf3 Mon Sep 17 00:00:00 2001 From: Yurt Page Date: Sun, 12 May 2024 15:21:44 +0300 Subject: [PATCH 4/4] install-and-run-android-applications.md: fix missing .md --- usage/install-and-run-android-applications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usage/install-and-run-android-applications.md b/usage/install-and-run-android-applications.md index 327d93b..3e416d1 100644 --- a/usage/install-and-run-android-applications.md +++ b/usage/install-and-run-android-applications.md @@ -44,6 +44,6 @@ rm -f /tmp/F-Droid.apk waydroid app launch org.fdroid.fdroid ``` -With the F-Droid you may install more apps. You can also use the Play Store if you installed a [GAPPS image](../faq/using-custom-waydroid-images). +With the F-Droid you may install more apps. You can also use the Play Store if you installed a [GAPPS image](../faq/using-custom-waydroid-images.md).