Home > Mobile >  Android can use JDBC to connect to the MySQL database? Late will rent the server
Android can use JDBC to connect to the MySQL database? Late will rent the server

Time:11-20

Click the login button is a figure at the beginning, after about a minute or so into the error shown in figure 2

CodePudding user response:

Still do not connect to the database directly, after the background

CodePudding user response:

how to connect the background meowed

CodePudding user response:

,,, why Android connect to the database, and may not always be within the local area network (LAN), the background connection, provided to the mobile terminal interface

CodePudding user response:

Can have a look at the android I wrote to communicate with the server, and android access server interface, then the background to the operation of the database

CodePudding user response:

Android or only do front end show, business procedure and data processing or to the backend to do, when necessary, can consider to cache data on the android, used as a temporary data,

CodePudding user response:

reference 5 floor fyjava1984 reply:
android or only do front end, business procedure and data processing or to the backend to do, when necessary, can consider to cache data on the android, used as a temporary data,

The background how do ah? Can guide it to me? Online resources are scattered look not to understand

CodePudding user response:

references a single program, 4/f m response:
can have a look at the android I wrote to communicate with the server, and android access server interface, then the background to the operation of the database

Ok, thank you!

CodePudding user response:

reference 6 building small grain reply:
Quote: refer to the fifth floor fyjava1984 reply:
android or only do front end show, business procedure and data processing or to the backend to do, when necessary, can consider to cache data on the android, used as a temporary data,

The background how do ah? Can guide it to me? Online resources are scattered look not to understand


A common practice is that the background to make a web service, the android client via HTTP: IP: port/XXX to get the data access to the background, the android client chooses the framework of an HTTP tool, or platform written on discriminating different framework,
  • Related