[android-developers] Contact wrapper uses
Hi I'm using a guide ( http://www.higherpass.com/Android/Tutorials/Working-With-Android-Contacts/1/
) to wrap in one project the contact api level 3 and 5 ... But they
don't have any contact address to ask about my problem.
In both contactAPISDK3 and contactAPISDK5 i got this error message:
The method setPhone(ArrayList<ContactsContract.CommonDataKinds.Phone>)
in the type Contact is not applicable for the arguments
(ArrayList<Phone>)
Also happens with Email, addresses and Organization.
I read the code and don't see the error or what's missing, maybe I
have to make a new function in Contact.java for each API ? Declare a
new variable with the type of the new SDK ?
And another question is if it's worth the use of wrapper to switch
between api code.
Thanks for the answers :)
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home