I am making a check if the user is connected to the internet. If the user is not connected then prompt the user to turn on data services.
This is the code that I am using to prompt the user to turn on data services if not connected
@Override
public void onClick(DialogInterface dialog, int which) {  
    startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0);
    dialog.dismiss();   
}
The above code works fine but it opens the wifi settings. Please how can I modify the code to open the image shown below

 
     
    