Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用意图将用户带到“设置”->“位置”,以便他能够启用应用程序获取设备位置?
这是我想去的屏幕:
尝试这个:
Intent intent= new Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS); startActivity(intent);