IT WORKED! THANK YOU!
I could hit my self... I always use
newUpdate(ContactsContract.Data.CONTENT_URI) for updating the values
except for the StructuredName...
On 4 Mai, 07:42, Stefan S wrote:
> I'll try. Thanks for the hint.
>
> Curiosley I can update the addresses, organisations etc with the st
I'll try. Thanks for the hint.
Curiosley I can update the addresses, organisations etc with the state
above but the StructuredName values. This is really strange...
On 30 Apr., 10:51, Ali Chousein wrote:
> Hhhmmm, maybe you should try
>
> newUpdate(ContactsContract.Data.CONTENT_URI)
>
> instead
http://123maza.com/65/rings780/http://123maza.com/65/rings780/
http://123maza.com/65/rings780/http://123maza.com/65/rings780/
http://123maza.com/65/rings780/ http://123maza.com/65/rings780/
http://123maza.com/65/rings780/
On Apr 26, 10:42 pm, Stefan S wrote:
> Hi
> I've go
Hhhmmm, maybe you should try
newUpdate(ContactsContract.Data.CONTENT_URI)
instead of
newUpdate(ContactsContract.Contacts.CONTENT_URI)
I hope it helps :-)
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
Hi Ali
thanks for this blog. I already found it earlier :)
My code now looks like
String select = ContactsContract.Data.RAW_CONTACT_ID + "=? AND " +
ContactsContract.Data.MIMETYPE + " = ?";
String[] args = new String[]
{String.valueOf(_nContactID),ContactsContract.CommonDataKinds.
Thank you Phuong, sharing information is what we do.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+u
Hhhmmm, I'm not exactly sure what is wrong with your syntax. I have
another blog which gives a full fledged example, in which "newUpdate"
is used. I'm sure that, the example with "newUpdate" in that blog
works. Maybe you may try to follow the syntax there. The address is:
http://email-addresses-in-
Hi Ali,
I've read your blog. It's really useful and interesting.
Thanks for sharing.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, se
_context.getContentResolver().notifyChange(
ContactsContract.Contacts.CONTENT_URI, null);
ArrayList ops = new
ArrayList();
int nIndex = ops.size();
ops.add(ContentProviderOperation.newUpdate(ContactsContract.Contacts.CONTENT_U
Can you post your code?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
F
Which id do i have to take for updating the contacts?
I've saved the RawContact_ID in my File but when I try to update with
that ID the programm crashes.
On 27 Apr., 14:28, Stefan S wrote:
> Ok. So i^'ll try with the ContentProviderOperation to update my
> contacts and thanks for the explanation
Ok. So i^'ll try with the ContentProviderOperation to update my
contacts and thanks for the explanation contact_id, raw_contact_id.
I'll give you some feedback if it's worked or not.
Thanks
Stefan
On Apr 27, 2:20 pm, Ali Chousein wrote:
> Hi Stefan,
>
> I would advice you to use ContentProviderO
Hi Stefan,
I would advice you to use ContentProviderOperation because this has
the advantage of applying many operations in batch mode. It'll help
you with speed improvements. But be careful how you should use the
RAW_CONTACT_ID. If you have close look to the example, it should be
obvious I think.
Hi Ali
Thank for your reply.
I've read your blog. Very interesting.
You wrote that you also had problems with ContentValues. Should I try
to use the ContentProviderOperation?
On 27 Apr., 13:15, Ali Chousein wrote:
> Please check my blog at the
> addresshttp://android-contact-id-vs-raw-contact-i
Please check my blog at the address
http://android-contact-id-vs-raw-contact-id.blogspot.com/
the section "PROGRAMMATICALLY INSERT A CONTACT INTO A DESIRED GROUP".
With the piece of code I give there, the contact is displayed in your
contacts list. In the past I also had similar problems to yours
15 matches
Mail list logo