Back to project page wiki-contacts-android.
The source code is released under:
Apache License
If you think the Android project wiki-contacts-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.kahkong.wikicontacts.service; //w w w. ja v a 2s . c o m import com.kahkong.wikicontacts.callback.OnCompleteListener; /** * * @author Poh Kah Kong * */ public interface WebService { public static enum Method {GET, POST}; public void getContacts(String query, OnCompleteListener onCompleteListener); public void addContactAndImage(String contactJson, byte[] bytes, OnCompleteListener onCompleteListener); public void updateContactAndImage(String contactJson, byte[] bytes, OnCompleteListener onCompleteListener); public void removeContact(int id, OnCompleteListener onCompleteListener); public void getImageApp(String url, OnCompleteListener onCompleteListener); public void listCountryCodes(OnCompleteListener onCompleteListener); public void listAndSelectCountryCodes(OnCompleteListener onCompleteListener); public void getContact(String number, OnCompleteListener onCompleteListener); public void getImageSvc(String url, OnCompleteListener onCompleteListener); public void appCancel(); public void svcCancel(); }