can you help me
Taifun
thankq for contributing
Do you have a Clock component yet?
It's in the Sensors Drawer in the Designer.
yes
Look in the Gallery for Countdown.
There is a search facility.
Have you set up all the necessary components in your Screens yet?
Label?
Image?
Textbox?
Button?
Show us what you have.
P.S. You will also need TinyDB to pass the number of seconds from one screen to another.
just adjust the example to your needs
also read tip 1 here General Tips and Tricks for App Inventor and use virtual screens to make your life easier...
and first learn the basics like this:
A very good way to learn App Inventor or Kodular is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... 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 Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .
Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor
Taifun
thankq
The OP deleted this supplementary question:
how to code If the button is pressed when it says BACK, it will go back to Screen 1. The number of seconds left should be shown in the text box in Screen 1, so that the user can just press the start button again and continue the countdown.
simplecountdown (1).aia (4.1 KB)
Screen1
Screen 2
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.