[android-developers] Re: Content Service Crash

2010-10-31 Thread oriharel
the triggering code is: getContentResolver().registerContentObserver(Uri.parse(refreshChange), false, _refreshObserver); On Oct 31, 11:38 am, oriharel ori.ha...@gmail.com wrote: I get weird exception: 10-31 09:09:51.308: ERROR/ContentService(59): Content

Re: [android-developers] Re: Content Service Crash

2010-10-31 Thread Dianne Hackborn
The system shouldn't crash, but your code is broken. Your Uri.parse(refreshChange) is creating a Uri that is not actually a content: URI. You need to provide a Uri that is a full content: URI (with authority) to the data you want to observe. On Sun, Oct 31, 2010 at 7:58 AM, oriharel