Is there anything more fun than jumping in the pool?
Create an app with App Inventor that randomly decides who's going to be the first one to jump in the pool.
  • WHAT I NEED?

    1
    Software
    MIT AI2 Companion application

    This application let you test all the apps you develop at App Inventor. You can download it from Google Play.
    If you don't have an Android mobile, you can test your app at the emulator.

    App Inventor

    App Inventor is a programming environment where you can develop apps. It's based on two steps: the app design and the block editor, where you can program. Learn more about App Inventor at our creative technologies section.

    Downloads
    2
    Materials

    Android device

  • START YOUR PROJECT!

    [{"id":74513,"node_id":"0","position":1,"comment":"","status":"1","deleted":"0","methodology_id":"32393","name":"Introduction","type_element":"2","context":"user_bp","object":null,"tool_name":"Introduction","tool_hash":"","graph_id":"33390","is_new":0,"arrows":[],"equivalence":false,"extra_data":"","timer":"0","comment_modal":"1","element":false,"type":"level_jump","icon":"medal.png","timetracking":null,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":55626,"node_id":"45112","position":2,"comment":"","status":"1","deleted":"0","methodology_id":"32393","name":"App","type_element":"0","context":"user_bp","object":"null","tool_name":"App","tool_hash":"","graph_id":"33390","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":43169,"params":[{"name":"name_card","value":"Open App Inventor"},{"name":"text_card","value":"Open App Inventor by clicking on the button. <br><br>Before logging on, it will ask you to sign up with your Google account. If you don't have one, you can ask an adult to help you make one. It's easy! <br><br>Follow the steps in the video to import the file "Pool.aia," which you can find above&nbsp;on the "Downloads" section. Remember to go back to CLOQQ so that you know what the next step is."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"yes"},{"name":"name_external_link","value":"GO TO APP INVENTOR"},{"name":"url_external_link","value":"http://ai2.appinventor.mit.edu/?locale=es_ES"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":10604},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56623,"node_id":"45113","position":3,"comment":"","status":"1","deleted":"0","methodology_id":"32393","name":"Programa","type_element":"0","context":"user_bp","object":"null","tool_name":"Programa","tool_hash":"","graph_id":"33390","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":43170,"params":[{"name":"name_card","value":"Turn on the camera"},{"name":"text_card","value":"Program the button so that the camera is activated when you click on it. <br><br>To do this, you have to make the button "call up" the camera element."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":11913},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":55627,"node_id":"46116","position":4,"comment":"","status":"1","deleted":"0","methodology_id":"32393","name":"Cloqq - Horizontal Card","type_element":"0","context":"user_bp","object":"","tool_name":"","tool_hash":"","graph_id":"33390","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44177,"params":[{"name":"name_card","value":"Random selection"},{"name":"text_card","value":"Add the following code so that when you click on the button, the VARIABLE becomes a random number between 1 and 5. <br><br>Now make it so that IF the variable is EQUAL to 1, it shows the first photo that you took on the screen. <br><br>To finish, repeat the process with the rest of the numbers and images. You just have to copy and paste the previous conditional and change its values."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":11980},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":56624,"node_id":"45114","position":5,"comment":"","status":"1","deleted":"0","methodology_id":"32393","name":"Cloqq - Horizontal Card","type_element":"0","context":"user_bp","object":"","tool_name":"","tool_hash":"","graph_id":"33390","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":43172,"params":[{"name":"name_card","value":"Get connected!"},{"name":"text_card","value":"Follow the steps in the video to connect your computer to the cell phone.<br><br>Remember that you need to have the AI2 Companion app installed, which you can find on Google Play, and make sure the two devices are connected to the same WiFi network."},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"yes"},{"name":"name_external_link","value":"DOWNLOAD AI2 COMPANION"},{"name":"url_external_link","value":"https://play.google.com/store/apps/details?id=edu.mit.appinventor.aicompanion3&hl=es"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":11271},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":55628,"node_id":"46111","position":6,"comment":"","status":"1","deleted":"0","methodology_id":"32393","name":"prueba","type_element":"0","context":"user_bp","object":"null","tool_name":"prueba","tool_hash":"","graph_id":"33390","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44173,"params":[{"name":"name_card","value":"Test your app!"},{"name":"text_card","value":"Take a picture of your friends, select the "Choose" button and...<br>n<br>nThe App will show who should jump first!<br>n<br>nCan you think of any more uses for this app? Surely you've had a hard time deciding who gets to hide or who gets to be goalie before. <br>n<br>nDo not forget that the App is designed for five members but you can program it to add more. Just check the code!"},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":10910},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"id":55629,"node_id":"46117","position":7,"comment":"","status":"1","deleted":"0","methodology_id":"32393","name":"descarga","type_element":"0","context":"user_bp","object":"null","tool_name":"descarga","tool_hash":"","graph_id":"33390","is_new":0,"arrows":[],"equivalence":"41622","extra_data":"","timer":"0","comment_modal":"0","element":{"id":"41622","id_template_params":44178,"params":[{"name":"name_card","value":"Download your app"},{"name":"text_card","value":"To save the app you just created on your computer, select "Projects" from the menu and click on "Export selected project to my computer.""},{"name":"main_video","value":"<iframe allowfullscreen=""></iframe>"},{"name":"link_materials","value":"no"},{"name":"link_external","value":"no"}]},"type":"template","relationid":"41622","icon":"template.png","timetracking":{"estimated_time":"00:02:00","maximum_time":"00:05:00","minimum_time":"00:01:00","random":10990},"is_complete":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"},{"arrows":[],"comment":"End_itinerary_message","context":"bp","element":false,"equivalence":false,"graph_id":"33390","icon":"medal.png","id":0,"is_complete":0,"is_new":0,"name":"End_itinerary","node_id":1,"object":null,"position":8,"status":1,"timetracking":null,"tool_hash":"","tool_name":"End_itinerary","type":"level_jump","type_element":2,"timer":0,"comment_modal":0,"is_disabled":0,"is_hidden":0,"visualizations":["fullview","minimized"],"default_visualization":"minimized"}]
  • 10 points
CLOQQ’s activities have been designed and made by an experienced team in creative technologies. These activities must be made with the support and supervision of an adult.