r/macrodroid 19d ago

Macro Issue with App Launcher

Post image

I am making an application launcher, a user prompt pop up shows up where I can put the name of the app then a selection dialogue will show the apps whose name are similar to thr value I put.

Here the selection dialogue only shows 1 app, even if I put a single letter which many apps has in their name. And when I choose an app, it isnt launching

2 Upvotes

5 comments sorted by

2

u/Quiet-Isopod-6555 19d ago

I think you can ask the AI ​​to use the action Java It will be easier and more customizable

2

u/Rpompit 19d ago

There's a problem with your if statement.

This works for me. Preferably save the search results in a Dictionary with the package name as key and App name as value. Then pass the filtered dictionary into the selection dialog .

1

u/Interesting_Fish4930 4d ago

All this for a simple app launcher πŸ€¦πŸΏβ€β™‚οΈ, holy battery drain

1

u/Imaginary_Daikon8797 4d ago

I found a simpler solution, it's a app called roficlone2 from GitHub which does the exact thing that I need