Save multiple timestamps from button click

Hey there, am new to the whole MIT APP Inventor scene and am trying to save events of button clicks. Each time I click on a button the current time needs to be saved and stored consecutively e.g. Button 1 at time x, Button 2 time y etc.
Do you have any ideas how I could achieve that?
Sorry for the rookie issue…

I would create a procedure that takes a single argument, the name of the component. When a button is clicked call the procedure. In the procedure, get the current timestamp and save the timestamp and the component name with the TinyDB component. If you would like to save different events and not just clicks, you could add a third column to the database with the type of event.

See apps logger and log_to_list in

1 Like