Sample Android app that displays current weather and two day forecast.
TwoDayWeather is hosted in the following web site
https://github.com/fallenarchon/TwoDayWeather
If you think the Android project TwoDayWeather listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of TwoDayWeather.
Item | Value |
---|---|
Java File Count | 29 |
Supported screen sizes | [xhdpi] |
Target SDK Version | 18 |
Minimum SDK Version | 10 |
Activity Count | 1 |
Fragment Count | 2 |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET |
There are 17 image files in TwoDayWeather. The names of the image files are listed as follows.
cloudy.png day_mist.png day_partly_cloudy.png day_sunny.png dunno.png hail.png light_rain.png light_snow.png night_clear.png night_mist.png night_partly_cloudy.png overcast.png rain.png sleet.png snow.png storm.png thundershowers.png
The following screenshort is generated from the image listed above.
TwoDayWeather has the following Java source files.
com.arconus.twodayweather.Config.java com.arconus.twodayweather.events.WeatherChangedEvent.java com.arconus.twodayweather.model.TDWApplication.java com.arconus.twodayweather.model.TDWModel.java com.arconus.twodayweather.model.weather.CurrenWeather.java com.arconus.twodayweather.model.weather.Day.java com.arconus.twodayweather.model.weather.Forecast.java com.arconus.twodayweather.model.weather.Night.java com.arconus.twodayweather.model.weather.Weather.java com.arconus.twodayweather.model.weather.WeatherResponse.java com.arconus.twodayweather.model.weather.Wind.java com.arconus.twodayweather.operations.adapters.ViewPagerAdapter.java com.arconus.twodayweather.operations.android.BaseFragment.java com.arconus.twodayweather.operations.android.CurrentWeatherFragment.java com.arconus.twodayweather.operations.android.MainActivity.java com.arconus.twodayweather.operations.android.TwoDayForecastFragment.java com.arconus.twodayweather.operations.network.FetchWeatherDataTask.java com.arconus.twodayweather.operations.network.MyWeather2Service.java com.arconus.twodayweather.operations.persistence.DummyWeatherLoader.java com.arconus.twodayweather.operations.persistence.FlatFileConfig.java com.arconus.twodayweather.operations.persistence.FlatFileWeatherLoader.java com.arconus.twodayweather.operations.persistence.FlatFileWeatherSaver.java com.arconus.twodayweather.operations.persistence.IWeatherLoader.java com.arconus.twodayweather.operations.persistence.IWeatherSaver.java com.arconus.twodayweather.operations.persistence.TDWPreferences.java com.arconus.twodayweather.views.SingleDayForecastView.java com.arconus.twodayweather.views.ViewFormatUtils.java com.arconus.twodayweather.views.WeatherIconFactory.java com.arconus.twodayweather.views.WindAndWeatherView.java