A
A
arhangel902014-11-20 18:08:34
MySQL
arhangel90, 2014-11-20 18:08:34

How to connect to MySQL on a remote server in Android Studio?

Can anyone tell me how to connect an Android application to MySQL on a remote server. I saw a video where the guy connected via JDBC. I also tried, to no avail. I've searched a bunch of forums and no one can really give me an answer. If anyone knows, please tell me the sequence of actions

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Aksentiev, 2014-11-20
@Sanasol

You probably don’t really need a database ...
You need to use some kind of server / api to access the data, but not direct access at all

A
arhangel90, 2014-11-20
@arhangel90

Can be more ? The bottom line is that there is an online store, well, the director wants a mobile client for him. I didn't find any examples on the internet. Maybe there is something to read on this topic?

A
Artur Boyko, 2014-12-03
@Homa

You need an API - PHP + MySql, which will give JSON (ideally) or Xml to the application. Look at the Slim Framework and understand where to dig

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question