Can you please elaborate this how to create json api. And will it look like
application which is built using android studio. I am novice in apps so
might be asking silly questions. But can you please tell me something more
about this. I have thought 1 way using cordova in which I will transfer data
using ajax that is using json only , are you suggesting this thing only??
You can just add
in the respond_to block and render the json that you want. I am sure
google will easily find loads of stuff on adding a json api to a rails
As for developing android apps this is not the right list, as that is
nothing to do with rails. In your case it just happens that the
server api is being provided by a rails app, that is of little
relevance to the mobile app.
Of course the simplest solution is just to provide pages specifically
designed for mobile devices in your rails app and view them in the
browser on the mobile device.