Android Open Source - MobileCrossPlatformTools Http Result






From Project

Back to project page MobileCrossPlatformTools.

License

The source code is released under:

GNU General Public License

If you think the Android project MobileCrossPlatformTools 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 es.tid.weather.http;
/* ww  w .  j  a va  2 s .  co m*/
import org.apache.http.StatusLine;

import android.graphics.Bitmap;

public class HttpResult {
  public String content;
  public StatusLine status;
  public Object callBackParams;
  public Exception exception;
  public Bitmap bitmap;
  
  public HttpResult(String content, StatusLine status, Bitmap bitmap){
    this.content = content;
    this.status = status;
    this.bitmap = bitmap;
    this.callBackParams = null;
    this.exception = null;
  }

  public HttpResult(String content, StatusLine status, Bitmap bitmap, Object callBackParams) {
    this.content = content;
    this.status = status;
    this.bitmap = bitmap;
    this.callBackParams = callBackParams;
    this.exception = null;
  }
  
  public HttpResult(Exception exception, Object callBackParams) {
    this.content = null;
    this.status = null;
    this.bitmap = null;
    this.callBackParams = callBackParams;
    this.exception = exception;
  }
}




Java Source Code List

es.tid.weather.common.CurrentWeather.java
es.tid.weather.common.Definitions.java
es.tid.weather.common.WeatherApplication.java
es.tid.weather.common.WeatherDay.java
es.tid.weather.common.Weather.java
es.tid.weather.http.ConnectionManager.java
es.tid.weather.http.HttpConnection.java
es.tid.weather.http.HttpResult.java
es.tid.weather.main.GpsListener.java
es.tid.weather.main.WeatherActivity.java
es.tid.weather.opengl.CubeRenderer.java
es.tid.weather.opengl.Cube.java
es.tid.weather.opengl.TranslucentGLSurfaceViewActivity.java
es.tid.weather.splash.SplashActivity.java