i have a rails application running awesome with few controllers on a vmware on linux platform.Now i have a table User with columns as firstname ,lastname and mobilenumber.now i have also developed an android app that have fields same as in users table which will be filled by the user.How can i connect to the rails server(localhost) and INSERT/SELECT/UPDATE the database when the user submits the data from android app.i have few questions,even after googling alot and goinging through many suggestions:-
- how to configure the server as well as the android app
- for my android app can i use this connecting rails server with android app and also this good post fro configuring rails server and android app
- how can i check it on emulator(localhost)
- Setup the Ruby on Rails server and Android client then with the scaffolding in Rails create a simple resource and access it via the REST interface using the HTTPClient API from Android....is it the only Best way???