Tutorial by Topics: connection

Using HttpUrlConnection on Android requires that you add the Internet permission to your app (in the AndroidManifest.xml). There are also other Java HTTP clients and libraries, such as Square's OkHttp, which are easier to use, and may offer better performance or more features.
abstract void disconnect() abstract boolean usingProxy() static boolean getFollowRedirects() static void setFollowRedirects(boolean set) String getHeaderField(int n) String getHeaderFieldKey(int n) String getRequestMethod() String getResponseMessage() int getResponseCode() long getHeader...
DB_URL = "jdbc:DBMS://DB_HOST:DB_PORT/DB_NAME" DBMS: Data Base Driver Manager, this can be any DBMS (mysql, oracle, postgresql, sqlite, ...), exemple of mysql: "com.mysql.jdbc.Driver" DB_HOST: your database base host, the IP adress of your database exemple : 10.6.0...
ParameterUsagehostnameThis parameter tells the host to which the connection needs to be establishedusernameusername required to access the hostporthost portpasswordpassword for the account
ParameterDetailsstopCalledThis value tells you how a user disconnected, if its set to true then the user explicitly closed the connection, otherwise they timed out. It's worth noting that at while in these functions you still have access to the Context, therefore you can get the connectionId and ...
Am new to Mule and wanted to share how to connect to Database and retrieve Values.

Page 1 of 1