thing is, if i click a button GETDATA - then a new activity starts new.java and i want it to display the contents of my database.
in this new.java i have strings name and id. and i have lined database and this class, such that name and id have the corresponding details that i want to display.
now the ques is, how to display them ?
if i have a
should this work ?
it isnt working. also, i dont want user to change the contents and want to make this filed un-editable.
should i use
even this isnt happening.
what is the procedure for this ?
it is done by using append. TextView ta; ta=(TextEdit)findViewById(Ri.id.textView1); String a=getData(1); // goto database, id is 1 ta.append(a);