在Android的MySQL数据直接插入数据 [英] Direct insert data in mysql data in android

查看:75
本文介绍了在Android的MySQL数据直接插入数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要救插入数据到MySQL数据库,而无需使用任何web服务。是有什么办法来解决我的..或没有可能将数据直接插入到数据库中。
谢谢你在前进。

I want to save insert data into MYSQL DataBase ,without using any webservice .is there any way to solve my.. or There is not possible to insert data directly into DataBase . Thank you in advance.

推荐答案

<一个href=\"http://stackoverflow.com/questions/2142070/why-should-a-developer-use-web-services-instead-of-direct-connections-to-a-db\">DVK答道为什么你不应该这样做

总之,是的,你的可以的数据插入到数据库的情况下直接使用Web服务。然而,你将很少有获得由DVK答案提及。

In short, Yes you can insert data into a database directly without using webservice. However you would have very little to gain as mention by DVK answer.

除此之外,web服务是很容易的。有很多框架,使Web服务真正的轻松,并会做最重解除。我不知道为MySQL,但<一href=\"http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api\"相对=nofollow>。NET框架包含了一些很好的书房。

Beside, the webservice are easy to make. There are a lot framework that making webservice real easy, and will do most of the heavily lifting. I'm not sure for mysql, but .NET Framework contains some excellent library.

这篇关于在Android的MySQL数据直接插入数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆