Re: [android-developers] Re: Safe way to get the My Contacts Group?

2009-12-08 Thread Jeff Sharkey
You're correct, the Google Contacts sync adapter could change the TITLE for this group in the future. However, it's more likely that we'll use RES_PACKAGE and TITLE_RES to set a custom, localized title in the future. j On Thu, Nov 19, 2009 at 12:11 PM, jak. koda...@gmail.com wrote: I'm a

[android-developers] Re: Safe way to get the My Contacts Group?

2009-11-19 Thread jak.
I'm a little worried about using the literal string 'System Group: My Contacts' to find the group. Can this differ on certain devices or locales? String where = ContactsContract.Groups.ACCOUNT_NAME + ==' + toAcct + ' AND + ContactsContract.Groups.TITLE + =='System Group: My Contacts'; --

[android-developers] Re: Safe way to get the My Contacts Group?

2009-11-16 Thread jak.
I've noticed that if you query the groups database with only the Account name selected: i.e.: String where = ContactsContract.Groups.ACCOUNT_NAME + ==' + toAcct + '; The first record returned is the System Group: My Contacts group (at least that's the case on my Droid). Can we assume that the