Code example for FragmentActivity

Methods: onOptionsItemSelected

0
                NavUtils.navigateUpFromSameTask(this);
                return true; 
        } 
        // Otherwise, pass the item to the super implementation for handling, as described in the 
        // documentation. 
        return super.onOptionsItemSelected(item);
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE