chokkarg / worktime

Automatically exported from code.google.com/p/worktime
0 stars 0 forks source link

Application crash on Honeycomb #131

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On honeycomb users where having issues with the application because of the 
Actionbar:

java.lang.NoSuchMethodError: android.app.ActionBar.setHomeButtonEnabled
at 
eu.vranckaert.worktime.utils.view.actionbar.ActionBarHelperHoneycomb.setHomeButt
onEnabled(ActionBarHelperHoneycomb.java:76)
at 
eu.vranckaert.worktime.activities.HomeActivity.onCreateOptionsMenu(HomeActivity.
java:134)
at android.app.Activity.onCreatePanelMenu(Activity.java:2395)
at 
com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:379)
at 
com.android.internal.policy.impl.PhoneWindow.invalidatePanelMenu(PhoneWindow.jav
a:678)
at com.android.internal.policy.impl.PhoneWindow$2.run(PhoneWindow.java:2752)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4123)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)

This just happend when starting the application. The reason is that the method 
indeed is not available on all 3.x android versions. So removed this line of 
code and the icon will never be clickable on Honeycomb devices (tablet only!)

Original issue reported on code.google.com by dirkvran...@gmail.com on 23 Jul 2012 at 11:51

GoogleCodeExporter commented 8 years ago

Original comment by dirkvran...@gmail.com on 23 Jul 2012 at 11:54