import kr.co.websync.net.SimpleHttp;
...
new SimpleHttp("url").get(new String[]{"p",param1,"p2",param2},new SimpleHttp.SimpleHttpCallback(){
public void onHttpOk(SimpleHttp task,int status,long server_time,String response){
Log.d(TAG,"SimpleHttp.onHttpOk: "+status+", time: "+server_time+", resp: "+response);
}
public void onHttpError(SimpleHttp task,Throwable error,int status,String response){
Log.d(TAG,"SimpleHttp.onHttpError: "+status+", resp: "+response);
}
});
...
-
Notifications
You must be signed in to change notification settings - Fork 0
rhee/SimpleHttp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
simple http get/post handler for java, especially for android platform
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published