0
I’m creating an Android app for tcc. I have 3 vectors: coorx[i]; coory[i]; busy[i]
. This Busy vector is not fixed, so the values were changing according to what the user requested. Then I would have to save the value of this Busy into a database. What do I do? Better I turn this into an object with attributes coorx, coory, busy
? And if I transform, still do not know how to make the communication between the database and Busy.
Do you know how to save a scalar value in a table? What structure/tables and columns will persist this information?
– Jefferson Quesado
I’m starting programming now on android, I have not much notion of database. In fact, I only need a "Busy" table, the only one that will vary between 1 and 0 ( busy and empty ); I need to keep changing this value according to whether the slot is empty or not. My difficulty is : how to start a table with id from 1 to 12 and with all Busy with value of 0. For example ID 1,2,3,4,5,6.... Busy 0,0,0,0,0,0....
– Antonio Ortiz
Could then update the question with the relevant information?
– Jefferson Quesado