How to get installed applications permissions

后端 未结 2 1497
傲寒
傲寒 2020-12-09 20:39

I need to develop an android application to detect malwares.

I am looking to develop this based on permissions used by all the applications installed. Please let me

2条回答
  •  情深已故
    2020-12-09 21:05

    You can use this REST API to get details about an app, including permissions required by the app. For instance, to see what permissions WhatsApp is requiring, locate the "permissions" node in the response from this GET request: http://playstore-api.herokuapp.com/playstore/apps/com.whatsapp

    More notes about how to make API calls for this could be found on the GitHub page.

提交回复
热议问题