April 10, 2012

Progress

Generalization of database schema is done for my system. Now an authenticated user can create through REST calls his own schema based on his preferences and interact with it.

Also a basic implementation of c2dm protocol is available. As a reminder c2dm is a protocol that will push notifications to client when something change on the server side.

For some of you who are interested on how to implement this on the server and the client, you can check this tutorial, is very useful and easy. It provides a simple example of getting the auth token from the c2dm servers, registering an android client to c2dm and exchange a message between client/server.

Next, I have to change the desktop web client as well and develop it based on functions that I've created.

Few days ago the first demo on Android platform was released. It is available here. I will appreciate any kind of feedback, I know that there are some bugs to fix, but the main functionalities are met. 

Let's point out again the main functionalities:
  1. The user can create a Gmail account if he doesn't have one already associated with the phone.
  2. Authenticate with it on the server side.
  3. View(GET) the current Tasks on the server(it there are any).
  4. Sync(GET) the client database with server database.
  5. Add(POST) a Task on the local database(Content Provider) and then on the server.
  6. Update(PUT) a desired Task, form the current list of available Tasks.
  7. Delete(DELETE) a Task.
The following pictures should clarify what I was describing:

Authorization of an account
Main Activity - RUD functions.


Create function
     

No comments:

Post a Comment