android6.0 permission management

In android6.0, Google has strengthened the management of permissions. The runtime permissions must be applied for by developers, which causes a lot of trouble for developing apps, especially the processing of multiple permissions in one app. Here is a demo for you, hoping to help you. , I just saw an Alipay cashier pop-up box demo who took my code and said that he wrote it himself. If you want to reprint, please indicate the source

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326561770&siteId=291194637