[android-developers] Re: intent-filter for addContact and editContact ?

2008-12-09 Thread jaspher
hello everyboday thank you for your support and sorry for my slowly answer... it works with a contentResolver and a ContentObserver (code). do you mean that it isn't for the performance of the device not a good idea to work with something like that? thanks in advance public class

[android-developers] Re: intent-filter for addContact and editContact ?

2008-12-09 Thread Dianne Hackborn
I was just explaining why we designed things the way we did. On Tue, Dec 9, 2008 at 8:25 AM, jaspher [EMAIL PROTECTED] wrote: hello everyboday thank you for your support and sorry for my slowly answer... it works with a contentResolver and a ContentObserver (code). do you mean that it

[android-developers] Re: intent-filter for addContact and editContact ?

2008-12-04 Thread Bill Napier
I would start looking here: http://code.google.com/android/reference/android/content/ContentResolver.html#registerContentObserver(android.net.Uri, boolean, android.database.ContentObserver) with ContentObserver.registerContentObserver which sounds like it should do what you want. I haven't

[android-developers] Re: intent-filter for addContact and editContact ?

2008-12-04 Thread Bill Napier
I would start looking here: http://code.google.com/android/reference/android/content/ContentResolver.html#registerContentObserver(android.net.Uri, boolean, android.database.ContentObserver) with ContentObserver.registerContentObserver which sounds like it should do what you want. I haven't

[android-developers] Re: intent-filter for addContact and editContact ?

2008-12-04 Thread Dianne Hackborn
Yes, this is the way to monitor for content provider changes. Note that this is deliberately not done as a broadcast, you can only receive these while you are running by explicitly registering for them, because we didn't want to get in the situation of launching 1 or more apps every time some