0

I want my launcher to be able to search the apps through a search dialog. I already have the xml and everything done, just not the search. I want to use a search dialog.

  • 1
    I would think you can query to find the list of apps on the device and just search that list. http://stackoverflow.com/a/2696617/371018 – ariets Jun 06 '15 at 02:22
  • @ariets Thats what i have been trying to do. Everytime i do that, my brain hurts. I cant think straight. – user4978318 Jun 06 '15 at 02:23
  • @ariets i already have that code and the aplications appear and function properly. What i want to do is add a searchbox that the user can use to search the names in. – user4978318 Jun 06 '15 at 02:25
  • @ariets gave the answer on how to query what's installed... what problem are you having with that? – Buddy Jun 06 '15 at 04:22
  • @Buddy i want my app's textbox to be able to find the app that is written in it. – user4978318 Jun 06 '15 at 04:24
  • Ok, take a look at [this code](http://www.androidsnippets.com/get-installed-applications-with-name-package-name-version-and-icon), it shows how to get a list of installed applications... then just loop over that and compare against the `appname`. – Buddy Jun 06 '15 at 04:32

0 Answers0