Code example for ActionBar

Methods: getNavigationMode

0
    	} 
    	return false; 
    } 
    private int getNavMode(){ 
    	ActionBar bar = this.getActionBar();
    	return bar.getNavigationMode();
    } 
    private void invokeTabNav(){ 
    	Intent i = new Intent(this,
    	  TabNavigationActionBarActivity.class); 
    	startActivity(i);
    } 
    private void invokeListNav(){ 
    	Intent i = new Intent(this,
    	  ListNavigationActionBarActivity.class); 
    	startActivity(i);
    } 
    private void invokeStandardNav(){ 
    	Intent i = new Intent(this,
    	  StandardNavigationActionBarActivity.class); 
    	startActivity(i);