Re: [android-developers] running into an NPE error on a setText();

2012-07-29 Thread Cythes
The error is fixed, but now when I go to use the settings its not showing what I have set. Should I open a thread for this? On Sunday, July 29, 2012 8:59:23 AM UTC-4, Mark Murphy (a Commons Guy) wrote: > > First, clean your project (Project > Clean from Eclipse main menu, or > ant clean from th

Re: [android-developers] running into an NPE error on a setText();

2012-07-29 Thread Mark Murphy
First, clean your project (Project > Clean from Eclipse main menu, or ant clean from the command line). Then rebuild and try again. Sometimes, the R values get a bit out of sync with other precompiled Java code, and cleaning the project clears that up. If the error persists, then apparently res/la

[android-developers] running into an NPE error on a setText();

2012-07-29 Thread Cythes
I'm working on a piece of code that is a settings activity for an app widget. Right now I have the code set up that if takes the saved value of the number and enters it into the text view of another activity via shared settings. The issue I am running into is that when press the load button it