Saturday, July 9, 2011

C2DM – A 10 minutes recipe

First of all, If you want to deeply understand the issue, visit two places:

  1. The project home page.
  2. A video session from Google I/O 2010.

If you are interested in a quick overview and some code examples, keep reading.

Android Cloud to Device Messaging (C2DM) is a lightweight framework enabling the device to refresh its data from the server using “push” messages.
Instead the device will go to the server periodically, looking for new data, spending precious battery time, the server (which hold the state of the data) simply sends a lightweight message to the device, telling him “dude, I got some new fresh data ready for you, come get it”.

Monday, May 16, 2011

Windows Phone 7: Getting ready

In this post I'll cover the first steps needed to be done, towards developing windows-phone-7 apps and games.
Bottom up:
  1. Framework -
    The basic layer of the Windows Phone 7 is the special .NET framework.
    I'm talking about the new .NET XNA framework.
    The XNA framework is a set of tools with a managed runtime environment provided by Microsoft that facilitates computer game development(especially the XBOX) and management.
    With the latest .NET 4 framework we can now write our own apps libraries and services for Windows Phone 7.

Thursday, March 31, 2011

Android meets EJB server

In this post I’ll try to explain how to communicate between an Android client and an EJB-service-based server.
The application I’m working on is a simple whiteboard, which allows a group of users to draw basic shapes on a canvas.

My mission today is enabling my client to read a simple string from the server. In the next post I’ll explain how to pass serialized objects.

Thursday, March 17, 2011

Android: Sliding panel

I'm a programmer.
I'm a Java programmer.
I'm a programmer experiencing Android for the first time. I became addicted.


When I first went to design UI for an Android application, I realized very quickly a basic thing: The screen is small.
I put aside old habits, and focused on the following three points:

  • Simplicity
  • Movement space
  • Full functionality (as possible)