Sunday, January 10, 2016

Deities ah, Android how directly connected SQL Server?




            


Brother Fucai, has been doing VC, now we need to turn about doing Andrews;
Please god help me;
SDK is 4.2, jtds 1.30 has not connected,
Get a lot of time, we seek coaching moment, appreciate it ah ah ah! ! ! ! ! !
Reply:
Top that! !
Reply:
android database sqlite general use, simple small database.
android above database is generally not so great.
If you really need SQL Server, Sql server only to run on the server, write android-server interaction.

Reply:
LS say, and is written on their own servers now; the next version of Android want to visit the country, running on the server is SQL2008
Reply:
You can consider using an HTTP connection, send http request on android, server program, upon request, from the sql server queries the data and return.
Reply:
quote 4th floor lyj7015 reply:
may consider using an HTTP connection, send http request on android, server program, upon request, from the sql server query the data and return .


You mean the data and then parse xml webservice return it
Reply:
When using the data request to go, no run service.
You want only the data from the database query request back on it.
Handling large amounts of data can be placed on the server.
Reply:
quote, 6th Floor lyj7015 reply:
When using the data request to go, do not need to run the service.
You want only the data from the database query request back on it.
Handling large amounts of data can be placed on the server.


Thank you for answering!
I now data operations are encapsulated in a stored procedure inside, all the operations are the name, parameters, and transfer the stored procedure execution result; but this one site in contact less, ah, I do not know how to engage; good hope can directly connect to SQL SERVER ah
Reply:
It seems that the problem still exists a direct connection, it seems at present not solve ah
Reply:
Right, only made general web applications, services segment as a transit, the operation of the database client bring different parameters by accessing the address.
Reply:
quote 8th floor stephen1315 reply:
It seems that the direct connection of the problem still exists, seems at present not solve ah
< br />
Not insurmountable, it is no android sql server version.
Reply:
quote 9th floor A328240784 reply:
right, only made general web applications, services segment for transit, the client bring different parameters by accessing the address the operation of the database.


We have seen successful examples of other people have done, but it may have with JTDS SDK version differences, not all versions can be; it may also cause instability it; depressed ah
Reply:
webservice, Android is no way to directly connect
Reply:
Direct connection SqlServer first load sqljdbc drive, only the PC version of the driver package, Andrews has not, so far Android SqlServer connection is not achieved.
Reply:
You solve the problem yet I have encountered such a problem
Reply:
jtds election 1.2.7 of ,,,

No comments:

Post a Comment