samedi 24 janvier 2015

Sqlite Android: Individual values from Select function?

How could I get individual values from this code?



public Cursor getAllData ()
{
String buildSQL = "SELECT * FROM " + DatabaseHelper.DiferencaPercentual.TABELA; //pega todos os dados da tabela
return database.rawQuery(buildSQL, null);
}


I would like to store each value from this table onto a String, is there any way I could do that with this kind of return? Thank you very much! :)


Aucun commentaire:

Enregistrer un commentaire