Sunday, 25 August 2013

hello, iam realy tired with this doubt.i created a sqlite database and add a "name" in it. and i want to display that name in a textView [on...

hello, iam realy tired with this doubt.i created a sqlite database and add
a "name" in it. and i want to display that name in a textView [on...

public void insertDetails(String name) { // TODO Auto-generated method
stub ContentValues contentValues=new ContentValues();
contentValues.put("NAME", name);//how to fetch this name in a textView in
my Activity? liteDatabase.insert("DETAILS", null, contentValues); }

No comments:

Post a Comment