Re: [android-developers] Re: Use Mobile Device CPU or Server CPU

2010-03-22 Thread David Ashwood
Use REST for the client/Server communication - it's lightweight and well defined. There's plenty of resources available on the internet with examples. Return JSON data from the server to the client - again it's a well defined method for returning structured data. Start simple - forget threading

[android-developers] Re: Use Mobile Device CPU or Server CPU

2010-03-20 Thread Yahel
Hi raqz, It sounds like the perfect job for a web service. The gps coordinate are sent to the server which computes the complete list of restaurant nearby. Pros : - You can make your app available on any platform(iphone, facebook app) without a need to change the server side code. - You don't

[android-developers] Re: Use Mobile Device CPU or Server CPU

2010-03-20 Thread raqz
hey thanks Yahel... Could you please suggest me a good/efficient way to communicate with the server. I could think of two options 1) Use http post methods to send data to a php script at the server which would later call the google api's written in another java program (jar)\or use php to use