Use this and your application will not crash using the Gingebread Android developer:
if(Build.VERSION.SDK_INT>Build.VERSION_CODES.GINGERBREAD_MR1){ getActionBar().setDisplayHomeAsUpEnabled(true); getActionBar().setHomeButtonEnabled(true); }
do the same if you use ActionBarDrawerToggle
hope that helps :)))
noobProgrammer
source share