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);
    } 
}