1

getAction Bar gives null pointer exception

view story
linux-howto

http://stackoverflow.com – 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. (HowTos)