Guys, I solved that problem.
My problem was in a layout definition that was defined with caps lock, but
with the same name, and the Eclipse don't put erros in line, but the
emulator show me in logCat.

Thanks, bye.

On Wed, Jun 8, 2011 at 12:21 PM, TreKing <[email protected]> wrote:

> On Wed, Jun 8, 2011 at 10:01 AM, Diogo Salaberri <[email protected]>wrote:
>
>> I guess that it not so simple.
>>
>
> Sure it is - step through your debugger and print out log statements. At
> some point something is null. Find out what that is.
>
>
>> I normally use that "x" TextView inside the onCreate() and after ( methods
>> ); But, i don't know how, this look like loosing the refference for my
>> declarations.
>>
>
> If you're getting NULL from findViewById then your layout is setup wrong so
> double check that.
> If not but your variable is NULL afterward at some point then, again, use
> your debugger and logcat to find out when and where it's getting set to
> null. Then don't do that.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Atenciosamente;
Diogo Bonoto Salaberri
Bacharel em Ciência da Computação - UFPel

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to