AndroidWeatherInformation
10 years agoUpdate layout file names: weather_main_tabs.xml and weather_notification.xml
Gustavo Martin Morcuende [Tue, 18 Nov 2014 04:02:34 +0000 (05:02 +0100)]
Update layout file names: weather_main_tabs.xml and weather_notification.xml

10 years agoRemoving useless code
Gustavo Martin Morcuende [Tue, 18 Nov 2014 03:57:01 +0000 (04:57 +0100)]
Removing useless code

10 years agoImprovements in Current layout
Gustavo Martin Morcuende [Tue, 18 Nov 2014 03:46:17 +0000 (04:46 +0100)]
Improvements in Current layout

10 years agoRemove unused drawables
Gustavo Martin Morcuende [Tue, 18 Nov 2014 03:35:36 +0000 (04:35 +0100)]
Remove unused drawables

10 years agoTrying to avoid strings when using Intent
Gustavo Martin Morcuende [Tue, 18 Nov 2014 03:29:39 +0000 (04:29 +0100)]
Trying to avoid strings when using Intent

10 years agoUpdate LICENSE files (the appendix is not required)
Gustavo Martin Morcuende [Tue, 18 Nov 2014 03:20:48 +0000 (04:20 +0100)]
Update LICENSE files (the appendix is not required)

10 years agoUsing Intent constructor with package and class name is the best (IMHO) in my case
Gustavo Martin Morcuende [Tue, 18 Nov 2014 03:18:13 +0000 (04:18 +0100)]
Using Intent constructor with package and class name is the best (IMHO) in my case

10 years agoNew Intent without action and avoiding classes declaration as strings
Gustavo Martin Morcuende [Tue, 18 Nov 2014 03:10:21 +0000 (04:10 +0100)]
New Intent without action and avoiding classes declaration as strings

10 years agoRemove permanent widget current data when error
Gustavo Martin Morcuende [Sun, 16 Nov 2014 23:19:50 +0000 (00:19 +0100)]
Remove permanent widget current data when error

10 years agoUpdate README.md file
Gustavo Martin Morcuende [Sun, 16 Nov 2014 17:42:41 +0000 (18:42 +0100)]
Update README.md file

10 years agoUpdate source code url to new location
Gustavo Martin Morcuende [Sun, 16 Nov 2014 17:21:21 +0000 (18:21 +0100)]
Update source code url to new location

10 years agoMerge branch 'master' of https://github.com/gumartinm/AndroidWeatherInformation
Gustavo Martin Morcuende [Sun, 16 Nov 2014 17:09:32 +0000 (18:09 +0100)]
Merge branch 'master' of https://github.com/gumartinm/AndroidWeatherInformation

10 years agoUpdate gitignore file
Gustavo Martin Morcuende [Sun, 16 Nov 2014 16:56:58 +0000 (17:56 +0100)]
Update gitignore file

10 years agoWeatherInformation: remove unused strings
Gustavo Martin Morcuende [Sun, 16 Nov 2014 16:11:29 +0000 (17:11 +0100)]
WeatherInformation: remove unused strings

10 years agoWeatherInformation: tabs text as string resource
Gustavo Martin Morcuende [Sun, 16 Nov 2014 16:01:15 +0000 (17:01 +0100)]
WeatherInformation: tabs text as string resource

10 years agoInitial commit
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:56:07 +0000 (16:56 +0100)]
Initial commit

10 years agoWeatherInformation: remove TODO from MapActivity
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:49:40 +0000 (16:49 +0100)]
WeatherInformation: remove TODO from MapActivity

10 years agoWeatherInformation: update serial version UID
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:40:03 +0000 (16:40 +0100)]
WeatherInformation: update serial version UID

10 years agoWeatherInformation: http client agent string as resource
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:29:32 +0000 (16:29 +0100)]
WeatherInformation: http client agent string as resource

10 years agoWeatherInformation: there are no tests (at the moment)
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:21:30 +0000 (16:21 +0100)]
WeatherInformation: there are no tests (at the moment)

10 years agoWeatherInformation: updating class names
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:14:40 +0000 (16:14 +0100)]
WeatherInformation: updating class names

10 years agoWeatherInformation: remove unused xml file
Gustavo Martin Morcuende [Sun, 16 Nov 2014 15:04:57 +0000 (16:04 +0100)]
WeatherInformation: remove unused xml file

10 years agoWeatherInformation: WidgetIntentService remove unused method
Gustavo Martin Morcuende [Sun, 16 Nov 2014 14:56:44 +0000 (15:56 +0100)]
WeatherInformation: WidgetIntentService remove unused method

10 years agoWeatherInformation: removing old useless main.xml file
Gustavo Martin Morcuende [Sun, 16 Nov 2014 02:41:27 +0000 (03:41 +0100)]
WeatherInformation: removing old useless main.xml file

10 years agoWeatherInformation: license and third party licenses
Gustavo Martin Morcuende [Sun, 16 Nov 2014 02:41:02 +0000 (03:41 +0100)]
WeatherInformation: license and third party licenses

10 years agoWeatherInformation: service and jpos current and forecast parsers
Gustavo Martin Morcuende [Sun, 16 Nov 2014 00:08:31 +0000 (01:08 +0100)]
WeatherInformation: service and jpos current and forecast parsers

10 years agoWeatherInformation: using package name.gumartinm.weather.information
Gustavo Martin Morcuende [Sat, 15 Nov 2014 14:52:00 +0000 (15:52 +0100)]
WeatherInformation: using package name.gumartinm.weather.information

10 years agoWeatherInformation: remove API key information from manifest
Gustavo Martin Morcuende [Sat, 15 Nov 2014 01:35:53 +0000 (02:35 +0100)]
WeatherInformation: remove API key information from manifest

10 years agoWeatherInformation: new package definition, com.weather.information
Gustavo Martin Morcuende [Sat, 15 Nov 2014 01:34:37 +0000 (02:34 +0100)]
WeatherInformation: new package definition, com.weather.information

10 years agoWeatherInformation: removing TODOs
Gustavo Martin Morcuende [Thu, 13 Nov 2014 01:50:50 +0000 (02:50 +0100)]
WeatherInformation: removing TODOs

10 years agoWeatherInformation: sun rise/set is shown using the phone's Timezone
Gustavo Martin Morcuende [Thu, 13 Nov 2014 00:59:39 +0000 (01:59 +0100)]
WeatherInformation: sun rise/set is shown using the phone's Timezone

10 years agoWeatherInformation: removing TODOs
gu.martinm@gmail.com [Wed, 12 Nov 2014 20:43:49 +0000 (21:43 +0100)]
WeatherInformation: removing TODOs

10 years agoWeatherInformation: JPOSWeatherParser, missing equals and Snow
gu.martinm@gmail.com [Wed, 12 Nov 2014 20:17:22 +0000 (21:17 +0100)]
WeatherInformation: JPOSWeatherParser, missing equals and Snow

10 years agoWeatherInformation: current view, fixed error
gu.martinm@gmail.com [Wed, 12 Nov 2014 19:56:22 +0000 (20:56 +0100)]
WeatherInformation: current view, fixed error

10 years agoWeatherInformation: sun rise/set time UTC
gu.martinm@gmail.com [Wed, 12 Nov 2014 19:30:06 +0000 (20:30 +0100)]
WeatherInformation: sun rise/set time UTC

10 years agoWeatherInformation: current view, fixed error
gu.martinm@gmail.com [Wed, 12 Nov 2014 19:11:57 +0000 (20:11 +0100)]
WeatherInformation: current view, fixed error

10 years agoWeatherInformation: licenses activity
Gustavo Martin Morcuende [Mon, 10 Nov 2014 23:18:02 +0000 (00:18 +0100)]
WeatherInformation: licenses activity

10 years agoWeatherInformation: app activity, improvements
Gustavo Martin Morcuende [Tue, 4 Nov 2014 03:02:57 +0000 (04:02 +0100)]
WeatherInformation: app activity, improvements

10 years agoWeatherInformation: About activity
Gustavo Martin Morcuende [Mon, 3 Nov 2014 03:15:29 +0000 (04:15 +0100)]
WeatherInformation: About activity

10 years agoWeatherInformation: improvements in widget configuration layout
Gustavo Martin Morcuende [Mon, 3 Nov 2014 01:33:46 +0000 (02:33 +0100)]
WeatherInformation: improvements in widget configuration layout

10 years agoWeatherInformation: strange weather condition code 01dd
Gustavo Martin Morcuende [Sat, 1 Nov 2014 02:27:49 +0000 (03:27 +0100)]
WeatherInformation: strange weather condition code 01dd

see: http://openweathermap.org/img/w/01dd.png
There is no documentation about it but sometimes I am receiving it.

10 years agoWeatherInformation: widget, remove storaged data on delete widget
Gustavo Martin Morcuende [Sat, 1 Nov 2014 02:10:52 +0000 (03:10 +0100)]
WeatherInformation: widget, remove storaged data on delete widget

10 years agoWeatherInformation: widget, refresh stores to permanent storage
Gustavo Martin Morcuende [Sat, 1 Nov 2014 01:30:53 +0000 (02:30 +0100)]
WeatherInformation: widget, refresh stores to permanent storage

10 years agoWeatherInformation: specific layout improvements
Gustavo Martin Morcuende [Fri, 31 Oct 2014 02:31:05 +0000 (03:31 +0100)]
WeatherInformation: specific layout improvements

10 years agoWeatherInformation: specific fragment layout, improvement.
Gustavo Martin Morcuende [Thu, 30 Oct 2014 04:24:30 +0000 (05:24 +0100)]
WeatherInformation: specific fragment layout, improvement.

10 years agoWeatherInformation: widget update and refresh, right behaviour
Gustavo Martin Morcuende [Thu, 30 Oct 2014 02:58:02 +0000 (03:58 +0100)]
WeatherInformation: widget update and refresh, right behaviour

10 years agoWeatherInformation: widget configuration no using PreferenceFragment
Gustavo Martin Morcuende [Sun, 26 Oct 2014 23:21:26 +0000 (00:21 +0100)]
WeatherInformation: widget configuration no using PreferenceFragment

10 years agoWeatherInformation: widget configuration new layout WIP
Gustavo Martin Morcuende [Fri, 24 Oct 2014 03:10:49 +0000 (05:10 +0200)]
WeatherInformation: widget configuration new layout WIP

10 years agoWeatherInformation: widget background no more spurious line
Gustavo Martin Morcuende [Wed, 22 Oct 2014 01:35:13 +0000 (03:35 +0200)]
WeatherInformation: widget background no more spurious line

It was the Draw 9-patch. See: http://developer.android.com/tools/help/draw9patch.html

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)