Page 1 of 1

[SOLVED] App chooser?

Posted: 28 Jan 2020 05:21
by Yam
Hi again!

Is there a way to use the "start activity" action to open up a list of all the installed apps on the device?

I'm currently using "init package_info" but it's kinda a drag.

If anyone has a better way could they please let me know!

- Cheers!

Re: [Help] App chooser?

Posted: 28 Jan 2020 06:46
by anuraag
In which format you want app names? I can provide some java code. Do you also want system apps?
1) Chrome
2) com.android.chrome

Re: [Help] App chooser?

Posted: 28 Jan 2020 10:12
by Yam
Cheers for replying! :)

So far I that's kinda what I've been doing...

I use init package info and a script that displays all installed applications on a single choice menu.

It's functional, but feels rather crap to the real thing.


I know there's actions like "start activity" which allow you to pick a contact from a system popup, and even inside of automagic, you can launch an application picker menu.

There is "android.intent.category.APP_BROWSER" But it doesn't seem functional.

I'm just wondering if you or anyone knows how to get that application picker with the icons.

Thanks!


Edit: didn't figure it out, instead i went with the code option. Allows multi-selections.

Re: [SOLVED] App chooser?

Posted: 28 Jan 2020 18:45
by Desmanto
@Yam : I don't understand exactly what you need. And how do you solve it actually.
I have ever shared init package info, parse the app name + package name and show it in input dialog multiple choice. But can't find my own post, forgot the keyword already.

Re: [SOLVED] App chooser?

Posted: 28 Jan 2020 23:37
by Yam
I'm really having trouble explaining what i was trying to look for.

So I'll just do my best to give an example.
If you where to go into automagic, and use an action called "launch app", then press the three ...'s to bring up automagics app picker. That's exactly the dialog that I was wondering about.

It displays every app icon, has multiselection, and search capabilities.

I don't believe it's implimented in native android, so I've gone towards just doing the code way. which works :)