JavaForFun
12 years agoFinal steps in Log in Activity.
gumartinm [Thu, 15 Dec 2011 21:23:45 +0000 (22:23 +0100)]
Final steps in Log in Activity.
Using DialogFragment classes

12 years agoRemoving Log in activity from Stack once started the main activity
gumartinm [Wed, 14 Dec 2011 03:35:17 +0000 (04:35 +0100)]
Removing Log in activity from Stack once started the main activity

12 years agoFirst steps launching the main activity.
gumartinm [Wed, 14 Dec 2011 03:25:23 +0000 (04:25 +0100)]
First steps launching the main activity.
CookieManager working smoothly

12 years agoFinally I will not use AsyncTask for the log in Activity
gumartinm [Wed, 14 Dec 2011 03:11:49 +0000 (04:11 +0100)]
Finally I will not use AsyncTask for the log in Activity
because must not be an asynchronous activity.

12 years agoAsyncTask working: launching a new Task and storing the cookie
gumartinm [Wed, 14 Dec 2011 00:01:48 +0000 (01:01 +0100)]
AsyncTask working: launching a new Task and storing the cookie
Test2: DefaultHttpClient, for the new Android version it is a must to chage
the default policy about threads using sockets (the UI must be as fast as possible)

12 years agoConnection to RESTful Web Service authentication
gumartinm [Mon, 12 Dec 2011 06:59:14 +0000 (07:59 +0100)]
Connection to RESTful Web Service authentication

13 years agoFirst HTTP async client connecting to my RESTful Web Service
gumartinm [Fri, 25 Nov 2011 01:11:18 +0000 (02:11 +0100)]
First HTTP async client connecting to my RESTful Web Service

13 years agoNo time for comments.
gumartinm [Thu, 24 Nov 2011 01:57:22 +0000 (02:57 +0100)]
No time for comments.
Trying to establish a http connection and getting weird exception  :(

13 years agoFirst program with more than 1 activity.
gumartinm [Thu, 24 Nov 2011 00:53:07 +0000 (01:53 +0100)]
First program with more than 1 activity.
First steps with a http connection. Trying to use my WebService

13 years agoFirst steps with Android.
gumartinm [Wed, 23 Nov 2011 02:22:56 +0000 (03:22 +0100)]
First steps with Android.
Playing with activities and tasks.

13 years agoCreating new Android directory and
gumartinm [Tue, 22 Nov 2011 03:49:34 +0000 (04:49 +0100)]
Creating new Android directory and
moving old AndroidTetris directory into this new one.

13 years agoCode refactoring (adding some nice final following the PMD
gumartinm [Sun, 20 Nov 2011 23:28:48 +0000 (00:28 +0100)]
Code refactoring (adding some nice final following the PMD
recomendations)
Using java.concurrent for the thread implementation. I am using right
now Executors.

13 years agoCleaning up the code and calculating the screen center
gumartinm [Sun, 20 Nov 2011 17:31:56 +0000 (18:31 +0100)]
Cleaning up the code and calculating the screen center

13 years agoJust rest to finish the score and levels.
gumartinm [Fri, 18 Nov 2011 02:39:37 +0000 (03:39 +0100)]
Just rest to finish the score and levels.
Besides I want to improve the code and use java.concurrent

13 years agoCleaning useless code and adding some new collisions.
gumartinm [Wed, 16 Nov 2011 02:10:16 +0000 (03:10 +0100)]
Cleaning useless code and adding some new collisions.

13 years agoRetrieving the the key event and moving the blocks without trouble.
gumartinm [Wed, 16 Nov 2011 00:56:09 +0000 (01:56 +0100)]
Retrieving the the key event and moving the blocks without trouble.
TODO: To use java.concurrent instead of the "classic" Thread class.

13 years agoFinally onKeyDown method in DrawView class is working :)
gumartinm [Tue, 15 Nov 2011 02:26:13 +0000 (03:26 +0100)]
Finally onKeyDown method in DrawView class is working  :)
Don't forget again to use the setFocusable methods. Apparently they
are very useful  :]

13 years agoFixing packages.
gumartinm [Thu, 10 Nov 2011 22:52:14 +0000 (23:52 +0100)]
Fixing packages.
This code came from a personal project, and some paths did not
match with the current configuration. Now they match and this
example should run smoothly.

13 years agoWeaving with ASPECTJ libraries.
gumartinm [Thu, 10 Nov 2011 22:45:44 +0000 (23:45 +0100)]
Weaving with ASPECTJ libraries.
With this configuration we are not relying on the SPRING AOP
libraries. So, I guess, this is the SPRING ASPECTJ configuration,
the rest of them are SPRING AOP 2.0/1.2 with Aspects.

13 years agoSPRING AOP is a complete mess.
gumartinm [Thu, 10 Nov 2011 04:33:19 +0000 (05:33 +0100)]
SPRING AOP is a complete mess.

13 years agoAdding code to execute other custom annotations.
gumartinm [Wed, 9 Nov 2011 18:44:00 +0000 (19:44 +0100)]
Adding code to execute other custom annotations.
You can see here this powerful feature called Java Annotations.

13 years agoA very nice example about custom annotation in Spring.
gumartinm [Wed, 9 Nov 2011 17:37:45 +0000 (18:37 +0100)]
A very nice example about custom annotation in Spring.
Bonus: really nice maven pom files configuration.

13 years agoFirst steps with my own Spring annotations handler.
gumartinm [Wed, 9 Nov 2011 15:49:02 +0000 (16:49 +0100)]
First steps with my own Spring annotations handler.

13 years agoFixing wrong comment
gumartinm [Wed, 9 Nov 2011 15:24:21 +0000 (16:24 +0100)]
Fixing wrong comment

13 years agoMessing around with Spring.
gumartinm [Wed, 9 Nov 2011 15:07:18 +0000 (16:07 +0100)]
Messing around with Spring.
Annotations handler and programming with Aspects.
Could be useful or not, but at least it seems interesting.

13 years agoSome changes left :S
gumartinm [Sun, 6 Nov 2011 23:32:21 +0000 (00:32 +0100)]
Some changes left :S
This is a personal project so, I do whatever I want XD.
In the real world I would save this commit for another moment.

13 years agoCleaning up the code. Many, many things are left.
gumartinm [Sun, 6 Nov 2011 23:24:20 +0000 (00:24 +0100)]
Cleaning up the code. Many, many things are left.
Step by step I will get the goal, my first Tetris in Android  :)

13 years agoSome nice comments in Piece and Tile classes
gumartinm [Sun, 6 Nov 2011 23:13:39 +0000 (00:13 +0100)]
Some nice comments in Piece and Tile classes

13 years agoFix bottom boundary
gumartinm [Sun, 6 Nov 2011 21:37:56 +0000 (22:37 +0100)]
Fix bottom boundary

13 years agoFirst steps checking the collisions :/
gumartinm [Sun, 6 Nov 2011 21:26:23 +0000 (22:26 +0100)]
First steps checking the collisions :/

13 years agoCurrent and next piece first steps.
gumartinm [Sun, 6 Nov 2011 20:10:01 +0000 (21:10 +0100)]
Current and next piece first steps.

13 years agoFirst steps drawing pieces and using enum classes.
gumartinm [Sun, 6 Nov 2011 02:58:17 +0000 (03:58 +0100)]
First steps drawing pieces and using enum classes.
It works!!

13 years agoEnum classes for Tiles and Pieces.
gumartinm [Sun, 6 Nov 2011 01:11:10 +0000 (02:11 +0100)]
Enum classes for Tiles and Pieces.
They could be useful.

13 years agoTiles, first steps. Without effects, raw colors.
gumartinm [Sat, 5 Nov 2011 20:21:22 +0000 (21:21 +0100)]
Tiles, first steps. Without effects, raw colors.

13 years agoFirst thread working. TODO: java.util.concurrent
gumartinm [Fri, 4 Nov 2011 01:38:04 +0000 (02:38 +0100)]
First thread working. TODO: java.util.concurrent

13 years agoTrying some nasty things with the thread implementation.
gumartinm [Thu, 3 Nov 2011 01:50:40 +0000 (02:50 +0100)]
Trying some nasty things with the thread implementation.
The Google sample seems wrong... Why don't use java.util.concurrent?

13 years agoTrying game loop with thread implementation
gumartinm [Thu, 3 Nov 2011 00:29:33 +0000 (01:29 +0100)]
Trying game loop with thread implementation

13 years agoFirst steps with Android
gumartinm [Wed, 2 Nov 2011 01:43:13 +0000 (02:43 +0100)]
First steps with Android

13 years agoSome nice methods to read and write text files
gumartinm [Thu, 20 Oct 2011 00:41:55 +0000 (02:41 +0200)]
Some nice methods to read and write text files

Change-Id: I6b4ae34d766c7fbf57f0bdc71fdd1b75b8115a8f

13 years agoNew .gitignore file
gumartinm [Sun, 16 Oct 2011 17:03:40 +0000 (19:03 +0200)]
New .gitignore file

13 years agoJavaPOS KeyBoardDriver
gumartinm [Sun, 16 Oct 2011 16:53:41 +0000 (18:53 +0200)]
JavaPOS KeyBoardDriver

13 years agoMerge branch 'master' of https://gumartinm@github.com/gumartinm/JavaForFun.git
gumartinm [Wed, 12 Oct 2011 18:25:03 +0000 (20:25 +0200)]
Merge branch 'master' of https://gumartinm@github.com/gumartinm/JavaForFun.git

13 years agoEffective Java 2nd Edition:
gumartinm [Wed, 12 Oct 2011 18:22:15 +0000 (20:22 +0200)]
Effective Java 2nd Edition:
Item 27

Change-Id: Idc2ff6e5e807e32961a9da4e7531b8133c7917c0
Signed-off-by: gumartinm <gu.martinm@gmail.com>
13 years agoEffective Java 2nd Edition:
gumartinm [Wed, 12 Oct 2011 17:50:05 +0000 (19:50 +0200)]
Effective Java 2nd Edition:
Item 27

Change-Id: Idc2ff6e5e807e32961a9da4e7531b8133c7917c0
Signed-off-by: gumartinm <gu.martinm@gmail.com>
13 years agofirst commit
Gustavo Martin Morcuende [Wed, 12 Oct 2011 13:10:27 +0000 (15:10 +0200)]
first commit