Archivo mensual: agosto 2010

Automatic density resize

I’ve started doing some tests with the 2D API of Android, and to start with something simple, I have an animated sprite walking on platforms at different heights.To avoid unnecessary complications, I just added the images in the folder drawable-mdpi … Seguir leyendo

Publicado en android, English | Etiquetado , | Deja un comentario

Starting to play with graphics

These days I’m beginning to test the Android 2D graphics API. My goal is to learn a bit about game development on this platform, so I have set the sub-goal of publishing a simple game in the android market. I … Seguir leyendo

Publicado en android, English | Etiquetado , | 9 comentarios

OTempo 1.6 in the market

I have just updated OTempo to solve the cpu (and thus battery) consumption problem when a meteogalicia station is down.This version also solves a regression problem with the detection of the current day, now you will see the current day … Seguir leyendo

Publicado en android, English | Etiquetado , | Deja un comentario

Pedrafita is down

The Pedrafita station at Meteogalicia is not providing RSS today, thus OTempo fails with this station.I am working in a new version to workaround this, as it may affect the battery life (OTempo insists on parsing the empty data).Anyway, it … Seguir leyendo

Publicado en android, English | Etiquetado , , | Deja un comentario

OTempo 1.5 in the market

This morning I have uploaded a new version to the Android Market. The new version is named 1.5, and brings the most anticipated functionality: the desktop widget!To implement this widget properly, I also implemented a service, that will download new … Seguir leyendo

Publicado en android, English | Etiquetado , | Deja un comentario

The state machine

After adding a lot of features and conditionals to the OTempo service, and after almost going mad to keep a legible and safe code, I decided to use the state pattern.The fact is that OTempo needs to handle a lot … Seguir leyendo

Publicado en android, English | Etiquetado , , , | Deja un comentario

Service-Activity communication

Having many options leads to frustration. This is the summary that I can make about the refactoring process that I’m stuck into. Following a redesign phase in which I’ve rethought everything, but ultimately does not imply deep changes, I find … Seguir leyendo

Publicado en android, English | Etiquetado , , , , | 2 comentarios