I have a WP7 application which consumes a Windows Azure web service. I’ve currently used the portable class library to manage the types shared by the Windows Azure application and the WP7 application. The Azure service is a REST API – WP7 deserializes an instance of one of my classes and sends it to the API, the API serializes it back to the class type and saves it to Azure Table Storage.
To start building this in Android, how do I provide these classes to the Android code? The REST API needs to be able to recognize them and serialize them back to the .NET classes. I know I can convert them to Java, and manage them separately from the C# classes, but is that the best, cleanest way? I don’t want to make this a huge project in itself. We’re talking about 7 or so classes that probably won’t change much.
Thanks!
The best option seemed to be to have the Android developer re-write the C# classes to Java classes.