我正在開發一些應用程序,我想將它們連接到Restful WebService。要做到這一點,我寫這個類: public class TagDS {
public TagDS(){
}
public boolean recordTag(Tag t){
try{
String send = t.getConteudo()+"\n"+t.getI
我正在開發一些應用程序,我想將它們連接到Restful WebService。要做到這一點,我寫了這個類: public class WebServiceClient {
public void postService() {
HttpClient client = new DefaultHttpClient();
String param1 = "ola\n5\