Wednesday, September 21, 2011

[android-developers] Re: Activity Help

The spinner and the list on the first activity are "self contained" - that is their state won't directly affect the activity that you're calling.  Sounds like the activity you start is trying to access some data/resource that is not there (e.g. your layout is missing a resource). 

Check the state of variables during the onCreate/onResume/etc lifecycle functions to see where the NPE is generated.

Can you post a stacktrace?

Richard

--
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