什么是android意图显示本地化设置?

One*_*rld 3 android android-intent android-activity

我相信这很容易回答.我只是找不到这份工作的意图ID.

我想显示本地化设置页面,用户可以选择"通过wifi打开本地化..."

      Intent intent = new Intent( ??? );
      startActivity(intent);
Run Code Online (Sandbox Code Playgroud)

Sco*_*ler 6

这是你想要的:

 Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
 startActivity(intent);
Run Code Online (Sandbox Code Playgroud)