Best code examples for Android ActionBarActivity class (android.support.v7.app.ActionBarActivity)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Android ActionBarActivity class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Android ActionBarActivity examples from Open Source projects
This code example shows how to use the following methods: getSupportActionBar, onCreate
11:	super.onCreate(savedInstanceState); 
-
13:	getSupportActionBar().setDisplayHomeAsUpEnabled(true); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getSupportFragmentManager, getIntent, onCreate, setTheme
17:	setTheme(UIUtils.getThemeInt(this)); 
-
19:	super.onCreate(savedInstanceState); 
-
21:	mFileName = getIntent().getStringExtra("filename"); 
-
23:	getSupportFragmentManager().beginTransaction().replace(android.R.id.content, 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSupportFragmentManager, onRestoreInstanceState
93:	super.onRestoreInstanceState(savedInstanceState); 
-
101:	FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods:
31:	public class ActionBarMechanics extends ActionBarActivity { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getSupportActionBar, getIntent, onCreate, setTitle
17:	super.onCreate(savedInstanceState); 
-
19:	ActionBar actionBar = getSupportActionBar(); 
-
24:	if (getIntent().hasExtra("title")) { 
25:	setTitle(getIntent().getStringExtra("title")); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getSupportFragmentManager, getIntent, onCreate
35:	super.onCreate(savedInstanceState); 
-
38:	FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); 
-
40:	(ArrayList<Constraint>) getIntent().getExtras().getSerializable(IDENTIFIER)), "list"); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
14:	public class FeedbackActivity extends ActionBarActivity { 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: finish, startActivity
64:	startActivity(intent); 
-
66:	finish(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setTabListener, setText
179:	tab.setText(tabInfo.mTitle); 
180:	tab.setTabListener(mAdapter); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: finish, onCreate, startActivity
17:	super.onCreate(savedInstanceState); 
-
20:	startActivity(i); 
21:	finish(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: bindService, getApplicationContext, onStart
39:	super.onStart(); 
-
41:	Intent serviceIntent = new Intent(getApplicationContext(), ServerConnectionService.class); 
42:	bindService(serviceIntent, this, 0); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
28:	public class SampleMediaRouteProviderService extends MediaRouteProviderService { 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods:
110:	super(context); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
12:	public class AboutActivity extends ActionBarActivity { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getSupportActionBar, getWindow, onCreate
23:	super.onCreate(savedInstanceState); 
24:	getWindow().requestFeature(Window.FEATURE_ACTION_BAR); 
25:	getSupportActionBar().hide(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: addTab, getTabCount, newTab
45:	final int tabCount = bar.getTabCount(); 
-
47:	bar.addTab(bar.newTab() 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: addTab, getTabCount, newTab
45:	final int tabCount = bar.getTabCount(); 
-
47:	bar.addTab(bar.newTab() 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
24:	public class AboutActivity 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
28:	public class AddShowPreviewActivity 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: hide, isShowing
27:	if (!actionBar.isShowing()) { 
-
30:	actionBar.hide(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
18:	public class ActivityLogin extends ActionBarActivity implements OnClickListener{ 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
6:	public class BaseActivity extends ActionBarActivity{ 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
24:	public class AboutScreen extends ActionBarActivity { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
35:	super(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
34:	super(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods:
29:	return new Space(context); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getApplicationContext, startActivity
20:	Intent intent = new Intent(getApplicationContext(), FeatureActivity.class); 
21:	startActivity(intent); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods:
28:	public class SampleMediaRouteProviderService extends MediaRouteProviderService { 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getApplicationContext, startActivity
20:	Intent intent = new Intent(getApplicationContext(), FeatureActivity.class); 
21:	startActivity(intent); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getCurrentFocus, getSystemService
106:	InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); 
107:	View view = this.getCurrentFocus(); 
-
110:	this.getCurrentFocus().getWindowToken(), 0); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getSupportActionBar, onSaveInstanceState
94:	outState.putInt("opcion", getSupportActionBar() 
-
96:	super.onSaveInstanceState(outState); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getSupportActionBar, onCreate
13:	super.onCreate(savedInstanceState); 
14:	actionBar = getSupportActionBar(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getApplicationContext, onOptionsItemSelected
41:	Toast.makeText(getApplicationContext(), "You clicked first button.", Toast.LENGTH_SHORT).show(); 
-
44:	Toast.makeText(getApplicationContext(), "You clicked second button.", Toast.LENGTH_SHORT).show(); 
-
47:	Toast.makeText(getApplicationContext(), "You clicked third button.", Toast.LENGTH_SHORT).show(); 
-
49:	return super.onOptionsItemSelected(menu); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: onSaveInstanceState
36:	super.onSaveInstanceState(outState); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: getIntent, onResume
71:	super.onResume(); 
-
73:	if (NfcAdapter.ACTION_NDEF_DISCOVERED.equals(getIntent().getAction())) { 
74:	processIntent(getIntent()); 
Full Snippet Info
4
CodeRank
See Code Examples for Android ActionBarActivity Methods: