Android Community
Results 1 to 3 of 3

Thread: how to Add data in database from UI(Textbox)

  1. #1
    Join Date
    Jan 2008
    Posts
    3

    Default how to Add data in database from UI(Textbox)


    Hi all
    can U Please give some code for adding data from textbox(Two) into the database.....?

  2. #2
    Join Date
    Sep 2008
    Posts
    683

    Default Re: how to Add data in database from UI(Textbox)

    you may get more answers if you post what you have already tried.

    Sprint HTC Evo 4G - Rooted
    CyanogenMod 6.0.0 Froyo 2.2 ROM
    CM6-Snap 7.6

    Check out my site Exodus Apps, we will be developing applications for the Notion Ink Adam Tablet soon!

    Follow us on Twitter @Exodusapps
    Follow me on Twitter @Aaron_Blank

  3. #3
    Join Date
    Sep 2008
    Posts
    104

    Default Re: how to Add data in database from UI(Textbox)


    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •