Code example for ComponentName

Methods: flattenToString

0
		super.onSaveInstanceState(outState);
 
		if (debug) Log.i(TAG, "onSaveInstanceState()");
 
		if (mEditAutomationActivity != null) {
			String componentString = mEditAutomationActivity.flattenToString();
			outState.putString(BUNDLE_COMPONENT_NAME, componentString);
		} 
	} 
 
	/** 
     * Show PICK_ACTIVITY dialog with all possible Locale settings  
     */ 
	private void selectAutomationTask() { 
		Intent pickIntent = new Intent(Intent.ACTION_PICK_ACTIVITY);
        pickIntent.putExtra(Intent.EXTRA_INTENT,
                new Intent(AutomationIntents.ACTION_EDIT_AUTOMATION));
        pickIntent.putExtra(Intent.EXTRA_TITLE,
                getText(R.string.title_select_automation_task));
 
Stop searching for code, let great code find you!  Add Codota to your java IDE