jeudi 28 avril 2016

Saving to and accessing database from different activities

Heres What I need to do: Have a database containing the following fields : name of subject (from editText), type of subject (from a spinner), total no. of hours (from a number type editText) and a no. of hours completed (0 at first). I need the user to input these values from an activity say A1 (not completed hours, that i want to update later). Once the user has input a number of subjects, he presses done and goes to activity A2 where there should be a ListView with only the names of the subjects.

How do I do this?

Aucun commentaire:

Enregistrer un commentaire