Code example for DialogFragment

Methods: startActivity

0
		return builder.create();
	} 
	 
	private void enableLocationSettings() { 
	    Intent settingsIntent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
	    startActivity(settingsIntent);
	} 
	 
	/** 
	 * @return the context 
	 */ 
	public Context getContext() {
		return context;
	} 
 
 
	/** 
	 * @param context the context to set 
	 */ 
	public void setContext(Context context) {
Connect your IDE to all the code out there  Get Codota for Java