Experimenting With Android – Intermission

Just a quick post that the next part is going to be delayed. The baseball OData feed is down and I have no idea when it will be back (I don’t have any control over it.) So I’ll have to regroup and figure out what to do in case it doesn’t come back.

I’m new to the java world (mostly worked with C# in VS) and it’s great to have a Hello World project to relate to. I’m using NetFlix oData feed but I’m stuck on how to use the created serverproxy in the Android Client Project. Could you please post something about this on the blog.

I haven’t used Restlet in a while. There were performance issues so I ended up not using Restlet but instead using the native Android JSON classes and asking the OData service for JSON instead of AtomPub. There was a little more work to consume it but not too bad.

Thank you for the information on OData and Android. I’ve created a WCF data service and have it working with Windows Phone 7, waiting for AT&T to upgrade my phone software to Mango so I can proceed. In the meantime, I’ve been experimenting with consuming the data service in Android.

I found an example on ASP.Net blog that describes an IDataServiceProxy “IDataServiceProxy proxy = new DataServiceAtomPubProxyImpl(DataServiceClient.URL)”.
In your code example mentioned above, I see that you’ve actually implemented it.

Would you help me find the resources to get from the proxy classes which I have to the final Android client? I don’t understand how to create an IDataServiceProxy and DataServiceAtomPubProxyImpl that I can use in Android.