Android Question Adding Contact

Francisco Barbosa

Member
Licensed User
Longtime User
Hello, again needing help. But this is good because I always find.

I'm trying to add a contact with phone and e-mail.Utilizo MiscUtil the library - here's the code:

As map: phone, email, home, work.


The Dim mu MiscUtil
mu.Initialize
mu.createContactEntry2 ("My Name", bmp, phone, email, "Test", "mydomain.com", "FB", home, work)

The routine breaks when trying to create the contact. The message is: java.lang.ClassCastException: java.lang.String

Could anyone help me or indicate some other library to add e-mail contacts with ????
 
Top