Malcolm What I'm working on syncs contact and task info from a CRM system onto Android. It uses a web service and JSON.
The Web service is C# and uses a very lightweight Web server called Kayak (https://github.com/kayak/kayak). It's just far, far less work than the hoops you have to go through to do the same with IIS. For instance you can do this: namespace JSONServer { public partial class JSONService : KayakService { [Verb("GET")] [Path("/newcompanies/")] public List<Company> NewCompanies(String deviceID, String lastSyncDate, string lastID) { // -- Go off to your CRM database, get your data into a List<Company> } } } When the Kayak server is running you can just do this in a web browser: http://localhost:8081/newcompanies/?deviceID=12345&lastSyncDate=31/12/2010&lastID=9283 The Kayak server will then call the C# method above and is clever enough to return JSON when the return type is List<> So much easier than IIS. On the Android side I am using Appcelerator Titanium. This basically lets you code in a Javascript framework which generates a native code application for Android, or iPhone, or iPad or Blackberry. It does all the packaging and deployment onto either a device emulator or a real device. The Droid application can currently retrieve data from the web service, and stick it into a SQlite database on the device. This is full-text indexed for easy searching. There's a basic UI on that side for testing at the minute, I'm currently mocking up a proper one. -- Alan Bourke alanpbourke (at) fastmail (dot) fm _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

