I am trying to develop a security application , I want initially to display list of installed apps and on item click of list , its required permissions.
I have successfully made the app till permissions. Now , I want to disable camera , internet, etc, using Device admin API, I wish to include "Disable Camera" option in the settings of "AppsList" ie my list of installed apps Application ?
Can someone guide me how to do it ? Should I need to use preferences ? Any help appreciated,new to android development.