Use MIT Appinventor to display a number in a label and change the number on a clock tick creating a timer.
КОМЕНТАРІ: 144
@bavenraj15622 роки тому
u explained way more better than my lecturer . Keep posting
@dmalanog33795 років тому
Thank you so much for making this video!
@b3rn4rddd4 роки тому
thank you! this is very useful and clear instructions and explanation
@dailydogdays26814 роки тому
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.
@abelferretti2 роки тому
thank you! this is very easy and clear instructions
@aliin87632 роки тому
This really saved me, thank you
@zamangeri5202Місяць тому
very nice video , please we need more video about app inervter , U are the best
@babubassa84343 роки тому
Is it not less than zero that you have to set, when the 30 reaches zero?
@tejas123654 роки тому
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?
@Yukiloop4 роки тому
thank you! this helped a lot. thank you for also explaining what everything does.
@user-pb3wi4qh8u10 місяців тому
Thank you way better explained than my tutor
@ezequielaugustodelcastillo64674 роки тому
Thank you Amanda!
@pawezapa33414 роки тому
Thanks, that helped!
@nicolyto774 роки тому
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
@damirscienceinnovators37474 роки тому
Thank you very much! 😉
@lolking16933 роки тому
Thank You!!
@someweakguy4054 роки тому
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Рік тому
hey, thanks for the explenation! how could we link the timer alarm to spotify?
@akashcheema67893 роки тому
Oh thank you so much for your help you save me
@mananwadhwa3 роки тому
PLS ANSWER ME IT IS IMPORTANT FOR A SCHOOL PROJECT WHICH I HAVE A DEADLINE FOR
@krisermawan49203 роки тому
I need when the app closing the timer still working can?
@MultiStarproductions5 років тому
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
@lovat524 роки тому
if timer = 0 open another screen "screenname"
@antonsergeevblog16213 роки тому
Thanks a lot! It works)
@Mysteriza3 роки тому
can we see the process when the timer is counting down?
@Jonas-wm8wu3 роки тому
Thank you!
@priyal173 роки тому
Can we use notifier?
@sauberersiegfried2863Рік тому
Very Helpfull!!!!!!!!!
@GRAZIoficial3 роки тому
Thank you! It was exactly what i needed.
@logii25992 роки тому
Miss you're a lifesaver
@eriasu74572 роки тому
Thanks!
@stavrosbonanos86254 роки тому
Why is that click so satisfying
@pulkatz98444 роки тому
THANK YOU
@saber8156Рік тому
Thanks amanda.
@BangGyu19926 років тому
I want to see that result video. i mean working scene on your smart phone screen or emulate
@someweakguy4054 роки тому
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
@goldexe043 роки тому
@MADELINE WARNER magic \ \\ \
@mohammedarifbellary95485 років тому
Cool, it works..
@superdimos5024 роки тому
Αντε γεια
@kevinel_baset95944 роки тому
Thank you
@clementcaillat61403 роки тому
Thanks for this. It helped me time programming events in my app.
@brooklynquigley6655Рік тому
I'm gonna memorize this for my final tomorrow
@aimanhakimnasir95854 роки тому
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?
@hogesonline4 роки тому
You could just use an if block and when it reaches zero have it set to 30.
@aimanhakimnasir95854 роки тому
@@hogesonline Could you guide me in an easy way to make it infinity countdown?
@fazejizz35784 роки тому
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
@moose59583 роки тому
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!
@hogesonline3 роки тому
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Рік тому
can you explain how to subtract month?
@jay-tbl5 років тому
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?
@wollepatong3 роки тому
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.
@ArkadioBRO2 роки тому
@@wollepatong set the timer TimerInterval ("on design") to be 1ms so you have a timer accurate to 1/1000 of a second
@SrConciencia2 роки тому
i liked ,i am from mexico
@Tubeunus3 роки тому
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-nn6yx4 роки тому
Any ideia to make a image appear when the countdown reaches zero ? Great videos !!
@sanjaybhatikar2 роки тому
Add an image component and change the visible property to true when countdown reaches zero. Happy coding. :)
@Paul-yv5yj4 роки тому
Once the timer hits zero, is there a way of playing an MP3 file, or similar?
@itsappu18024 роки тому
yea i want to know that too
@thronzera2 роки тому
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
@hogesonline2 роки тому
Changeable how? Does the user set the start time? Then you need an input box...
@progamerkp87832 роки тому
@@hogesonline like suppose 1level has 60sec and then I want to change timer to 40sec in level2....
@progamerkp87832 роки тому
@@hogesonline i also need help... I want to start the timer without pressing any buttons
@hogesonline2 роки тому
@@progamerkp8783 you just swap the button click event with another event e.g. onload
@Youtuber-xt7of5 років тому
if i restart the app after 15 then the app will start countdown from 15 ? or not
@hogesonline5 років тому
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Рік тому
Very useful
@justfly25256 років тому
Thanks! Idiots like me need more videos like this. Please keep them coming...
@hogesonline6 років тому
Don't call yourself an idiot. We all started by not knowing anything and soon you'll be making your own tutorials
@abaskamal85992 роки тому
I was looking for this, best one. Thank you, dear.
@andreaveron8481Рік тому
gracias kp
@seomunsi3526Рік тому
Amanda Hogan God
@fixfalcon9795 років тому
Bien amiga, pero que pasa si yo quiero ingresar en minutos el tiempo que requiero que se muestre en regresiva, como deberia hacerse??
@hogesonline5 років тому
A full countdown clock with both minutes and seconds?
@fixfalcon9795 років тому
Gracias voy a intentarlo
@MarcelinaGuerrra5 років тому
i'd like to learn this too
@maximdemeersman90875 років тому
When the timer reaches 0, I want it to open another screen. How do I do this?
@maximdemeersman90875 років тому
FATOUMATA BARRIE Yes
@williammatta85494 роки тому
Tell me how
@krisermawan49203 роки тому
easy, just put open another screen screen name..... and close screen
@maximdemeersman90873 роки тому
KrisErmawan Damn it’s a year ago, but I was stupid as hell for not knowing that
@mananwadhwa3 роки тому
THANKS PLS AMKE A VIDEO TO RUN MIT APP IN BACKGROUND
@jush4713 роки тому
how do i make it so, when the sprite hits the edge of canvas, the timer THEN starts
@hogesonline3 роки тому
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
@jush4713 роки тому
@@hogesonline ahh what an easy fix for such an annoying issue i was having, thanks :)
@cmanna2853 роки тому
How come you didn't run it??
@seanmunguia9622Рік тому
Is there a way to make the time go up
@hogesonlineРік тому
Yes, change it from - 1 to + 1.
@apiromsamer19503 роки тому
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)
@hogesonline3 роки тому
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.
@thememakerandsupplier6 років тому
How to reset?
@hogesonline5 років тому
THEME MAKER and SUPPLIER you also need to set the value of "start" back to false.
@abelferretti2 роки тому
Do u have the aia project for us?
@hogesonline2 роки тому
This is made for school students so I don't supply the aia. You have all the instructions to make the aia though
@deathman0005 років тому
hi how to add a reset button?
@gallery42245 років тому
This fantastic code
@jejegym5 років тому
hi! sis can you help me to auto countdown, I don't want to click botton.
@hogesonline5 років тому
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)
@superdimos5024 роки тому
Ναι ποιος ειναι?????
@leviackermann012 роки тому
wowowow 1k likes!
@aidenmahony34315 років тому
it good
@aidenmahony34315 років тому
@TrevorTheGod wowwy
@hariharansenthilnath76473 роки тому
i love u amanda
@hariharansenthilnath76473 роки тому
how old r u? ur so good!
@hariharansenthilnath76473 роки тому
amanda!!!!!!
@hariharansenthilnath76473 роки тому
how old are u??
@nicolehsu11583 роки тому
I have followed this code, but the timer doesn't countdown to zero. It only goes to 29 and stops.
@hogesonline3 роки тому
The code works. Check that your loop is correct.
@nicolehsu11583 роки тому
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...
@hogesonline3 роки тому
@@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)
@nuovovideo5 років тому
Unfortunally it works only one time, than you have to close the app and restart it
@hogesonline5 років тому
nuovovideo What you need is a reset button. This video is just designed to get my students started.
@hogesonline5 років тому
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_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.
@hogesonline5 років тому
Ib Tidus I agree but there was a specific context at school for which I made the video. Cheers for the feedback.
@ravikumar-qp8pq2 роки тому
It is not working
@superdimos5024 роки тому
λοιπον ζομπι
@haripras.d3 роки тому
much easy if you had included the .aia file :)
@hogesonline3 роки тому
That's not a tutorial. That's just supplying code. I need my students to do it themselves.
@haripras.d3 роки тому
@@hogesonline Nice👍❤️
@TheMirthrindir2 роки тому
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!
@aidenmahony34315 років тому
b
@aidenmahony34315 років тому
k
@aidenmahony34315 років тому
a
@aidenmahony34315 років тому
c
@aidenmahony34315 років тому
d
@aidenmahony34315 років тому
g
@aidenmahony34315 років тому
f
@aidenmahony34315 років тому
e
@aidenmahony34315 років тому
i
@aidenmahony34315 років тому
h
@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?
@ukaszlukaszenkowiankowiers22313 роки тому
01:22 05:35
@Tankonfire12Gaming6 років тому
This video fake Thank for trying though
@AnkitKumar-lq9dm5 років тому
Not working !! It is fake
@hogesonline5 років тому
ankit kumar um, I think you made a mistake. All my highschool students followed this tutorial without a problem.
@AnkitKumar-lq9dm5 років тому
but i copied the same
@hogesonline5 років тому
ankit kumar what error do you get or what happens?
@garrylane80935 років тому
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.