java - Connection between Android and MySql DataBase -


i in order create application on android connects data base(mysql) .is there way connect directly? know connect java data base , on android had no success.

the proper method of doing create apis (rest) (in php instance) handle communication database. you'll call these apis app. doing instead of handling db connection natively, avoid having republish app minor logic changes can update php code.

using library handle async callbacks can super helpful this.

this 1 use:

loopj's async http callback library

this handle , post requests lot of cool features such custom timeouts, json format, onsuccess() , onfailure() methods, etc. there's lot of working examples of library too.

hopefully helps.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -