mardi 14 juillet 2015

how my android app can know and manipulate tables that have been created upon past user interaction of the app

I want to know how to create sqlite tables upon the values the user will enter in my android app. I will create a table that will hold all the tables that will be created upon the user use of the app, I will create it in the my onCreate() implementation of the SQLiteOpenHelper. I will make EditText view in my layout then get the value the user will enter and save it in the table primary table that already have been created then I will create a table with name of that value. Then the I will insert the data in the created table upon the user interaction. After that when the user exit the app and then run it again, how my app can know about these tables that have been created upon the user interaction in the past use of the app, although these tables names saved on the primary table of the app, how can the app retrieve data from it and update insert delete from it.

Aucun commentaire:

Enregistrer un commentaire