List installed apps on device

33 views
Skip to first unread message

Durga Prasad

unread,
Sep 27, 2015, 7:48:36 AM9/27/15
to AndroidScript
Hello,

I was looking for something to list down all apps installed in device in the form of list box.

Where I need to get the app name,icon,apk path and name.

I tried App.GetAppName . but it shows my app name. How can I acheive this?

Steve Garman

unread,
Sep 27, 2015, 7:58:11 AM9/27/15
to AndroidScript
DroidScript does not currently offer that facility.

Timo Octazid

unread,
Sep 27, 2015, 8:35:58 AM9/27/15
to AndroidScript
Hi,
This lists all system apps, but I believe thats not all you want :-)

//This lists all System apk files

function OnStart()
{
apps = app.ListFolder("/system/app/",".apk");
lst = app.CreateListView(apps);
}

Many Greetings
Timo

Steve Garman

unread,
Sep 27, 2015, 9:13:22 AM9/27/15
to AndroidScript
I'm afraid it doesn't even do that on my phone, Timo.

In my "/system/apps/" each app has its own sub folder system of varying depths.

Durga Prasad

unread,
Sep 27, 2015, 9:22:36 AM9/27/15
to AndroidScript
Yes Timo. I agree with Steve. For example if I give full path like /system/apps/Drive then it lists drive.all file. But I wanted to list all apk files irrespective of folders.

Chris

unread,
Sep 27, 2015, 11:32:05 AM9/27/15
to AndroidScript
There is an Android API for this. Someone should create a plugin! ;)
Reply all
Reply to author
Forward
0 new messages