Android的:如何将数据发送到MySQL数据库,而不使用JDBC,PHP或任何其他web服务?而不、发送到、如何将、数据库

2023-09-07 17:23:59 作者:小手冰凉摸你脸

我开发一个Android应用程序将数据发送到MySQL数据库。我使用的Apache服务器。我知道,送使用JDBC,PHP数据到MySQL数据库。现在面临的挑战是在不使用JDBC和其他网络服务

  1。它可以是能够发送数据。2.如果有,请帮我实现这一目标。3.如果没有,什么是克服这个溶液中。 

解决方案     也可以是可以发送数据。  

简短的回答:否后,这是不可能的。你如何想象?你需要某种机制(Web服务的servlet等)如何收到和发送数据到远程数据库/服务器。由于它是远程的,而不这一机制这是不可能实现自己的目标。

所以解决方案是使用上述机制。你不必另一种选择。

I am developing an Android application to send data to MySQL DB. I am using Apache server. I know to send data to MySQL DB using JDBC, PHP. Now the challenge is without using JDBC and other web services

1. can it be possible to send data. 
2. If yes, Please help me to achieve this.
3. If no, what is the solution to overcome this. 
护卫神JSP大师 护卫神JSP大师下载 3.0.0 免费版 河东下载站

解决方案

can it be possible to send data.

Short answer: No, it's not possible. How would you imagine that? You need some mechanism(web service, servlets, etc.) how to recieve and send data to remote database / server. Since it's remote without "this mechanism" it's impossible to achieve your goal.

So solution is to use mentioned "mechanism". You don't have another option.