AndroidWeatherInformation
10 years agoWeatherInformation: widget background with spurious is not fun.
Gustavo Martin Morcuende [Wed, 22 Oct 2014 01:28:11 +0000 (03:28 +0200)]
WeatherInformation: widget background with spurious is not fun.

10 years agoWeatherInformation: update widgets when new location
Gustavo Martin Morcuende [Tue, 21 Oct 2014 23:49:40 +0000 (01:49 +0200)]
WeatherInformation: update widgets when new location

10 years agoWeatherInformation: improvements in settings activities
Gustavo Martin Morcuende [Tue, 21 Oct 2014 01:18:10 +0000 (03:18 +0200)]
WeatherInformation: improvements in settings activities

10 years agoWeatherInformation: widget update view with configuration
Gustavo Martin Morcuende [Tue, 21 Oct 2014 00:23:43 +0000 (02:23 +0200)]
WeatherInformation: widget update view with configuration

10 years agoWeatherInformation: no time for comments
Gustavo Martin Morcuende [Mon, 20 Oct 2014 01:49:50 +0000 (03:49 +0200)]
WeatherInformation: no time for comments

10 years agoWeatherInformation: remove widget configure from application
Gustavo Martin Morcuende [Mon, 20 Oct 2014 01:42:13 +0000 (03:42 +0200)]
WeatherInformation: remove widget configure from application

Otherwise the widget configure activity appears when launching
my application instead of the main activity (it is as if
Android remembers the last activity)

10 years agoWeatherInformation: widget view using wrong layout
Gustavo Martin Morcuende [Mon, 20 Oct 2014 01:28:34 +0000 (03:28 +0200)]
WeatherInformation: widget view using wrong layout

10 years agoWeatherInformation: widget configure save to permanent storage
Gustavo Martin Morcuende [Mon, 20 Oct 2014 01:01:52 +0000 (03:01 +0200)]
WeatherInformation: widget configure save to permanent storage

10 years agoWeatherInformation: using Android Studio
Gustavo Martin Morcuende [Sun, 19 Oct 2014 23:09:50 +0000 (01:09 +0200)]
WeatherInformation: using Android Studio

10 years agoWeatherInformation: multiple widget configuration WIP
gu.martinm@gmail.com [Fri, 17 Oct 2014 19:51:07 +0000 (21:51 +0200)]
WeatherInformation: multiple widget configuration WIP

10 years agoWeatherInformation: widget configuration WIP.
gu.martinm@gmail.com [Wed, 15 Oct 2014 20:38:09 +0000 (22:38 +0200)]
WeatherInformation: widget configuration WIP.

10 years agoWeatherInformation: trying to improve string resources (values and identifiers)
gu.martinm@gmail.com [Wed, 15 Oct 2014 18:09:06 +0000 (20:09 +0200)]
WeatherInformation: trying to improve string resources (values and identifiers)

10 years agoMerge branch 'master' of https://github.com/gumartinm/JavaForFun
Gustavo Martin Morcuende [Mon, 13 Oct 2014 00:36:37 +0000 (02:36 +0200)]
Merge branch 'master' of https://github.com/gumartinm/JavaForFun

10 years agoWeatherInformation: pressure units configuration and access from Android's network...
Gustavo Martin Morcuende [Mon, 13 Oct 2014 00:32:58 +0000 (02:32 +0200)]
WeatherInformation: pressure units configuration and access from Android's network settings.

10 years agoWeatherInformation: pressure units configuration
Gustavo Martin Morcuende [Mon, 13 Oct 2014 00:32:58 +0000 (02:32 +0200)]
WeatherInformation: pressure units configuration

10 years agoWeatherInformation: widget preferences WIP
gu.martinm@gmail.com [Thu, 9 Oct 2014 19:35:22 +0000 (21:35 +0200)]
WeatherInformation: widget preferences WIP

10 years agoWeatherInformation: preference cancel/start notification
Gustavo Martin Morcuende [Wed, 8 Oct 2014 02:31:48 +0000 (04:31 +0200)]
WeatherInformation: preference cancel/start notification

10 years agoWeatherInformation: settings improvements
Gustavo Martin Morcuende [Wed, 8 Oct 2014 01:48:01 +0000 (03:48 +0200)]
WeatherInformation: settings improvements

10 years agoWeatherInformation: new preferences wind and kelvin
gu.martinm@gmail.com [Tue, 7 Oct 2014 19:51:40 +0000 (21:51 +0200)]
WeatherInformation: new preferences wind and kelvin

10 years agoWeatherInformation: preferences activity WIP
Gustavo Martin Morcuende [Tue, 7 Oct 2014 02:53:39 +0000 (04:53 +0200)]
WeatherInformation: preferences activity WIP

10 years agoWeatherInformation: widget error/default layout
gu.martinm@gmail.com [Mon, 6 Oct 2014 19:49:57 +0000 (21:49 +0200)]
WeatherInformation: widget error/default layout

10 years agoWeatherInformation: widget error/default layout.
gu.martinm@gmail.com [Mon, 6 Oct 2014 19:49:14 +0000 (21:49 +0200)]
WeatherInformation: widget error/default layout.

10 years agoWeatherInformation:
gu.martinm@gmail.com [Sun, 28 Sep 2014 13:54:32 +0000 (15:54 +0200)]
WeatherInformation:

1. Update widget from application
2. Avoid caches when updating widget
3. Using getApplicationContext as much as possible

10 years agoWeatherInformation: notification layout improvement
gu.martinm@gmail.com [Sun, 28 Sep 2014 02:47:11 +0000 (04:47 +0200)]
WeatherInformation: notification layout improvement

10 years agoWeatherInformation: avoid caches
gu.martinm@gmail.com [Sun, 28 Sep 2014 02:35:30 +0000 (04:35 +0200)]
WeatherInformation: avoid caches

10 years agoWeatherInformation:
gu.martinm@gmail.com [Sun, 28 Sep 2014 01:03:31 +0000 (03:03 +0200)]
WeatherInformation:

1. Save forecast and current data to permanent storage.
2. Update widget from App when location changed (no working yet)

10 years agoWeatherInformation: widget does not spawn Server
gu.martinm@gmail.com [Fri, 26 Sep 2014 02:39:00 +0000 (04:39 +0200)]
WeatherInformation: widget does not spawn Server

10 years agoWeatherInformation: widget WIP
gu.martinm@gmail.com [Fri, 26 Sep 2014 01:51:06 +0000 (03:51 +0200)]
WeatherInformation: widget WIP

10 years agoWeatherInformation: widget WIP
gu.martinm@gmail.com [Thu, 25 Sep 2014 19:46:57 +0000 (21:46 +0200)]
WeatherInformation: widget WIP

10 years agoWeatherInformation: conditions after AsyncTask
gu.martinm@gmail.com [Wed, 24 Sep 2014 17:40:51 +0000 (19:40 +0200)]
WeatherInformation: conditions after AsyncTask

Before updating UI with data coming from AsyncTask through BroadcastReceiver we
must verify the data are the same as the ones that triggered the AsyncTask

I am trying to avoid this case:

1. Conditions trigger AsyncTask 1
2. Screen rotation (or any other thing that creates new instance of our Fragment)
3. Conditions trigger AsyncTask 2
4. AsyncTask 1 ends with success. Updates UI.
5. AsyncTask 2 ends with error. Show error message. <-------- PROBLEM!!!!

If before updating UI we check the current values, we may avoid the error created by AsyncTask 2.

10 years agoWeatherInformation: notification white font color
gu.martinm@gmail.com [Wed, 24 Sep 2014 17:17:27 +0000 (19:17 +0200)]
WeatherInformation: notification white font color

10 years agoWeatherInformation: remove deprecated strings
gu.martinm@gmail.com [Wed, 24 Sep 2014 01:30:44 +0000 (03:30 +0200)]
WeatherInformation: remove deprecated strings

10 years agoWeatherInformation: progress current
gu.martinm@gmail.com [Wed, 24 Sep 2014 01:18:04 +0000 (03:18 +0200)]
WeatherInformation: progress current

Following same style as ListFragment

10 years agoWeatherInformation: current specific setHasNoOptions
gu.martinm@gmail.com [Wed, 24 Sep 2014 01:17:34 +0000 (03:17 +0200)]
WeatherInformation: current specific setHasNoOptions

10 years agoWeatherInformation: current with progress and error
gu.martinm@gmail.com [Tue, 23 Sep 2014 19:41:10 +0000 (21:41 +0200)]
WeatherInformation: current with progress and error

10 years agoWeatherInformation: custom notification city/country
gu.martinm@gmail.com [Tue, 23 Sep 2014 18:15:53 +0000 (20:15 +0200)]
WeatherInformation: custom notification city/country

10 years agoWeatherInformation: TODO static resource fresh time
gu.martinm@gmail.com [Tue, 23 Sep 2014 18:15:11 +0000 (20:15 +0200)]
WeatherInformation: TODO static resource fresh time

10 years agoWeatherInformation: notification with custom layout
gu.martinm@gmail.com [Tue, 23 Sep 2014 03:53:08 +0000 (05:53 +0200)]
WeatherInformation: notification with custom layout

10 years agoWeatherInformation: notification with alarm
gu.martinm@gmail.com [Mon, 22 Sep 2014 19:52:52 +0000 (21:52 +0200)]
WeatherInformation: notification with alarm

10 years agoWeatherInformation: overview
gu.martinm@gmail.com [Mon, 22 Sep 2014 01:39:15 +0000 (03:39 +0200)]
WeatherInformation: overview

1. setListShownNoAnimation did not work as expected (something usual in Android)
2. When error, show message and remove progress bar.

10 years agoWeatherInformation: onPause and onResume intstead of onStop and onStart
gu.martinm@gmail.com [Mon, 22 Sep 2014 00:49:17 +0000 (02:49 +0200)]
WeatherInformation: onPause and onResume intstead of onStop and onStart

Just trying to make sure I do not update the UI when it is not allowed.
(Trying to avoid nasty exceptions that could kill my app)

10 years agoWeatherInformation: message when no chosen location
gu.martinm@gmail.com [Mon, 22 Sep 2014 00:39:14 +0000 (02:39 +0200)]
WeatherInformation: message when no chosen location

10 years agoWeatherInformation: OverviewFragment show progress and error.
gu.martinm@gmail.com [Sun, 21 Sep 2014 20:55:19 +0000 (22:55 +0200)]
WeatherInformation: OverviewFragment show progress and error.

10 years agoWeatherInformation: catching Throwable in MapProgressFragment
gu.martinm@gmail.com [Sun, 21 Sep 2014 20:51:33 +0000 (22:51 +0200)]
WeatherInformation: catching Throwable in MapProgressFragment

10 years agoWeatherInformation: GooglePlayServices DOES NOT WORK AS EXPECTED.
gu.martinm@gmail.com [Sat, 20 Sep 2014 20:23:36 +0000 (22:23 +0200)]
WeatherInformation: GooglePlayServices DOES NOT WORK AS EXPECTED.

Android sucks?

10 years agoWeatherInformation:
gu.martinm@gmail.com [Sat, 20 Sep 2014 20:21:21 +0000 (22:21 +0200)]
WeatherInformation:

Dunno whay styles.xml seems just to work with just one level of inheritance.

10 years agoWeatherInformation: map with progress bar
gu.martinm@gmail.com [Wed, 17 Sep 2014 17:59:56 +0000 (19:59 +0200)]
WeatherInformation: map with progress bar

10 years agoWeatherInformation: getApplicationContext() works even with screen rotations
gu.martinm@gmail.com [Mon, 15 Sep 2014 18:06:24 +0000 (20:06 +0200)]
WeatherInformation: getApplicationContext() works even with screen rotations

10 years agoWeatherInformation: usind broadcastrecevier
gu.martinm@gmail.com [Mon, 15 Sep 2014 17:52:14 +0000 (19:52 +0200)]
WeatherInformation: usind broadcastrecevier

Because there are many problems when screen rotates I am going to use
local broadcast receiver. Android sucks a lot!!!!

10 years agoWeatherInformation:
gu.martinm@gmail.com [Wed, 10 Sep 2014 17:50:50 +0000 (19:50 +0200)]
WeatherInformation:

Trying synchronous call:
LocationServices.FusedLocationApi.requestLocationUpdates

10 years agoWeatherInformation: MapActivity
gu.martinm@gmail.com [Wed, 10 Sep 2014 17:04:56 +0000 (19:04 +0200)]
WeatherInformation: MapActivity

progressbar status boolean (avoid rotate issues)

10 years agoWeatherInformation: overview with progress indicator.
gu.martinm@gmail.com [Tue, 9 Sep 2014 10:13:17 +0000 (12:13 +0200)]
WeatherInformation: overview with progress indicator.

10 years agoWeatherInformation Android: specific layout improvements
gu.martinm@gmail.com [Tue, 9 Sep 2014 09:20:58 +0000 (11:20 +0200)]
WeatherInformation Android: specific layout improvements

10 years agoWeatherInformation Android:
gu.martinm@gmail.com [Tue, 9 Sep 2014 09:20:16 +0000 (11:20 +0200)]
WeatherInformation Android:

Google Maps requires WRITE_EXTERNAL_STORAGE permission

10 years agoWeatherInformation Android: MapActivity improvements
gu.martinm@gmail.com [Tue, 9 Sep 2014 07:56:19 +0000 (09:56 +0200)]
WeatherInformation Android: MapActivity improvements

10 years agoWeatherInformation Android: remove external storage permission
gu.martinm@gmail.com [Mon, 8 Sep 2014 17:19:20 +0000 (19:19 +0200)]
WeatherInformation Android: remove external storage permission

10 years agoWeatherInformation Android: current and specific
gu.martinm@gmail.com [Mon, 8 Sep 2014 13:25:24 +0000 (15:25 +0200)]
WeatherInformation Android: current and specific

Layouts, final improvements.

10 years agoWeatherInformation Android: remove old jackson-core library version
gu.martinm@gmail.com [Mon, 8 Sep 2014 12:12:29 +0000 (14:12 +0200)]
WeatherInformation Android: remove old jackson-core library version

10 years agoWeatherInformation Android: current and specific layout improvements
gu.martinm@gmail.com [Sun, 7 Sep 2014 19:54:25 +0000 (21:54 +0200)]
WeatherInformation Android: current and specific layout improvements

10 years agoWeatherInformation Android: no time for comments
gu.martinm@gmail.com [Sun, 7 Sep 2014 17:35:33 +0000 (19:35 +0200)]
WeatherInformation Android: no time for comments

10 years agoWeatherInformation Android
gu.martinm@gmail.com [Sat, 6 Sep 2014 20:52:12 +0000 (22:52 +0200)]
WeatherInformation Android

Removing GeocodingData object
MapActivity is done
Read/Insert/Update database done

No tested code.

10 years agoWeatherInformation Android: MapActivity
gu.martinm@gmail.com [Fri, 5 Sep 2014 17:55:48 +0000 (19:55 +0200)]
WeatherInformation Android: MapActivity

When connected to Google Play Services enable getLocationButton
When disconnected from Google Play Services disable getLocationButton

10 years agoWeatherInformation Android: MapActivity using GoogleApiClient.Builder
gu.martinm@gmail.com [Fri, 5 Sep 2014 17:17:03 +0000 (19:17 +0200)]
WeatherInformation Android: MapActivity using GoogleApiClient.Builder

10 years agoWeatherInformation Android: TODOs/doubts
gu.martinm@gmail.com [Thu, 4 Sep 2014 19:04:30 +0000 (21:04 +0200)]
WeatherInformation Android: TODOs/doubts

10 years agoWeatherInformation Android: map looking good, WIP
gu.martinm@gmail.com [Thu, 4 Sep 2014 18:42:40 +0000 (20:42 +0200)]
WeatherInformation Android: map looking good, WIP

10 years agoWeatherInformatio Android: map WIP
gu.martinm@gmail.com [Wed, 3 Sep 2014 18:25:29 +0000 (20:25 +0200)]
WeatherInformatio Android: map WIP

10 years agoWeatherInformation Android
gu.martinm@gmail.com [Tue, 2 Sep 2014 17:08:19 +0000 (19:08 +0200)]
WeatherInformation Android

currentfragment without fragmentlist
removing useless layout files

10 years agoWeatherInformation Android
gu.martinm@gmail.com [Tue, 2 Sep 2014 16:04:44 +0000 (18:04 +0200)]
WeatherInformation Android

specific fragment: without fragmentlist
android manifest: supported screens

10 years agoAndroid WeatherInformation:
gu.martinm@gmail.com [Sun, 31 Aug 2014 23:28:19 +0000 (01:28 +0200)]
Android WeatherInformation:

check null value (current and forecast) before trying to update UI.

10 years agoWeatherInformation Android:
gu.martinm@gmail.com [Sat, 30 Aug 2014 20:07:03 +0000 (22:07 +0200)]
WeatherInformation Android:

Overview and specif fragments, new implementation.

10 years agoWeatherInformation Android. Modifications in tabs behaviour.
gu.martinm@gmail.com [Fri, 29 Aug 2014 15:44:00 +0000 (17:44 +0200)]
WeatherInformation Android. Modifications in tabs behaviour.

10 years agoMerge branch 'master' of https://github.com/gumartinm/JavaForFun
gu.martinm@gmail.com [Mon, 26 May 2014 12:16:21 +0000 (14:16 +0200)]
Merge branch 'master' of https://github.com/gumartinm/JavaForFun

10 years agoWeatherInformation: improvements in custom HTTP client.
gu.martinm@gmail.com [Mon, 26 May 2014 11:27:02 +0000 (13:27 +0200)]
WeatherInformation: improvements in custom HTTP client.

10 years agoWeatherInformation: just update remote values when geocoding data changed.
gu.martinm@gmail.com [Tue, 6 May 2014 06:42:01 +0000 (08:42 +0200)]
WeatherInformation: just update remote values when geocoding data changed.

10 years agoWeatherInformation: remove .jar files from libs directory
gu.martinm@gmail.com [Tue, 6 May 2014 05:20:31 +0000 (07:20 +0200)]
WeatherInformation: remove .jar files from libs directory
New .gitignore file.

10 years agoNo time for comments
gu.martinm@gmail.com [Mon, 5 May 2014 19:51:47 +0000 (21:51 +0200)]
No time for comments

10 years agoWeatherInformation: wake up service with alarm
gu.martinm@gmail.com [Mon, 5 May 2014 04:12:25 +0000 (06:12 +0200)]
WeatherInformation: wake up service with alarm

10 years agoAndroid weather information: background weather update.
gu.martinm@gmail.com [Sat, 3 May 2014 18:48:11 +0000 (20:48 +0200)]
Android weather information: background weather update.

10 years agoWeatherInformation: latest changes for tabs
gu.martinm@gmail.com [Tue, 22 Apr 2014 01:58:43 +0000 (03:58 +0200)]
WeatherInformation: latest changes for tabs

10 years agoWeatherInformation: new design with tabs
gu.martinm@gmail.com [Mon, 21 Apr 2014 21:01:31 +0000 (23:01 +0200)]
WeatherInformation: new design with tabs

10 years agoWeather information: fixing locale to Locale.US
gu.martinm@gmail.com [Mon, 21 Apr 2014 19:35:12 +0000 (21:35 +0200)]
Weather information: fixing locale to Locale.US

10 years agoRemove api key and create new one...
gu.martinm@gmail.com [Sun, 20 Apr 2014 16:09:41 +0000 (18:09 +0200)]
Remove api key and create new one...

10 years agoWeather app android: current data information.
gu.martinm@gmail.com [Sun, 20 Apr 2014 16:08:14 +0000 (18:08 +0200)]
Weather app android: current data information.

10 years agoNo time for comments
gu.martinm@gmail.com [Sun, 20 Apr 2014 03:57:08 +0000 (05:57 +0200)]
No time for comments

10 years agoTrying to implement weather information app. This is hard...
gu.martinm@gmail.com [Sat, 19 Apr 2014 15:16:31 +0000 (17:16 +0200)]
Trying to implement weather information app. This is hard...

10 years agoWeather Information: remove provider
gu.martinm@gmail.com [Wed, 16 Apr 2014 17:26:52 +0000 (19:26 +0200)]
Weather Information: remove provider

10 years agoImprovements in lists.
gu.martinm@gmail.com [Tue, 15 Apr 2014 21:08:47 +0000 (23:08 +0200)]
Improvements in lists.

10 years agoCurrent and forecast weather information.
gu.martinm@gmail.com [Tue, 15 Apr 2014 10:58:56 +0000 (12:58 +0200)]
Current and forecast weather information.

10 years agoI do not like openweathermap
gu.martinm@gmail.com [Mon, 14 Apr 2014 03:05:49 +0000 (05:05 +0200)]
I do not like openweathermap

10 years agoWeatherInformation service improvements
gu.martinm@gmail.com [Fri, 11 Apr 2014 16:09:32 +0000 (18:09 +0200)]
WeatherInformation service improvements

10 years agoWeatherServicePersistenceFile
gu.martinm@gmail.com [Fri, 11 Apr 2014 07:30:09 +0000 (09:30 +0200)]
WeatherServicePersistenceFile

10 years agoNo time for comments
gu.martinm@gmail.com [Thu, 10 Apr 2014 16:17:09 +0000 (18:17 +0200)]
No time for comments

10 years agoNew overview list. WIP: implementation for tabs and phones.
gu.martinm@gmail.com [Thu, 10 Apr 2014 07:41:30 +0000 (09:41 +0200)]
New overview list. WIP: implementation for tabs and phones.

10 years agoRelativeLayout sucks!!!
gu.martinm@gmail.com [Wed, 9 Apr 2014 21:03:25 +0000 (23:03 +0200)]
RelativeLayout sucks!!!

10 years agoWeather Information: nice zoom in map and remove old Google Play key.
gu.martinm@gmail.com [Wed, 9 Apr 2014 07:48:56 +0000 (09:48 +0200)]
Weather Information: nice zoom in map and remove old Google Play key.

10 years agoWeather Information: remove mylocation from map
gu.martinm@gmail.com [Wed, 9 Apr 2014 07:33:54 +0000 (09:33 +0200)]
Weather Information: remove mylocation from map

10 years agoImprovements in GUI for google map in weather information app.
gu.martinm@gmail.com [Wed, 9 Apr 2014 07:21:51 +0000 (09:21 +0200)]
Improvements in GUI for google map in weather information app.

10 years agoNo time for comments
gu.martinm@gmail.com [Tue, 8 Apr 2014 20:07:13 +0000 (22:07 +0200)]
No time for comments

10 years agoNo time
gu.martinm@gmail.com [Tue, 8 Apr 2014 07:40:02 +0000 (09:40 +0200)]
No time

10 years agoNo time for comments
gu.martinm@gmail.com [Tue, 8 Apr 2014 07:36:50 +0000 (09:36 +0200)]
No time for comments