Bhabani Shankar
Bhabani Shankar

Reputation: 1285

Search Android app by part of package name

I want to search all the applications created by me with a definite package structure.

For example - say my package structure initial is my.android.puzzle.xxx

Now value for 'xxx' can be anything.

I want to search all apps with initial package structure as my.android.puzzle

Can anyone tell me how to do this.

Upvotes: 0

Views: 1098

Answers (1)

Paresh Mayani
Paresh Mayani

Reputation: 128428

Here is a nice code snippet given to Get installed Applications with Name, Package Name, Version and Icon. Now review this code and try to implement the code for your requirement: Fetch all package names. After done with package name getting, just implement the search functionality as we implement for the string inner search.

Upvotes: 1

Related Questions