jeudi 15 octobre 2015

SQLite Database - Create new tables and set Table name through a popup

I am creating an app blocking Application and would like to know a few things:

  1. How to load a list of installed apps into a database table.
  2. Create a new table within the database and set the table name through an EditText field or an AlertDialog.
  3. Call in selected apps into another activity
  4. List of apps needs to have a CheckBox next to them to select which apps to carry over to another

Completed Events

  • I have already managed to populate a ListView with all the installed apps.
  • I've set up an AlertDialog with everything I need so far, just need to know how to link that to create a new table and set the entered text as the table name.
  • All layouts have been created and set up to accommodate everything, the problem just lies with the database and calling everything in

I hope I've provided enough details or if this makes any sense at all. Thank you in advance and I hope someone will be able to help me with this problem. If needed I can post segments of my already existing code to make things easier?

Aucun commentaire:

Enregistrer un commentaire