Appinventor Make a timer count down

  Переглядів 186,204

Amanda Hogan

Amanda Hogan

6 років тому

Use MIT Appinventor to display a number in a label and change the number on a clock tick creating a timer.

КОМЕНТАРІ: 144
@bavenraj1562
@bavenraj1562 2 роки тому
u explained way more better than my lecturer . Keep posting
@dmalanog3379
@dmalanog3379 5 років тому
Thank you so much for making this video!
@b3rn4rddd
@b3rn4rddd 4 роки тому
thank you! this is very useful and clear instructions and explanation
@dailydogdays2681
@dailydogdays2681 4 роки тому
Your videos are the best. You explain everything that is happening, and you explain everything so well. I understand very well. Thank you very much.
@abelferretti
@abelferretti 2 роки тому
thank you! this is very easy and clear instructions
@aliin8763
@aliin8763 2 роки тому
This really saved me, thank you
@zamangeri5202
@zamangeri5202 Місяць тому
very nice video , please we need more video about app inervter , U are the best
@babubassa8434
@babubassa8434 3 роки тому
Is it not less than zero that you have to set, when the 30 reaches zero?
@tejas12365
@tejas12365 4 роки тому
hi, this question is not related but i will be glad if you can help, whenever i save file from app inventor it saves to /storage/emulated/0/, is it possible to specify the location where to store the file?
@Yukiloop
@Yukiloop 4 роки тому
thank you! this helped a lot. thank you for also explaining what everything does.
@user-pb3wi4qh8u
@user-pb3wi4qh8u 10 місяців тому
Thank you way better explained than my tutor
@ezequielaugustodelcastillo6467
@ezequielaugustodelcastillo6467 4 роки тому
Thank you Amanda!
@pawezapa3341
@pawezapa3341 4 роки тому
Thanks, that helped!
@nicolyto77
@nicolyto77 4 роки тому
Hi Amanda. I wish I could add advertising to AppInventor but I don't have money to use other options such as Thunkable, Block2Code, etc. I have read about "Enhance" platform but I don't trust much yet. What do you recommend me? Thank you
@damirscienceinnovators3747
@damirscienceinnovators3747 4 роки тому
Thank you very much! 😉
@lolking1693
@lolking1693 3 роки тому
Thank You!!
@someweakguy405
@someweakguy405 4 роки тому
yeah, i dont see it working on tablet or phone, i made a boring "educational" app, and the timer doesnt start, i need sum help
@ranbarmaoz
@ranbarmaoz Рік тому
hey, thanks for the explenation! how could we link the timer alarm to spotify?
@akashcheema6789
@akashcheema6789 3 роки тому
Oh thank you so much for your help you save me
@mananwadhwa
@mananwadhwa 3 роки тому
PLS ANSWER ME IT IS IMPORTANT FOR A SCHOOL PROJECT WHICH I HAVE A DEADLINE FOR
@krisermawan4920
@krisermawan4920 3 роки тому
I need when the app closing the timer still working can?
@MultiStarproductions
@MultiStarproductions 5 років тому
Love the tutorial but would like to know how once the timer reaches zero that it automatically goes to screen 2 adding to the existing blocks
@lovat52
@lovat52 4 роки тому
if timer = 0 open another screen "screenname"
@antonsergeevblog1621
@antonsergeevblog1621 3 роки тому
Thanks a lot! It works)
@Mysteriza
@Mysteriza 3 роки тому
can we see the process when the timer is counting down?
@Jonas-wm8wu
@Jonas-wm8wu 3 роки тому
Thank you!
@priyal17
@priyal17 3 роки тому
Can we use notifier?
@sauberersiegfried2863
@sauberersiegfried2863 Рік тому
Very Helpfull!!!!!!!!!
@GRAZIoficial
@GRAZIoficial 3 роки тому
Thank you! It was exactly what i needed.
@logii2599
@logii2599 2 роки тому
Miss you're a lifesaver
@eriasu7457
@eriasu7457 2 роки тому
Thanks!
@stavrosbonanos8625
@stavrosbonanos8625 4 роки тому
Why is that click so satisfying
@pulkatz9844
@pulkatz9844 4 роки тому
THANK YOU
@saber8156
@saber8156 Рік тому
Thanks amanda.
@BangGyu1992
@BangGyu1992 6 років тому
I want to see that result video. i mean working scene on your smart phone screen or emulate
@someweakguy405
@someweakguy405 4 роки тому
yeah, i dont see it working on tablet or phone, i made a boring "educational" app, and the timer doesnt start, i need sum help
@goldexe04
@goldexe04 3 роки тому
@MADELINE WARNER magic \ \\ \
@mohammedarifbellary9548
@mohammedarifbellary9548 5 років тому
Cool, it works..
@superdimos502
@superdimos502 4 роки тому
Αντε γεια
@kevinel_baset9594
@kevinel_baset9594 4 роки тому
Thank you
@clementcaillat6140
@clementcaillat6140 3 роки тому
Thanks for this. It helped me time programming events in my app.
@brooklynquigley6655
@brooklynquigley6655 Рік тому
I'm gonna memorize this for my final tomorrow
@aimanhakimnasir9585
@aimanhakimnasir9585 4 роки тому
Hye, I would like to ask if that 30 reaches zero, how to make it automatically turn to 30 by itself? Or to make it into infinity loop timer countdown?
@hogesonline
@hogesonline 4 роки тому
You could just use an if block and when it reaches zero have it set to 30.
@aimanhakimnasir9585
@aimanhakimnasir9585 4 роки тому
@@hogesonline Could you guide me in an easy way to make it infinity countdown?
@fazejizz3578
@fazejizz3578 4 роки тому
I need this for school I have no idea what to do they didn’t give me instructions now I’m failing so is this how to make it count down from 30 seconds
@moose5958
@moose5958 3 роки тому
so i'm trying to put all of "when clock1 timer do" in a procedure then put the procedure in when clock1timer do. I put in parameter instead of global variables for the amount of seconds in the timer but it doesn't work if i use parameters. Please help!
@hogesonline
@hogesonline 3 роки тому
Yeah, ice had all kinds of issues with scoping which is why I got the kids to use globals. I'd definitely prefer to use parameters if I could make it easier.
@sebastianfulmikov5114
@sebastianfulmikov5114 Рік тому
can you explain how to subtract month?
@jay-tbl
@jay-tbl 5 років тому
What I've noticed is that since the clock timer script runs once every second, you could press the button half a second after it runs, meaning it waits another half a second before counting down. I want to make a really accurate timer, so is there a way I can avoid this?
@wollepatong
@wollepatong 3 роки тому
Instead of the start variable just toggle the Timer.Enabled. Set it to false in the designer as default, in an else condition you can set it to false again, if it reaches 0.
@ArkadioBRO
@ArkadioBRO 2 роки тому
@@wollepatong set the timer TimerInterval ("on design") to be 1ms so you have a timer accurate to 1/1000 of a second
@SrConciencia
@SrConciencia 2 роки тому
i liked ,i am from mexico
@Tubeunus
@Tubeunus 3 роки тому
My app inventor does not show cock1.timer block can you help. I want to create a function if some set time is reached button text should change.
@MarcusVinicius-nn6yx
@MarcusVinicius-nn6yx 4 роки тому
Any ideia to make a image appear when the countdown reaches zero ? Great videos !!
@sanjaybhatikar
@sanjaybhatikar 2 роки тому
Add an image component and change the visible property to true when countdown reaches zero. Happy coding. :)
@Paul-yv5yj
@Paul-yv5yj 4 роки тому
Once the timer hits zero, is there a way of playing an MP3 file, or similar?
@itsappu1802
@itsappu1802 4 роки тому
yea i want to know that too
@thronzera
@thronzera 2 роки тому
hey I have a question, so I want to make my countdown timer to be changeable, for example at first i do a countdown from 60 second, but then the net one I want to do 40 second, can u help me how to do that without changing the code, within doing the 60 second and the 40 second
@hogesonline
@hogesonline 2 роки тому
Changeable how? Does the user set the start time? Then you need an input box...
@progamerkp8783
@progamerkp8783 2 роки тому
@@hogesonline like suppose 1level has 60sec and then I want to change timer to 40sec in level2....
@progamerkp8783
@progamerkp8783 2 роки тому
@@hogesonline i also need help... I want to start the timer without pressing any buttons
@hogesonline
@hogesonline 2 роки тому
@@progamerkp8783 you just swap the button click event with another event e.g. onload
@Youtuber-xt7of
@Youtuber-xt7of 5 років тому
if i restart the app after 15 then the app will start countdown from 15 ? or not
@hogesonline
@hogesonline 5 років тому
It's really difficult to get appinventor to keep track of data when the app closes and opens again. It will restart. There's a way to make it work but it's hard and involves storing information on the internet
@dvgelectrician1605
@dvgelectrician1605 Рік тому
Very useful
@justfly2525
@justfly2525 6 років тому
Thanks! Idiots like me need more videos like this. Please keep them coming...
@hogesonline
@hogesonline 6 років тому
Don't call yourself an idiot. We all started by not knowing anything and soon you'll be making your own tutorials
@abaskamal8599
@abaskamal8599 2 роки тому
I was looking for this, best one. Thank you, dear.
@andreaveron8481
@andreaveron8481 Рік тому
gracias kp
@seomunsi3526
@seomunsi3526 Рік тому
Amanda Hogan God
@fixfalcon979
@fixfalcon979 5 років тому
Bien amiga, pero que pasa si yo quiero ingresar en minutos el tiempo que requiero que se muestre en regresiva, como deberia hacerse??
@hogesonline
@hogesonline 5 років тому
A full countdown clock with both minutes and seconds?
@fixfalcon979
@fixfalcon979 5 років тому
Gracias voy a intentarlo
@MarcelinaGuerrra
@MarcelinaGuerrra 5 років тому
i'd like to learn this too
@maximdemeersman9087
@maximdemeersman9087 5 років тому
When the timer reaches 0, I want it to open another screen. How do I do this?
@maximdemeersman9087
@maximdemeersman9087 5 років тому
FATOUMATA BARRIE Yes
@williammatta8549
@williammatta8549 4 роки тому
Tell me how
@krisermawan4920
@krisermawan4920 3 роки тому
easy, just put open another screen screen name..... and close screen
@maximdemeersman9087
@maximdemeersman9087 3 роки тому
KrisErmawan Damn it’s a year ago, but I was stupid as hell for not knowing that
@mananwadhwa
@mananwadhwa 3 роки тому
THANKS PLS AMKE A VIDEO TO RUN MIT APP IN BACKGROUND
@jush471
@jush471 3 роки тому
how do i make it so, when the sprite hits the edge of canvas, the timer THEN starts
@hogesonline
@hogesonline 3 роки тому
Change when Button1.Click to when ball1.EdgeReached (Assuming your sprite is called ball1 and assuming your sprite is on a canvas. ) Any event can be used to set global start to true
@jush471
@jush471 3 роки тому
@@hogesonline ahh what an easy fix for such an annoying issue i was having, thanks :)
@cmanna285
@cmanna285 3 роки тому
How come you didn't run it??
@seanmunguia9622
@seanmunguia9622 Рік тому
Is there a way to make the time go up
@hogesonline
@hogesonline Рік тому
Yes, change it from - 1 to + 1.
@apiromsamer1950
@apiromsamer1950 3 роки тому
How to change the number to the "Time system" (I don't know how to explain, but I guess you know that. something like xx:xx)
@hogesonline
@hogesonline 3 роки тому
You need to format that manually by yourself... The minutes section is a floor function (round down) if number of seconds divided by 60 and the minute side is the remainder (modulus). You can put just about anything in a label.
@thememakerandsupplier
@thememakerandsupplier 6 років тому
How to reset?
@hogesonline
@hogesonline 5 років тому
THEME MAKER and SUPPLIER you also need to set the value of "start" back to false.
@abelferretti
@abelferretti 2 роки тому
Do u have the aia project for us?
@hogesonline
@hogesonline 2 роки тому
This is made for school students so I don't supply the aia. You have all the instructions to make the aia though
@deathman000
@deathman000 5 років тому
hi how to add a reset button?
@gallery4224
@gallery4224 5 років тому
This fantastic code
@jejegym
@jejegym 5 років тому
hi! sis can you help me to auto countdown, I don't want to click botton.
@hogesonline
@hogesonline 5 років тому
What event do you want to trigger the Timer? You can remove the button and change the when button1 click block to be another event (such as on page load)
@superdimos502
@superdimos502 4 роки тому
Ναι ποιος ειναι?????
@leviackermann01
@leviackermann01 2 роки тому
wowowow 1k likes!
@aidenmahony3431
@aidenmahony3431 5 років тому
it good
@aidenmahony3431
@aidenmahony3431 5 років тому
@TrevorTheGod wowwy
@hariharansenthilnath7647
@hariharansenthilnath7647 3 роки тому
i love u amanda
@hariharansenthilnath7647
@hariharansenthilnath7647 3 роки тому
how old r u? ur so good!
@hariharansenthilnath7647
@hariharansenthilnath7647 3 роки тому
amanda!!!!!!
@hariharansenthilnath7647
@hariharansenthilnath7647 3 роки тому
how old are u??
@nicolehsu1158
@nicolehsu1158 3 роки тому
I have followed this code, but the timer doesn't countdown to zero. It only goes to 29 and stops.
@hogesonline
@hogesonline 3 роки тому
The code works. Check that your loop is correct.
@nicolehsu1158
@nicolehsu1158 3 роки тому
I did exactly as you have coded. It counts down only to 29. Could you share how it worked for you? You didn’t include a final run...
@hogesonline
@hogesonline 3 роки тому
@@nicolehsu1158 sorry but I don't use appinventor any more. This video was a while ago. I just know it worked for my whole class and for other people in the comments. You can DM me on twitter and send me a screenshot of your code and I'll take a look (?) (Same handle)
@nuovovideo
@nuovovideo 5 років тому
Unfortunally it works only one time, than you have to close the app and restart it
@hogesonline
@hogesonline 5 років тому
nuovovideo What you need is a reset button. This video is just designed to get my students started.
@hogesonline
@hogesonline 5 років тому
If you make a second button that resets the value of timer to 30, and sets the value of "start" back to false and updates the label with the value of timer then it will reset and be able to run again.
@_BicKoin_
@_BicKoin_ 5 років тому
The best way to do this is with a label. You made this way to complicated and added far to many steps. Take a label set the label text to 30 in this case and add a clock component then you are done. Go to designer take your clock.timer and start with and " if then else" block. First block should be " if label.text = 0" " then "set clock.timerEnabled to false". else "set labe.text to label.text-1". No need for a button no need for global parameters or any of that.
@hogesonline
@hogesonline 5 років тому
Ib Tidus I agree but there was a specific context at school for which I made the video. Cheers for the feedback.
@ravikumar-qp8pq
@ravikumar-qp8pq 2 роки тому
It is not working
@superdimos502
@superdimos502 4 роки тому
λοιπον ζομπι
@haripras.d
@haripras.d 3 роки тому
much easy if you had included the .aia file :)
@hogesonline
@hogesonline 3 роки тому
That's not a tutorial. That's just supplying code. I need my students to do it themselves.
@haripras.d
@haripras.d 3 роки тому
@@hogesonline Nice👍❤️
@TheMirthrindir
@TheMirthrindir 2 роки тому
Absolutely. None the less I wish there was an adult section where we could build more advanced apps by grabbing pieces that people have already worked out. I want to make a timer that you can enter the value, any value, and then have it do something different at the end. Admittedly, this is helpful for learning, but it could save me 10-15 minutes to have had somebody else post it. I will when I'm done!
@aidenmahony3431
@aidenmahony3431 5 років тому
b
@aidenmahony3431
@aidenmahony3431 5 років тому
k
@aidenmahony3431
@aidenmahony3431 5 років тому
a
@aidenmahony3431
@aidenmahony3431 5 років тому
c
@aidenmahony3431
@aidenmahony3431 5 років тому
d
@aidenmahony3431
@aidenmahony3431 5 років тому
g
@aidenmahony3431
@aidenmahony3431 5 років тому
f
@aidenmahony3431
@aidenmahony3431 5 років тому
e
@aidenmahony3431
@aidenmahony3431 5 років тому
i
@aidenmahony3431
@aidenmahony3431 5 років тому
h
@user-ch4lj4rh1k
@user-ch4lj4rh1k Рік тому
That's really bad because there is a way that way easier than yours. And why is there only seconds? Is this all you can do?
@ukaszlukaszenkowiankowiers2231
@ukaszlukaszenkowiankowiers2231 3 роки тому
01:22 05:35
@Tankonfire12Gaming
@Tankonfire12Gaming 6 років тому
This video fake Thank for trying though
@AnkitKumar-lq9dm
@AnkitKumar-lq9dm 5 років тому
Not working !! It is fake
@hogesonline
@hogesonline 5 років тому
ankit kumar um, I think you made a mistake. All my highschool students followed this tutorial without a problem.
@AnkitKumar-lq9dm
@AnkitKumar-lq9dm 5 років тому
but i copied the same
@hogesonline
@hogesonline 5 років тому
ankit kumar what error do you get or what happens?
@garrylane8093
@garrylane8093 5 років тому
FAKE LMAO, the only thing fake is your intelligence to make it work. Learn how to use the software before you make unsubstantiated accusations. I got it working in several different ways. The code is sound.
@randyaguenza5450
@randyaguenza5450 Рік тому
scam..
@ruru119
@ruru119 3 роки тому
THANK YOU
Looping through a List in App Inventor 2
7:45
profgustin
Переглядів 45 тис.
Make Your Own Day Planner | Tutorial | MIT App Inventor 2
17:32
Conner Snyder
Переглядів 63 тис.
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35
🐩🐕
00:25
Янчик
Переглядів 2,3 млн
Show Current Time in Mit App Inventor
5:48
porus and chanakye for you
Переглядів 2,9 тис.
Sprites in App Inventor: Collect the Coins Game
20:45
Jennifer John
Переглядів 79 тис.
BUILDING A MARBLE CLOCK THAT SHOWS SECONDS - Pt3.
11:16
Ivan Miranda
Переглядів 110 тис.
What is Scratch?
6:17
MIT Media Lab
Переглядів 163 тис.
We should use this amazing mechanism that's inside a grasshopper leg
19:19
How Storing Movies on Vinyl Lost RCA $650 Million
9:06
Half as Interesting
Переглядів 156 тис.
App Inventor Calculator Tutorial Part 2 (of 4)
8:18
Brooks Robinson
Переглядів 175 тис.
App Inventor 2 Tutorial - How to create and store text files on your phone
7:22
App Inventor Teacher
Переглядів 182 тис.
Store Data using Tiny DB In MIT app inventor 2 | Part 1
6:21
electronics forever
Переглядів 95 тис.
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35