Skip to first unread message

Jacob Cooper

unread,
Apr 30, 2016, 3:42:19 AM4/30/16
to MIT App Inventor Forum
Hi All,

I am trying to find a way to make a button work only during specific times of the day and on certain day. For example I only want to allow users to proceed after 5pm daily or/and before 10am daily but only on thursday or friday. If this isn't the case I would like to show a notifier and ensure they can't proceed? Any help would be greatly appreciated.

Taifun

unread,
Apr 30, 2016, 10:14:17 AM4/30/16
to MIT App Inventor Forum
see the documentation of the clock component and its methods here http://ai2.appinventor.mit.edu/reference/components/sensors.html#Clock
then try something and if you get stuck, post a screenshot of your relevant blocks

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  
How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
 Top 5 Tips: How to learn  App Inventor

You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by  Taifun.         



Taifun

unread,
Apr 30, 2016, 1:13:15 PM4/30/16
to MIT App Inventor Forum


Reply all
Reply to author
Forward
0 new messages