is it possible to connect different devices via a main server, and each time, when you press a specific button on one of these devices, a number, +1 bigger than the one, picked by another device before, is shown?
thanks for fast support
--
this is not trivial, because several people could press the button at the same time, so all solutions, which first read the maximum value and then add 1 will not work reliably
--
you could use a fusiontable, but you have to use INSERT statements only, for example after each button click a row will be inserted into the table
to get the number of rows (i.e. the number of button clicks), just send a SELECT statement to the table like this
SELECT count(*) FROM <tableid>
do the Pizza Party tutorial to learn how to work with fusiontables
nice thanks
i´ll try
--
댓글 없음:
댓글 쓰기