I found the error... when doing the import eclipse added
contactcontract provider stuff that i don't need and the eclipse get
mad about types...

thank you btw :)

On 8 feb, 11:33, Abalufaske <[email protected]> wrote:
> Hi I'm using a guide 
> (http://www.higherpass.com/Android/Tutorials/Working-With-Android-Cont...
> ) 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to