Android & ASP.NET MVC

I’ve been working on Anroid projects A LOT this last month. I’ve come to love the android application framework and I’ve found it rather easy to work with. However, I’ve found that the docs do need a lot of work. Examples are just that, simple examples.

My next task was to get Android to integrate with an external application, such as a WCF Service. Then I realized I’d much rather use REST as my model. Using WCF’s REST implementation is a PITA (IMO) so I fired up ASP.NET MVC and Spark and started creating a simple REST site to return JSON. Using Some of the json libraries in Java I was able to deserialize objects into local java objects on the Android side of the application.Thus far, its worked great. I can create an application API through REST and MVC and then create a very rich client on the android. Sweet.

In other news this site may or may not be down for a day or two. I’m moving to the cloud, baby.

  • Cuccigucci619

    Good Idea, how do you manage use sessions using this idea?

  • Stephen Coleman

    I am very interested in this approach. Any chance of a more detailed article with source?

  • http://blog.donnfelker.com Donn Felker

    Stephen,

    I might be releasing some source in the future, but I'm not sure of the

    date.

    Donn

  • http://blog.donnfelker.com Donn Felker

    Everything is completely stateless in this approach.

  • Coach Factory Outlet