android简单权限获取
提供西班牙语版本 。
Thanks to request permission features that come with Android 11 news, there is a new way to ask for permissions within an app. These are part of the new Register Activity for Result API that comes to replace the startActivityForResult.
由于Android 11新闻附带了 请求权限功能,因此有一种新的方法可以在应用程序内请求权限。 这些是新的Result API注册活动的一部分,该API取代了startActivityForResult 。
The most interesting thing, so far, is that it turns the way of requesting permissions into a component that can be more maintainable, scalable and easy to implement. (Note: As these API dependencies are currently in alpha, it is VERY likely that they will change something over time, but the general structure I think will be preserved, and see how easy it i