Android Open Source - MobileCrossPlatformTools Definitions






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.common;
//from  w ww .  j  a  v a  2 s .c om
public class Definitions {

  public static final int GPS_TIMEOUT_MILIS = 20000;
  
  public static enum GPS_CALLBACK_STATUS { TIMEOUT, NOTIFY };
  public static enum ERROR_TYPE { NONE, JSON, HTTP, LOCATION_NOT_FOUND };
  
  public static final String API_KEY = "6affebacbb125602110709";
  public static final String DATA_FORMAT = "json";
  public static final String FORECAST_DAYS = "5";
  
  public static final String WEATHER_URL = "http://free.worldweatheronline.com/feed/weather.ashx?key=" + API_KEY + "&q=%s&num_of_days=" + FORECAST_DAYS + "&format=" + DATA_FORMAT;
  
}




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