We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

How do I start an Android app from shell? [answered]

asked 2018-06-11 19:57:25 +0200

umko gravatar image

What is the command to start an installed Android app? Let us say for for an example process org.myapplication.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by molan
close date 2018-06-11 22:47:00.534416

1 Answer

Sort by » oldest newest most voted
5

answered 2018-06-11 20:43:47 +0200

Spam Hunter gravatar image

updated 2018-06-11 20:47:27 +0200

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
edit flag offensive delete publish link more

Question tools

Follow
1 follower

Stats

Asked: 2018-06-11 19:57:25 +0200

Seen: 744 times

Last updated: Jun 11 '18