Examples of SQLiteHander


Examples of com.scarrone.sqlite.SQLiteHander

    });
  }
  private void AddPlot(String Title, String Desc){
    final String title = Title;
    final String desc = Desc;
    SQLiteHander SQL = new SQLiteHander();
    SQL.executeInsert("INSERT INTO plotElements VALUES(null,'"+title+"','"+desc+"')");
  }
View Full Code Here

Examples of com.scarrone.sqlite.SQLiteHander

   
  }
  private void LoadPlots(){
    Data.purgePlots();
    //SQLite db = null;
    SQLiteHander SQL = new SQLiteHander();
    SQL.executeQuery("SELECT Title, Desc FROM plotElements");
    ResultArrayStruct result = SQL.getResultStruct();
    System.out.println(result.getColCount());
    for(ArrayList<String> row : result.getRows()){
      Data.PlotElements.add(new PlotObject(row.get(0), row.get(1)));
    }
    this.populatePlotList();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.