Android Question Which is better to connect to Google Computer cloud Storage


New Member
Licensed User
Remote Desktop connection or using a PHP Script.

Currently Google provides three forms of connecting to the instance Phython, Java and PHP

I was wonder which is better for me to connect I wanted to use JAVA ? Erel Please help

see a sample of the Java Connection

if (SystemProperty.environment.value() ==
SystemProperty.Environment.Value.Production) {
// Connecting from App Engine.
// Load the class that provides the "jdbc:google:mysql://"
// prefix.
url =
} else {
// Connecting from an external network.
url = "jdbc:mysql://XX.XX.XX.XX:3306?user=root";

Connection conn = DriverManager.getConnection(url);
ResultSet rs = conn.createStatement().executeQuery(
"SELECT 1 + 1");