Skip to first unread message

David Palmer

unread,
Oct 18, 2018, 3:12:17 AM10/18/18
to MIT App Inventor Forum
Hi I wonder if someone would point me in the direction for a digital clock tutorial I would like to make one for my own andriod phone With todays modern screens it is suggested the time needs to move around to stop screen burning Am I asking too much ? I know I can easily go into playstore and find a clock but I would like to be able to make a personal one for myself  Can anybody help Thanks 

TimAI2

unread,
Oct 18, 2018, 3:47:48 AM10/18/18
to MIT App Inventor Forum
These blocks should get you going: (shows formatted date and time, clock timer set to always fires, enabled and 1000ms)

blocksclock.png


To move the time around the screen, you could do this is several ways, but suggest place the time label between other labels and programmatically change the sizes of the surrounding labels. Alternatively, put the generated text into a canvas (draw text), and randomly set it's position with another timer.



David Palmer

unread,
Oct 18, 2018, 8:05:51 AM10/18/18
to mitappinv...@googlegroups.com
Hi Tim
Many thanks for your time and trouble much appreciated Thanks The PNG file I cannot open 
Reply all
Reply to author
Forward
0 new messages