Mary McCurdy

Mary McCurdy

  • NA
  • 1
  • 980

Android SQLite Database adding and displaying edittext input

Nov 11 2014 1:39 PM
I am using SQLite Database and a custom dialog fragment class using alertdialog and two edittexts asking for user input (name and phone number). The database info is in a datahandler class. I am using a textView to show the contacts (name and phone number).  My problem is how do I take the user input from the edittexts in the fragment class and add it to my database. Then I need to show the new database in the TextView. I do not know how to do this. I have read and read all over the internet and I just don't get it. I am new to Android programming and need some help as soon as possible. I appreciate any help I can get. Thank you so much in advance.