Android sqlite Cursor value to a textbox -


text = (textview)findviewbyid(r.id.textview123);  cursor sum = dbobject.rawquery("select sum(volume) share _id2 ?",                  new string[] { "%" + val1 + "%" }); 

how sum value textview?

thank in advance,

this.startmanagingcursor(sum); //or (activity) .startmanagingcursor  sum.movetofirst();  text.settext(sum.getstring(0)); 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -