android 超簡單獲取危險權限

每次獲取危險權限都要寫一堆代碼,麻煩,工做量還比較多,所以封裝了一個簡單的html 首先,在項目build裏面加入git jcenter() 而後在module的build裏面加入compile 'com.github.hl:Permission:1.0.0'github 導入完成,使用就簡單了 ide Permission.with(this) .addRequestCode(2
相關文章
相關標籤/搜索