PDA

View Full Version : how to Add data in database from UI(Textbox)



sangram
01-23-2008, 12:25 PM
Hi all
can U Please give some code for adding data from textbox(Two) into the database.....?

mast3rpyr0
09-30-2008, 09:50 PM
you may get more answers if you post what you have already tried.

sullitf
10-07-2008, 03:29 PM
I'd recommend looking at the Note tutorial google has on the android site, it basically does exactly what you are asking. Take a look at the "edit note" part of that program, which brings up a screen with two text boxes and adds the content to a database once you hit the confirm button. It's a pretty useful demo on how to use the SQLlite database in android