android 超简单获取危险权限

每次获取危险权限都要写一堆代码,麻烦,工做量还比较多,所以封装了一个简单的html 首先,在项目build里面加入git jcenter() 而后在module的build里面加入compile 'com.github.hl:Permission:1.0.0'github 导入完成,使用就简单了 ide Permission.with(this) .addRequestCode(2
相关文章
相关标签/搜索