/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javapart;
import fr.androlibjson.DBQueryHelper;
import java.util.ArrayList;
import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;
/**
*
* @author virus
*/
public class JavaPart {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
DBQueryHelper db = new DBQueryHelper("http","localhost/androlibjson/index.php");
String SQL = "SELECT * FROM test";
ArrayList ar = db.rawRequest("", SQL);
for (int i=0;i<ar.size();i++){
System.out.println(ar.get(i).toString());
}
}
}