← All articles
mobile

Android & ASP.NET MVC

Paired Android with ASP.NET MVC and Spark to build a REST/JSON backend instead of wrestling with WCF's REST implementation -- worked great.

Donn Felker

Donn Felker

2009.08.19 · 1 min read

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.

Donn Felker

Written by Donn Felker

I've spent 25+ years shipping software, writing books, and running my own companies. I write about thinking clearly, working for yourself, and doing real work while AI rewrites the rules. New essays land here every week.

Get the newsletter

Keep reading