JavaForFun
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 agoTest-Driven Development By Example
gu.martinm@gmail.com [Thu, 21 Aug 2014 15:14:38 +0000 (17:14 +0200)]
Test-Driven Development By Example

10 years agoJdbcRowSet example
gu.martinm@gmail.com [Wed, 2 Jul 2014 14:06:27 +0000 (16:06 +0200)]
JdbcRowSet example

10 years agoModifications in JDBC examples
gu.martinm@gmail.com [Wed, 2 Jul 2014 12:59:46 +0000 (14:59 +0200)]
Modifications in JDBC examples

10 years agoTry-With-Resources (with some thoughts)
gu.martinm@gmail.com [Wed, 2 Jul 2014 10:36:02 +0000 (12:36 +0200)]
Try-With-Resources (with some thoughts)

10 years agoTry-Finally and Try-With-Resources (with some thoughts)
gu.martinm@gmail.com [Wed, 2 Jul 2014 10:30:47 +0000 (12:30 +0200)]
Try-Finally and Try-With-Resources (with some thoughts)

10 years agoTry-with-resources example and thoughts
gu.martinm@gmail.com [Wed, 2 Jul 2014 10:21:16 +0000 (12:21 +0200)]
Try-with-resources example and thoughts

10 years agoWorking on JDBC examples
gu.martinm@gmail.com [Tue, 1 Jul 2014 19:06:42 +0000 (21:06 +0200)]
Working on JDBC examples

10 years agoMerge branch 'master' of https://github.com/gumartinm/JavaForFun
Gustavo Martin Morcuende [Sun, 29 Jun 2014 02:10:39 +0000 (04:10 +0200)]
Merge branch 'master' of https://github.com/gumartinm/JavaForFun

10 years agoTrying out JDBC: raw, raw lambda, raw with pool and Spring.
Gustavo Martin Morcuende [Sun, 29 Jun 2014 02:08:38 +0000 (04:08 +0200)]
Trying out JDBC: raw, raw lambda, raw with pool and Spring.

10 years agoMerge branch 'master' of https://github.com/gumartinm/JavaForFun
gu.martinm@gmail.com [Mon, 16 Jun 2014 00:59:10 +0000 (02:59 +0200)]
Merge branch 'master' of https://github.com/gumartinm/JavaForFun

10 years agoComparing strings using UCA (depending on Locale)
gu.martinm@gmail.com [Mon, 16 Jun 2014 00:57:48 +0000 (02:57 +0200)]
Comparing strings using UCA (depending on Locale)

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 agoBigDecimal: never use float/double if decimals are important for you
gu.martinm@gmail.com [Sun, 27 Apr 2014 18:57:51 +0000 (20:57 +0200)]
BigDecimal: never use float/double if decimals are important for you

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 agoJackson: databinding and streaming for fun
gu.martinm@gmail.com [Sun, 13 Apr 2014 20:15:27 +0000 (22:15 +0200)]
Jackson: databinding and streaming for fun

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 agoWorking with Jackson. Useful in WeatherInformatip Android app.
gu.martinm@gmail.com [Fri, 11 Apr 2014 16:08:13 +0000 (18:08 +0200)]
Working with Jackson. Useful in WeatherInformatip Android app.

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

10 years agoNo time for comments.
gu.martinm@gmail.com [Tue, 8 Apr 2014 00:17:25 +0000 (02:17 +0200)]
No time for comments.

10 years agoWeather Information with Google Maps
gu.martinm@gmail.com [Mon, 7 Apr 2014 04:21:31 +0000 (06:21 +0200)]
Weather Information with Google Maps

10 years agoNo time for comments
gu.martinm@gmail.com [Fri, 4 Apr 2014 03:09:19 +0000 (05:09 +0200)]
No time for comments

10 years agoNo time for coments
gu.martinm@gmail.com [Fri, 4 Apr 2014 02:54:46 +0000 (04:54 +0200)]
No time for coments

10 years agoStore weather data in file.
gu.martinm@gmail.com [Fri, 4 Apr 2014 01:22:05 +0000 (03:22 +0200)]
Store weather data in file.

10 years agoNo time for comments
gu.martinm@gmail.com [Wed, 2 Apr 2014 19:41:43 +0000 (21:41 +0200)]
No time for comments

10 years agoNo time for comments
gu.martinm@gmail.com [Wed, 2 Apr 2014 03:33:00 +0000 (05:33 +0200)]
No time for comments

10 years agoAndroid app weather info. Preferences, WIP.
gu.martinm@gmail.com [Tue, 1 Apr 2014 02:41:05 +0000 (04:41 +0200)]
Android app weather info. Preferences, WIP.

10 years agoWeatherInformation: working on preferences activity.
gu.martinm@gmail.com [Mon, 31 Mar 2014 16:16:01 +0000 (18:16 +0200)]
WeatherInformation: working on preferences activity.

10 years agoNo time for comments
gu.martinm@gmail.com [Mon, 31 Mar 2014 00:02:18 +0000 (02:02 +0200)]
No time for comments

10 years agoNo time for comments
gu.martinm@gmail.com [Sun, 30 Mar 2014 17:33:50 +0000 (19:33 +0200)]
No time for comments

10 years agoUsing my Galaxy Nexus Android version
gu.martinm@gmail.com [Sun, 30 Mar 2014 17:29:45 +0000 (19:29 +0200)]
Using my Galaxy Nexus Android version

10 years agoMerge branch 'master' of https://github.com/gumartinm/JavaForFun
gu.martinm@gmail.com [Sun, 30 Mar 2014 04:14:10 +0000 (06:14 +0200)]
Merge branch 'master' of https://github.com/gumartinm/JavaForFun

10 years agoAndroid WeatherInformation application.
gu.martinm@gmail.com [Sun, 30 Mar 2014 04:13:08 +0000 (06:13 +0200)]
Android WeatherInformation application.

10 years agoNo time for comments
gu.martinm@gmail.com [Wed, 26 Mar 2014 19:13:01 +0000 (20:13 +0100)]
No time for comments

10 years agoString collation, Java example
gu.martinm@gmail.com [Wed, 26 Mar 2014 13:08:43 +0000 (14:08 +0100)]
String collation, Java example

10 years agoJava 7: inotify example
gu.martinm@gmail.com [Sun, 16 Mar 2014 16:11:53 +0000 (17:11 +0100)]
Java 7: inotify example

10 years agoRemoteAgents, new service with input parameters.
gu.martinm@gmail.com [Wed, 5 Mar 2014 03:20:26 +0000 (04:20 +0100)]
RemoteAgents, new service with input parameters.

10 years agoUpdate README file RemoteAgents project.
gu.martinm@gmail.com [Sun, 16 Feb 2014 22:54:52 +0000 (23:54 +0100)]
Update README file RemoteAgents project.

10 years agoMyBatis Spring: mybatis:scan filter by interface
gu.martinm@gmail.com [Sun, 9 Feb 2014 13:07:18 +0000 (14:07 +0100)]
MyBatis Spring: mybatis:scan filter by interface

10 years agoRemoteAgents: SWT GUI
gu.martinm@gmail.com [Wed, 5 Feb 2014 00:47:19 +0000 (01:47 +0100)]
RemoteAgents: SWT GUI

10 years agoRemote Agents implementation: update dependecies
gu.martinm@gmail.com [Mon, 27 Jan 2014 22:22:54 +0000 (23:22 +0100)]
Remote Agents implementation: update dependecies

10 years agoRemote comunications between GUI and batch app.
gu.martinm@gmail.com [Mon, 27 Jan 2014 01:27:15 +0000 (02:27 +0100)]
Remote comunications between GUI and batch app.

11 years agoComparable VS Comparator: example
gu.martinm@gmail.com [Mon, 9 Sep 2013 19:20:58 +0000 (21:20 +0200)]
Comparable VS Comparator: example

11 years agoThreads: Executor with launderThrowable and finally
Gustavo Martin Morcuende [Fri, 30 Aug 2013 21:34:28 +0000 (23:34 +0200)]
Threads: Executor with launderThrowable and finally

Executor: using cancel method in a finally block should not hurt.

11 years agoThreads: sleep instead of wait.
Gustavo Martin Morcuende [Fri, 30 Aug 2013 21:18:55 +0000 (23:18 +0200)]
Threads: sleep instead of wait.

You must use wait when there are wait/notify methods between different threads.
This was not that case, I just want to sleep for a few seconds.

11 years agoMyBatis: maven-compiler-plugin 3.1 version
Gustavo Martin Morcuende [Fri, 30 Aug 2013 14:38:42 +0000 (16:38 +0200)]
MyBatis: maven-compiler-plugin 3.1 version

11 years agoMyBatis: trying to make sure how session works.
Gustavo Martin Morcuende [Thu, 29 Aug 2013 20:18:02 +0000 (22:18 +0200)]
MyBatis: trying to make sure how session works.

Some nice comments about:
1. Default values for opened sessions.
2. Caches.
3. Scope and lifecycle of SqlSessionFactoryBuilder, SqlSessionFactory and SqlSession.

11 years agoMyBatis-Spring: insert with @Transactional
Gustavo Martin Morcuende [Thu, 29 Aug 2013 10:34:23 +0000 (12:34 +0200)]
MyBatis-Spring: insert with @Transactional

11 years agoMyBatis-Spring: messing around with MyBatis/Spring
Gustavo Martin Morcuende [Wed, 28 Aug 2013 22:59:22 +0000 (00:59 +0200)]
MyBatis-Spring: messing around with MyBatis/Spring

11 years agoMyBatis: remove useless dependency log4j.
Gustavo Martin Morcuende [Wed, 28 Aug 2013 22:58:30 +0000 (00:58 +0200)]
MyBatis: remove useless dependency log4j.

11 years agoSpringLTW: remove useless configuration.
Gustavo Martin Morcuende [Wed, 28 Aug 2013 20:44:04 +0000 (22:44 +0200)]
SpringLTW: remove useless configuration.

11 years agoMyBatis: remove useless dependency
Gustavo Martin Morcuende [Wed, 28 Aug 2013 20:28:28 +0000 (22:28 +0200)]
MyBatis: remove useless dependency

11 years agoMyBatis: new project MyBatis-Spring
Gustavo Martin Morcuende [Wed, 28 Aug 2013 16:12:14 +0000 (18:12 +0200)]
MyBatis: new project MyBatis-Spring