03-30 21:53:29.054: ERROR/AndroidRuntime(270): java.lang.RuntimeException: Unable to create service com.wisdm.collector.CollectionService: java.lang.IllegalArgumentException 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at android.app.ActivityThread.handleCreateService(ActivityThread.java: 2693) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at android.app.ActivityThread.access$3100(ActivityThread.java:116) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1846) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at android.os.Handler.dispatchMessage(Handler.java:99) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at android.os.Looper.loop(Looper.java:123) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at android.app.ActivityThread.main(ActivityThread.java:4203) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at java.lang.reflect.Method.invokeNative(Native Method) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at java.lang.reflect.Method.invoke(Method.java:521) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at dalvik.system.NativeStart.main(Native Method) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): Caused by: java.lang.IllegalArgumentException 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at java.util.Timer.scheduleAtFixedRate(Timer.java:528) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at com.wisdm.collector.CollectionService._startService(CollectionService.java: 439) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at com.wisdm.collector.CollectionService.onCreate(CollectionService.java: 314) 03-30 21:53:29.054: ERROR/AndroidRuntime(270): at android.app.ActivityThread.handleCreateService(ActivityThread.java: 2684)
Maybe this helps. "Then it crashes" means that the application freezes and the Android box that says "The application....has stopped unexpectedly. Please try again." On Mar 30, 5:49 pm, TreKing <[email protected]> wrote: > On Wed, Mar 30, 2011 at 3:11 PM, agrosner <[email protected]> wrote: > > Everything goes well until the user clicks on the preference, disabling it > > to "false", and then it crashes when I access the value in another class. > > Want to explain what "then it crashes" means, including a stacktrace? Or > should we guess? > > ------------------------------------------------------------------------------------------------- > 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

