Technology, Science...

"If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas." - George Bernard Shaw

Sample Android Tictactoe game client

A very simple Android network tictactoe game client i wrote during a distributed systems class to serve as example to my students.

Code quality is not the best since it was written live on the class.

Source code in attachment:

Game client for android (Eclipse project) - tictactoea.rar

Game client and server for PC (Netbeans project) - jogogalo.rar

...

WeatherDisplay App Widget for Android

App Widget that displays temperature and humidity from a weather station running Weather Display software.

Update intervals configurable by the user in a separate configuration window (activity), touch the widget to open it.

It uses a service instead of a loop so CPU usage is kept to minimum, each instance has its own service so there can be multiple widgets with different configurations (weather stations).

http://www.weather-display.com/index.php

...

QuadTree and A* in Android

Simple prototype/poc i developed to check if the idea of using a quadtree for terrain mapping was viable in the Android platform, this can be used for fast terrain mapping, collision detection and pathfinding in game development.

http://en.wikipedia.org/wiki/Quadtree

http://en.wikipedia.org/wiki/A*_search_algorithm

...

Java M3o pwdgen (10mins implementation)

M30 pwd algorithm implemented in Java, give it the ssid and it will give you the default pwd.

Source optimized = FALSE;

Source understandable = TRUE;

...

Next Generation Portugol's IDE

Portugol is a portuguese programming language for classroms, i was involved in the development of Portugol's new IDE which used Su

...