> The class below sends and SMS message onLocationChange of the GPS, > well I want it to anyway. > > Alone it works fine, but as a class it doesn't. If I comment out the > code in sendSMS() the program doesn't crash on the phone but it also > doesn't send the SMS. The same code runs as a standalone sends SMS > just fine.
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine the Java stack trace associated with your "force close" dialog. That should help you diagnose the problem. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.