How do I start an Android app from shell? [answered]
What is the command to start an installed Android app?
Let us say for for an example process org.myapplication.
What is the command to start an installed Android app?
Let us say for for an example process org.myapplication.
To get the best idea, have a look at an Android desktop file, found in /usr/share/applications/ - in this instance, we can try opening Whatsapp with the Exec command in the desktop file;
apkd-launcher "/data/app/com.whatsapp-2.apk" com.whatsapp/com.whatsapp.Main
whatsapp's desktop file contents;
[Desktop Entry]
Exec=apkd-launcher "/data/app/com.whatsapp-1.apk" com.whatsapp/com.whatsapp.Main
Icon=/var/lib/apkd/apkd_launcher_com_whatsapp-com_whatsapp_Main.png
Name=WhatsApp
Type=Application
Version=1.0
X-Nemo-Application-Type=no-invoker
X-Nemo-Single-Instance=no
X-apkd-apkfile=/data/app/com.whatsapp-1.apk
X-apkd-packageName=com.whatsapp
Asked: 2018-06-11 19:57:25 +0200
Seen: 856 times
Last updated: Jun 11 '18