简体   繁体   中英

Making Android an Database Query Ruby on Rails

如何使我的Android应用程序将SQL查询发送到保存有关项目的数据库的Rails服务器上的ruby

You don't. SQL is for DB servers.

If you have a RoR server, it is probably expecting HTTP requests, so you need first to figure out which URL is related to the information you are looking for, get that URL content, and then parse it to get what you want.

If you have access to the server configuration, you probably want to make the DB server accessible in order to connect with it directly with JDBC, but you will have to seriously think about strongly securing it in the process.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM