Re: GAE + RESTLET method to initialize app

2012-12-05 Thread Thierry Templier
Hello, There are several possibilities for your initialization code depending on what you want to do. You can use the constructor of your Restlet application implementation, but if you want to be tied to the Restlet application lifecycle, you should consider to override its start method (and e

Conversion of primitive java Datatype double to OData Edm.Double

2012-12-05 Thread Martin Grohmann
I am developing an Android Application which retreives the Location and sends this to a OData Server via Restlet. In Android the Location sets Longitude and Latitude as double. double lat = location.getLatitude(); My Restlet / OData Service: public class LatLoc { private double l