i want to work with action bar in android. for this i use
getActionBar().setHomeButtonEnabled(true);
below the SetContentView . but is gives me null pointer exception. when i try only getActionBar() it works fine.
please help me.
See Question&Answers more detail:os