[android-developers] Re: Question about built-in content providers

2009-10-22 Thread tauntz
So the specific case mentioned in my first post is not guaranteed to work since it's mixing stuff in a way that just happens to work on some devices? If so, then what's the correct way of adding extensions to persons? (haven't found any examples that are dealing with person extensions so it's

[android-developers] Re: Question about built-in content providers

2009-10-21 Thread Mark Murphy
tauntz wrote: In 1.5 and 1.6 the following code snippet works: --- import android.provider.Contacts; import android.provider.Contacts.People; ContentValues values = new ContentValues(); values.put(Contacts.ExtensionsColumns.NAME, name); values.put(Contacts.ExtensionsColumns.VALUE,

[android-developers] Re: Question about built-in content providers

2009-10-21 Thread tauntz
I understand that people can rip it apart and do whatever with it so my main concern is about official android releases. Can someone from Google comment if the support for all built in content providers is a requirement for being able to run Android Market or is this part not regulated? I'm

[android-developers] Re: Question about built-in content providers

2009-10-21 Thread Dianne Hackborn
Yes, the definitions in android.provider are in the SDK, so must be supported. I guess you could use them to build things that are invalid my mixing columns from one URI with another URI, that may happen to work, but if you follow the straight-forward definitions there you are using the SDK and