auwall12688
auwall12688

Reputation: 409

Using Android to connect to mysql database

I'm going to attempt to write to an app that needs to access a remote database running on a server. I know you can use jdbc when writing java applications, but can this be done in android too? Or is there a better way. Any direction would be appreciated.

Upvotes: 0

Views: 639

Answers (1)

Brandon
Brandon

Reputation: 411

I'd recommend implementing services on the server that would behave differently based on input parameters (e.g. userId) rather than try to connect directly through devices. Also, for performance reasons, I'd recommend the response format of json over xml.

Upvotes: 3

Related Questions