How to get Category for each App on device on Android?

前端 未结 7 1941
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 04:25

I\'ve got an Android app which scans for all Apps installed on the device and then reports this to a server (it\'s an MDM agent). Any suggestions on how to get the Category

7条回答
  •  囚心锁ツ
    2020-12-03 04:30

    Any suggestions on how to get the Category of the App?

    Apps don't have categories. Some markets have categories.

    From what I can tell there is nothing related to Category stored on the device itself.

    Correct.

    I was thinking of using the android market API to search for the application in the market and use the Category value returned by the search.

    At the present time, there is no "android market API", unless you have a good legal team and a significant legal defense fund.

    Moreover, not all apps are distributed via the "android market", particularly on devices like the Kindle Fire. Also, developers are welcome to change categories whenever they wish, at least on the Google Play Store.

    Any suggestions on how best to do this?

    Drop the feature and move on to other ways to add value.

提交回复
热议问题