Re: [android-beginners] The application has stopped unexpectedly. Please try again.

2010-05-12 Thread T1000
[ 05-12 01:05:47.570 227:0xe3 E/AndroidRuntime ] java.lang.NumberFormatException: at org.apache.harmony.luni.util.FloatingPointParser.parseDouble(FloatingPointParser.java:267) at java.lang.Double.parseDouble(Double.java:285) at

Re: [android-beginners] The application has stopped unexpectedly. Please try again.

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 11:08 AM, T1000 t1...@zando.dyndns.org wrote: What am I doing wrong? Print out the values of the strings just before you try to convert them, then the value of what you get. Why are you using Float to get a double value?

Re: [android-beginners] The application has stopped unexpectedly. Please try again.

2010-05-12 Thread T1000
I can't print out the strings after I try to convert them using either of these two routines because it crashes. double satlon = Double.valueOf(SatLon_Str).doubleValue(); double satlon = Double.parseDouble(); (Using a Float before was sloppiness on my part. However, even when I use a Double

Re: [android-beginners] The application has stopped unexpectedly. Please try again.

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 12:10 PM, T1000 t1...@zando.dyndns.org wrote: I can't print out the strings after I try to convert them using either of these two routines because it crashes. Weirdness - have you tried putting a break point right before the Double.parse(value) call and see the value