Thing is ... I am still perplexed as to why onPrepareOptionsMenu is getting called in the first place. All that is occurring here is that the Activity is coming back into the foreground. The menu button does not appear to have been called.
Jason
On Sun, Nov 1, 2009 at 11:25 AM, Jason Van Anden <jason.van.anden@gmail.com> wrote:
Mark,
Doh? How did I miss this?
I was testing the state of an object within a service that had not yet been restarted (resurrected?) after dying.
I think I was stuck on the onPrepareOptionsMenu part for some reason and did not look at #377.
Thank so much for the second set of eyes!
JasonOn Sat, Oct 31, 2009 at 1:33 PM, Mark Murphy <mmurphy@commonsware.com> wrote:
Jason Van Anden wrote:So...what's on line 377 of Peeps.java?
> 10-31 14:12:03.667: ERROR/AndroidRuntime(7369): Uncaught handler: thread
> main exiting due to uncaught exception
>
> 10-31 14:12:04.077: ERROR/AndroidRuntime(7369):
> java.lang.NullPointerException
> 10-31 14:12:04.077: ERROR/AndroidRuntime(7369): at
> com.bubblebeats.free.Peeps.onPrepareOptionsMenu(Peeps.java:377)
Personally, I'm hoping for a sugar-coated marshmallow confection, mostly
because Peeps are made by a local firm... ;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android Development Wiki: http://wiki.andmob.org
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment