[SOLVED] App chooser?

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
Yam
Posts: 54
Joined: 23 Nov 2019 09:07

[SOLVED] App chooser?

Post by Yam » 28 Jan 2020 05:21

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!
Last edited by Yam on 28 Jan 2020 15:16, edited 1 time in total.
Every life altering decision you have made, has lead to you reading this.

anuraag
Posts: 371
Joined: 24 Jan 2015 02:06

Re: [Help] App chooser?

Post by anuraag » 28 Jan 2020 06:46

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

User avatar
Yam
Posts: 54
Joined: 23 Nov 2019 09:07

Re: [Help] App chooser?

Post by Yam » 28 Jan 2020 10:12

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.
Every life altering decision you have made, has lead to you reading this.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: [SOLVED] App chooser?

Post by Desmanto » 28 Jan 2020 18:45

@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.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Yam
Posts: 54
Joined: 23 Nov 2019 09:07

Re: [SOLVED] App chooser?

Post by Yam » 28 Jan 2020 23:37

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 :)
Every life altering decision you have made, has lead to you reading this.

Post Reply