How to get the value from the database in android?
Hi am creating database in the android and adding values in the
database.while retrieving data ,am successfully retrieved.And i get data
in the for loop it contains 16 values.how can i separate this value.
dataBaseHelper db = new dataBaseHelper(this);
List<String> studentInfo = db.getContact(eid);
for(Iterator<String> i = studentInfo.iterator();
i.hasNext(); ) {
String item = i.next();
Toast.makeText(getApplicationContext(),item,
Toast.LENGTH_LONG).show();
in this code i have 14 values in item i want to separate each value.how to
do this?
No comments:
Post a Comment