Android Open Source - android-json-http On Request Http Listener






From Project

Back to project page android-json-http.

License

The source code is released under:

Apache License

If you think the Android project android-json-http listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.open.jsonhttp;
/*from w w  w. java  2 s .  c om*/

/**
 * ?????????????????(current only success and fail, maybe more in the future)
 * 
 * @author yinghui.hong
 */
public interface OnRequestHttpListener {
  /**
   * ????????????????JSON????????Result????1?Success???????????????
   * 
   * @param responeKey
   *            ??????????
   * @param responseBean
   *            ?????????????
   */
  public void onSuccess(int responseKey, ResponseBean responseBean);

  /**
   * ??????????????????
   * 
   * @param responseKey
   * @param code
   */
  public void onFail(int responseKey, int code);
}




Java Source Code List

com.example.App.java
com.example.MainActivity.java
com.example.constant.Request.java
com.example.constant.Result.java
com.example.constant.Url.java
com.example.request.GeocodeReqBean.java
com.example.response.GeocodeResBean.java
com.example.response.table.AddressComponent.java
com.example.response.table.GeocodeTable.java
com.example.response.table.Geometry.java
com.example.response.table.LocationRectangle.java
com.example.response.table.Location.java
com.example.util.AccessApiUtil.java
com.open.jsonhttp.AsyncTask.java
com.open.jsonhttp.HttpRequest.java
com.open.jsonhttp.HttpResCode.java
com.open.jsonhttp.OnRequestHttpListener.java
com.open.jsonhttp.RequestBeanFile.java
com.open.jsonhttp.RequestBean.java
com.open.jsonhttp.ResponseBean.java
com.open.jsonhttp.WebServiceListener.java
com.open.jsonhttp.util.NetwrokUtil.java
com.open.jsonhttp.util.ParseUtil.java
com.open.jsonhttp.util.RequestUtil.java
com.open.jsonhttp.util.StringUtil.java
com.open.jsonhttp.util.ThreadUtil.java