Hi!

I am having random crashes when adding a new word to the user
dictionary with android 1.6.
Here is a copy of my stacktrace :

java.lang.IllegalArgumentException: Unknown URL content://user_dictionary/words
at android.content.ContentResolver.insert(ContentResolver.java:476)
at android.provider.UserDictionary$Words.addWord(UserDictionary.java:
133)
at com.asigbe.slidekeyboard.SlideKeyboard.addWordToDictionary
(SlideKeyboard.java:576)
at com.asigbe.slidekeyboard.SlideKeyboard.handleSeparator
(SlideKeyboard.java:770)
at com.asigbe.slidekeyboard.SlideKeyboard.onKey(SlideKeyboard.java:
634)
at com.asigbe.slidekeyboard.SlideKeyboardView.detectAndSendKey
(SlideKeyboardView.java:981)
at com.asigbe.slidekeyboard.SlideKeyboardView.onTouchEvent
(SlideKeyboardView.java:1446)
at android.view.View.dispatchTouchEvent(View.java:3675)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at android.gesture.GestureOverlayView.dispatchTouchEvent
(GestureOverlayView.java:503)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1757)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent
(PhoneWindow.java:1211)
at android.app.Dialog.dispatchTouchEvent(Dialog.java:609)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1741)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1819)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4321)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:791)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
at dalvik.system.NativeStart.main(Native Method)

I really don't know how it is possible, because this exception is
only  thrown when the provider URL doesn't exist.

Any help would be much appreciated.
Thanks,
Koku

-- 
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

Reply via email to