You didn't initialize the variable gmtinput.
On Mon, Apr 19, 2010 at 8:49 PM, Traveler <[email protected]> wrote:
> gmtinput is an edittext. Any suggestions are appreciated. Obviously, I
> am a beginner.
>
> protected void calculateGmt() {
> TextView gmtinput = null;
>
> double val =
> Double.parseDouble(gmtinput.getText().toString());
> minsatoutput.setText(Double.toString(val * 2));
> }
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
--
Régis Lacerda Martini
"Computer Science is no more about computers than Astronomy is about
telescopes."
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en