[android-developers] Account name with spaces throws Exception on Android 2.2

2011-02-03 Thread Marten Gajda
Hello, there seems to be any change from Android 2.1 to Android 2.2 which throws an Exception when contact account names have spaces. I use the following code: mEntityUri = ContactsContract.Groups.CONTENT_URI.buildUpon() .appendQueryParameter(ContactsContract.Groups.ACCOUNT_NAME,

Re: [android-developers] Account name with spaces throws Exception on Android 2.2

2011-02-03 Thread Dmitri Plotnikov
Hi Marten, I have filed an internal bug for this and will fix it right away. There is no apparent workaround. I guess people normally don't run into this because most account names are e-mail addresses and thus don't contain spaces. Thank you very much for reporting. - Dmitri On Tue, Feb 1,

[android-developers] Account name with spaces throws Exception on Android 2.2

2011-02-02 Thread marten
Hello, there seems to be some changes from Android 2.1 to Android 2.2 which throws an Exception when contact account names have spaces. I use the following code: mEntityUri = ContactsContract.Groups.CONTENT_URI.buildUpon() .appendQueryParameter(ContactsContract.Groups.ACCOUNT_NAME,