JavaForFun
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

11 years agoMyBatis: Criteria example.
Gustavo Martin Morcuende [Wed, 28 Aug 2013 11:35:44 +0000 (13:35 +0200)]
MyBatis: Criteria example.

11 years agoMyBatis: RowBoundsPlugin for paging applications
Gustavo Martin Morcuende [Wed, 28 Aug 2013 11:31:56 +0000 (13:31 +0200)]
MyBatis: RowBoundsPlugin for paging applications

11 years agoMyBatis: rename Example classes to Criteria.
Gustavo Martin Morcuende [Wed, 28 Aug 2013 11:06:21 +0000 (13:06 +0200)]
MyBatis: rename Example classes to Criteria.

11 years agoMyBatis: generate mybatis comments
Gustavo Martin Morcuende [Tue, 27 Aug 2013 22:27:45 +0000 (00:27 +0200)]
MyBatis: generate mybatis comments

11 years agoMyBatis:code improvements/java.net.preferIPv4Stack
Gustavo Martin Morcuende [Tue, 27 Aug 2013 22:01:48 +0000 (00:01 +0200)]
MyBatis:code improvements/java.net.preferIPv4Stack

11 years agoMyBatis: cleaning code, improving logger.
Gustavo Martin Morcuende [Tue, 27 Aug 2013 19:40:55 +0000 (21:40 +0200)]
MyBatis: cleaning code, improving logger.

11 years agoMyBatis: log4j.xml, improving maps-config.xml
Gustavo Martin Morcuende [Tue, 27 Aug 2013 15:16:08 +0000 (17:16 +0200)]
MyBatis: log4j.xml, improving maps-config.xml

11 years agoMyBatis: missing mybatis-sql-maps-config.xml
Gustavo Martin Morcuende [Mon, 26 Aug 2013 22:57:44 +0000 (00:57 +0200)]
MyBatis: missing mybatis-sql-maps-config.xml

MyBatis maps config file and renamed package

11 years agoMessing around with MyBatis.
Gustavo Martin Morcuende [Mon, 26 Aug 2013 19:18:58 +0000 (21:18 +0200)]
Messing around with MyBatis.

11 years agoRemove old data.
Gustavo Martin Morcuende [Thu, 27 Jun 2013 00:16:52 +0000 (02:16 +0200)]
Remove old data.

11 years agoRemove old data.
Gustavo Martin Morcuende [Thu, 27 Jun 2013 00:09:38 +0000 (02:09 +0200)]
Remove old data.

11 years agoA few improvements in tests about Java Executors
Gustavo Martin Morcuende [Wed, 26 Jun 2013 23:51:21 +0000 (01:51 +0200)]
A few improvements in tests about Java Executors

11 years agoError while launching web brower and no "http://"
gumartinm [Wed, 13 Feb 2013 02:23:42 +0000 (03:23 +0100)]
Error while launching web brower and no "http://"

11 years agoRetrieving cookie from Service.
gumartinm [Sun, 16 Dec 2012 00:43:44 +0000 (01:43 +0100)]
Retrieving cookie from Service.

Using Android inter process communication.

11 years agoNo time for comments. Loads of changes.
gumartinm [Sat, 15 Dec 2012 03:45:05 +0000 (04:45 +0100)]
No time for comments. Loads of changes.

Mainly indentation changes... That sucks, but I have not time to sort indentation changes from the real ones...

11 years agoRestore interrupt status before throwing exception
gumartinm [Fri, 7 Dec 2012 18:40:20 +0000 (19:40 +0100)]
Restore interrupt status before throwing exception

Always write the restore interrupt status just after catching th Interrupted exception.
In this way you make sure the interrupt status is not lost because something in your code
throws an exception before the line where you actually restore the interrupt status.

12 years agoIndentation and changes that I do not remember
gumartinm [Sat, 17 Nov 2012 19:21:26 +0000 (20:21 +0100)]
Indentation and changes that I do not remember

12 years agoThe right indentation in TryCatchFinally example
gumartinm [Sat, 17 Nov 2012 19:18:39 +0000 (20:18 +0100)]
The right indentation in TryCatchFinally example

12 years agoKeyBoardDriver JavaPOS changes.
Gustavo Martin Morcuende [Sun, 5 Aug 2012 21:52:03 +0000 (23:52 +0200)]
KeyBoardDriver JavaPOS changes.

ThreadFireEvent
KeyBoardDeviceLinux

12 years agoMy first code golf: Maze, work in progress
Gustavo Martin Morcuende [Sun, 5 Aug 2012 18:01:43 +0000 (20:01 +0200)]
My first code golf: Maze, work in progress

12 years agoRemove testing code in MobiAdsLoginActivity
gumartinm [Wed, 18 Jul 2012 06:03:38 +0000 (08:03 +0200)]
Remove testing code in MobiAdsLoginActivity

12 years agoRemoving useless class.
gumartinm [Wed, 11 Jul 2012 23:39:24 +0000 (01:39 +0200)]
Removing useless class.

12 years agoMobiAds: show first the no already read ads.
gumartinm [Sun, 24 Jun 2012 01:13:48 +0000 (03:13 +0200)]
MobiAds: show first the no already read ads.

12 years agoMobiAds: update view lists when downloading ad.
gumartinm [Sat, 23 Jun 2012 23:21:25 +0000 (01:21 +0200)]
MobiAds: update view lists when downloading ad.

Registering broadcastreceivers in my activities.

12 years agoNew AdsEntryLatestAdapter no time to do it better.
gumartinm [Sat, 23 Jun 2012 22:27:31 +0000 (00:27 +0200)]
New AdsEntryLatestAdapter no time to do it better.

I should create a new class for AdsEntryAdapter in stead of two different class
for the latest ads activity and the list actvity. No time right now...

12 years agoMobiAds: fix background color and item click
gumartinm [Sat, 23 Jun 2012 22:26:01 +0000 (00:26 +0200)]
MobiAds: fix background color and item click

Background color when item selected blue by default.
URI item click was not correct.

12 years agoAndroidMobiads BroadCastReceiver working smoothly
gumartinm [Sat, 23 Jun 2012 22:03:31 +0000 (00:03 +0200)]
AndroidMobiads BroadCastReceiver working smoothly

Application looking nicer than ever!!!

12 years agoAndroid MobiAdsReloaded BroadCastReceiver
gumartinm [Fri, 22 Jun 2012 06:58:19 +0000 (08:58 +0200)]
Android MobiAdsReloaded BroadCastReceiver

12 years agoTrying to custom my action bar after logged in.
gumartinm [Thu, 21 Jun 2012 08:22:43 +0000 (10:22 +0200)]
Trying to custom my action bar after logged in.

WIP

12 years agoNew MobiAds Android implementation.
gumartinm [Wed, 20 Jun 2012 06:36:51 +0000 (08:36 +0200)]
New MobiAds Android implementation.

Because the tabs are really complicated and they (IMHO)
do not suit my user's experience.

12 years agoFIX: some wrong logs in MobiAdsBatch
gumartinm [Mon, 18 Jun 2012 02:10:17 +0000 (04:10 +0200)]
FIX: some wrong logs in MobiAdsBatch

12 years agoFIX: MobiAds CHOICE_MODE_MULTIPLE_MODAL onResume
gumartinm [Mon, 18 Jun 2012 01:10:09 +0000 (03:10 +0200)]
FIX: MobiAds CHOICE_MODE_MULTIPLE_MODAL onResume

12 years agoMobiAds:i using a Contextual Action Bar.
gumartinm [Sun, 17 Jun 2012 22:28:38 +0000 (00:28 +0200)]
MobiAds:i using a Contextual Action Bar.

12 years agoFIX: Reload list if there are changes, remove ads.
gumartinm [Sun, 17 Jun 2012 03:23:14 +0000 (05:23 +0200)]
FIX: Reload list if there are changes, remove ads.

12 years agoMy first Android FragmentList.
gumartinm [Sun, 17 Jun 2012 02:28:51 +0000 (04:28 +0200)]
My first Android FragmentList.

It looks like a nice implementation.

12 years agoNew MobiAds Android implementation: with tabs.
gumartinm [Fri, 15 Jun 2012 00:47:01 +0000 (02:47 +0200)]
New MobiAds Android implementation: with tabs.

12 years agoNo time for comments...
gumartinm [Mon, 11 Jun 2012 05:22:06 +0000 (07:22 +0200)]
No time for comments...

12 years agoLatest changes in Android mobiads application.
gumartinm [Sun, 10 Jun 2012 22:27:06 +0000 (00:27 +0200)]
Latest changes in Android mobiads application.

No time for comments.  :(

12 years agoLatest changes in Android MobiAds application.
gumartinm [Fri, 8 Jun 2012 07:05:58 +0000 (09:05 +0200)]
Latest changes in Android MobiAds application.

12 years agoReal GPS coordinates in MobiAds application.
gumartinm [Tue, 29 May 2012 07:03:06 +0000 (09:03 +0200)]
Real GPS coordinates in MobiAds application.

I was using faked coordinates.

12 years agoJavaPOS: claim method thread-safety.
gumartinm [Sun, 27 May 2012 22:32:48 +0000 (00:32 +0200)]
JavaPOS: claim method thread-safety.

Capabilities: useful in the same and different Java process.
It can not work with more than one instance of the same JavaPOS driver.

12 years agoLatest changes in Android MobiAds
gumartinm [Wed, 23 May 2012 07:08:17 +0000 (09:08 +0200)]
Latest changes in Android MobiAds

No time for comments

12 years agoNotification changes when an ad is received.
gumartinm [Sun, 6 May 2012 19:57:22 +0000 (21:57 +0200)]
Notification changes when an ad is received.

12 years agoImproving my JavaPOS keyboard driver.
gumartinm [Sun, 6 May 2012 04:17:13 +0000 (06:17 +0200)]
Improving my JavaPOS keyboard driver.

Using in the claim method explicit Locks instead of synchronized.
In this way we can throw an exception in case of we lock for a time up to timeout.

12 years agoList with web links.
gumartinm [Fri, 4 May 2012 06:51:39 +0000 (08:51 +0200)]
List with web links.

Click on the item and you go to the specified web advertising.

12 years agoLatest changes in Android MobiAds.
gumartinm [Thu, 3 May 2012 00:50:29 +0000 (02:50 +0200)]
Latest changes in Android MobiAds.

List with the received ads.

12 years agoExamples: try/catch/finally blocks and exceptions.
gumartinm [Wed, 2 May 2012 16:13:49 +0000 (18:13 +0200)]
Examples: try/catch/finally blocks and exceptions.

12 years agoImproving my Android Simple Tetris.
gumartinm [Tue, 1 May 2012 23:31:49 +0000 (01:31 +0200)]
Improving my Android Simple Tetris.

Now, with score and level.

12 years agoWorking on my JavaPOS keyboard driver.
gumartinm [Mon, 30 Apr 2012 07:24:26 +0000 (09:24 +0200)]
Working on my JavaPOS keyboard driver.

No time for comments...

12 years agoWorking on my simple Android tetris.
gumartinm [Thu, 26 Apr 2012 07:45:10 +0000 (09:45 +0200)]
Working on my simple Android tetris.

Using GestureListener and nested views.

12 years agoWorking on my AndroidTetris.
gumartinm [Tue, 24 Apr 2012 07:10:27 +0000 (09:10 +0200)]
Working on my AndroidTetris.

Messing around with the views.

12 years agoAndroid MobiAds: using the cookie in a nasty way.
gumartinm [Tue, 24 Apr 2012 07:08:08 +0000 (09:08 +0200)]
Android MobiAds: using the cookie in a nasty way.

I have to improve it. Should I use a singleton in order to share the cookie between activities
in the same java process?

12 years agoJavaPOS: fire event thread.
gumartinm [Tue, 24 Apr 2012 07:00:44 +0000 (09:00 +0200)]
JavaPOS: fire event thread.

I missed this class in the last commit related to JavaPOS...

12 years agoAndroid lists: nice example.
gumartinm [Tue, 24 Apr 2012 06:59:45 +0000 (08:59 +0200)]
Android lists: nice example.

From: http://www.learn-android.com/2011/11/22/lots-of-lists-custom-adapter/

12 years agoJavaPOS: Working on the fire even thread.
gumartinm [Tue, 24 Apr 2012 06:58:44 +0000 (08:58 +0200)]
JavaPOS: Working on the fire even thread.

12 years agoMock locations just in the emulator.
gumartinm [Wed, 18 Apr 2012 07:14:22 +0000 (09:14 +0200)]
Mock locations just in the emulator.

Do not know how to do it in the phiscal device.

12 years agoKeep improving my JavaPOS keyboard driver.
gumartinm [Mon, 16 Apr 2012 23:20:30 +0000 (01:20 +0200)]
Keep improving my JavaPOS keyboard driver.

No time for comments, sorry.

12 years agoWorking on my JavaPOS driver.
gumartinm [Mon, 16 Apr 2012 07:57:51 +0000 (09:57 +0200)]
Working on my JavaPOS driver.

No time for comments...

12 years agoTrying to write a nice claim implementation.
gumartinm [Fri, 13 Apr 2012 07:22:31 +0000 (09:22 +0200)]
Trying to write a nice claim implementation.

I do not like the way I have written the claim and release methods.
Trying to figure out how to do it in a right way.