Wednesday, February 9, 2011

Re: [android-developers] Re: Adding a new View causing Force Close

On Wed, Feb 9, 2011 at 11:42 PM, Aaron Buckner <nagmier@gmail.com> wrote:
I don't understand how it could be null though

Step 1 - step through your debugger to confirm this.
 
I basically copied the statements for MyRideScreen and the XML,

Copying and pasting leads to many errors.
 
so I'm confused as to what I'm doing wrong

Your layout, somewhere somehow does not have that view in it.
 
If I need to attach more complete code I can do that.

How about the XML layout for what you're setting as the content view?

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

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