conciseclock icon indicating copy to clipboard operation
conciseclock copied to clipboard

How can I save to database?

Open ghost opened this issue 8 years ago • 2 comments

I want to save data to the database. For instance, When I finish dragging and I close and reopen the project in emulator, everything is resetting because of I haven't saved it.

How can we always get to the colored images we choose on the clock? (I mean, imgur.com/a/K12Xo) It should always work even if we close and reopen the project in emulator. Which code line can help me for this? In short, how should I follow the steps to add data to a database like SQLite? I can save numbers but I don't know how I can add colored things.

(Actually, I don't know much about SQLite but I know that if I want to save a float or other similar things, I can search it and find the solution easily. However, I don't understand colored things how can I add. I wanted to ask you first because I use your library. If you show me a way, I can complete the rest. I hope it was understood correctly. Thanks.)

ghost avatar Sep 28 '17 21:09 ghost

It is not just related to SQLite. It can be anything which works. I don't know When we complete dragging, how can we save it. It must stay there.

ghost avatar Oct 01 '17 15:10 ghost

https://stackoverflow.com/questions/46516734/how-can-i-save-colours-to-any-database

ghost avatar Oct 03 '17 23:10 ghost