0

How do I get UID for contact which is saved by using PIM in J2ME so that I can use that UID for deleting the contact in future if required?

gnat
  • 6,213
  • 108
  • 53
  • 73
Niket
  • 1,105
  • 12
  • 15

1 Answers1

0

Try this:

if (contact.countValues(Contact.UID) > 0) {
String UID = contact.getString(Contact.UID, 0));
}
Alex
  • 1,319
  • 3
  • 15
  • 33