Creating Mobile Apps with App Inventor! Day 5 Google search Kris Gordon Ludlow for links.

Slides:



Advertisements
Similar presentations
What we will cover today… Where is the camera on my phone? Taking a photo Zoom in and out Deleting a photo Where do my photos go to? Viewing my photos.
Advertisements

PowerPoint Basics   Tutorial 5: Navigation
Programming with App Inventor Computing Institute for K-12 Teachers Summer 2012 Workshop.
DFSS tour Contents School and course selection Course outline page Page navigation Forums (online discussions) Reveals Completing a journal Watching a.
Creating Online Presentations. Creating a Presentation To create a presentation 1.Open PowerPoint. In the task pane under New select From Design Template,
NEXT. Create Pages in Blogger Another top user-requested feature has just graduated from Blogger In Draft! Blogger now makes it easy to create Pages linked.
Android architecture overview 1 CS 150. Android  A software stack for mobile devices developed and managed by Open Handset Alliance  Free software under.
Creating Dynamic Communities. Objectives that will be covered: 1.Creating your communityCreating your community 2.Styling your communityStyling your community.
Inserting Pictures & Sounds into a PowerPoint Presentation Mary Trewatha Yankton TTL June 2002.
The Story of Past Presidents. What is PhotoStory?  PhotoStory is a free program from Microsoft that allows you to create a digital story.  You can personalize.
Using Windows Live Movie Maker DO NOT USE WINDOWS MOVIE MAKER 2.6!!!
Stand Alone Instructional Resource by Andrew Hahn.
App Inventor Barb Ericson July 3, 2013.
Creating Mobile Apps with App Inventor! Day 4 Google search Kris Gordon Ludlow for links.
Museum Box A professional development By: Korrin Nash.
Building Web Pages With Microsoft Office. Introduction This tutorial is for the beginning web builder. It utilizes software that you already have, Microsoft.
This course is designed to give you a basic introduction to the ins and outs of using tablet and smartphone technology. By and large, you will learn the.
Before you start, you should get all of your pictures together in one file. They should be in.jpg,.png,.tif or.gif format. Open your drive. Make a folder.
Review of last session The Weebly Dashboard The Weebly Dashboard Controls your account and your sites Controls your account and your sites From here you.
Google Earth How to create a Google Earth Tour and place it in your Wiki.
Programming with App Inventor Computing Institute for K-12 Teachers Summer 2012 Workshop.
First create a folder with your pictures/ images needed to create the story Then open Photostory 3. Click on begin a new story and click next.
Created by: Ian Osborn. Possibilities Of Movie Maker Windows Movie Maker allows users to organize and add effects to media clips that ordinarily would.
Wendy Russell-About.com “What is Windows Movie Maker” &
Website Tutorial. Administration  Log on by clicking Login on the footer of almost any page  Your Username is.
Starter for 10 Unit 10: Flickr & YouTube Transform IT SFT10_Flickr_YouTube.
Computer Science : Information Systems Design and Development Unit Web Sites - National 4 / 5 St Andrew’s High School-Revised January 2013 Slide 1 St Andrew’s.
Intro to AppInventor Dr. Dante Ciolfi (chawl fee).
IV.Creating & Editing a Video/Movie. Editing Techniques To open a project On the File menu, click Open Project. In the File name box, locate the saved.
Using Moodle This is a rough draft of instructions for teachers to use Moodle in lieu of the in- service that is held periodically. Call me if you need.
To download PhotoStory: Go to On the left side under Product Resources, click on Downloads.
A Step by Step Guide How to add your own pages to the website.
Making a Playable DVD movie using your digital photos And adding music to the movie.
The Story of Westward Development. What is PhotoStory?  PhotoStory is a free program from Microsoft that allows you to create a digital story.  You.
Windows Movie Maker. What is Movie Maker? Windows Movie Maker allows one to…. create, edit, and share your movies right on your PC.
App Inventor MIT App Inventor.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
1. Profile settings 2. Messaging system 3. Downloading files 4. Uploading files 5. Creating groups 6. Calendar events.
1 Digital Storytelling: Frame-by-Frame Diane Sidoroff Instructional Technology Facilitator.
Programming with App Inventor Computing Institute for K-12 Teachers Summer 2012 Workshop.
Click on these! %2Fblank%2Fbrowse.asp%3FA%3D383%26BMDRN%3D2000%26BCOB%3D0% 26C%3D64893.
Review of last session Add text to your website Add text to your website Title Title Paragraph Paragraph Title and paragraph Title and paragraph Add photographs.
Quiz Me Tutorial. Introduction QuizMe is a trivia game (the example uses baseball) you can use as a template to build quizzes on any topic. The user steps.
Karole McGrew Morgan Local Schools.  Allows creation of slide show for research projects  Can be used to explain or present information  Allows for.
 To begin you first need to sign up to Weebly by going to or alternatively and we will create an account.
Begin a new story or edit a Photo Story project that has already been created. Make your selection and click next. 1.
Glogster: Create Virtual Posters Created by Russell Smith, Technology Facilitator, North Edgecombe High School.
line.net/ okpop.com/bar elythereflashin dex.html.
Exploring Adobe Presenter Presented By: Immersion Team
WEB 2.0 TOOLS VIDEO HOSTING SITE YOUTUBE. WHAT IS YOUTUBE? Youtube is a video hosting site were anyone can upload videos expressing their talents, interests.
Creating Google Sites Laura Assem, Director of Technology.
IMovie 10 Overview. Importing Files from a Video Camera into iMovie 1.Plug the camera into a wall outlet using the power supply. (Some cameras will not.
FOCUS II Demonstration Simply click the mouse to advance through the presentation. Or; Tap the right arrow key on the keyboard to advance through the slides.
The desktop (overview) Working with desktop icons The desktop is the main screen area that you see after you turn on your computer and log on to Windows.
Photo Story. How to use Photo Story Photo Story 3 can be located in the Accessories folder on school computers. You will need to have your pictures already.
Photoshop Actions Lights, Camera, Actions in Photoshop.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Motion Graphics & Animation.
Lesson 5 – Repetition / Loops
Ltz/ng/createAthShrRvw1 LiveText at CBU Electronic Portfolios! Create, edit, attach documents, and Share or Send for Review.
This is a self-paced training for Windows Live Movie Maker INTRODUCTION.
Introducing Scratch Learning resources for the implementation of the scenario
 Learn the mechanics of using App Inventor to build apps.  Learn how to design an app’s user interface with the App Inventor Designer, and its behavior.
Weebly Elements, Continued
Visual Programming week # 01
Visual Programming week # 02 APP (Application) Architecture.
Adding a File to a Course
Adding Assignments and Learning Units to Your TSS Course
COURSE INSTRUCTIONS Minimum Requirements Microsoft Windows 2000
Visual Programming week # 05 Lists Quiz Tutorial.
Using Museum Box as a Multimedia Assessment Tool
Presentation transcript:

Creating Mobile Apps with App Inventor! Day 5 Google search Kris Gordon Ludlow for links

Day 5’s Topics Fun Components (Cont’d) –Accelerometer Sensor (Cont’d) –ImagePicker –Camera –VideoPlayer –SoundRecorder –Camcorder A Trivia Game – Quiz Me Lab 5

Accelerometer Sensor (Cont’d) The component produces three values. XAccel : Positive when the device is tilted to the right (that is, its left side is raised), and negative when the device is tilted to the left (its right size is raised). YAccel : Positive when its bottom is raised, and negative when its top is raised. ZAccel : Positive when the display is facing up, and negative when the display is facing down. Please design a mobile app to make a sound if the device is facing down. You can use the Player component in the Media drawer to play a sound.

Steps 1. In the Designer, do the following as shown below.

Steps (Cont’d) 2. In the Blocks Editor, set up the blocks as shown below.

ImagePicker You can use an image picker component under the Media drawer to choose an image from your image gallery. 1. In the Designer, do the following as shown below.

Steps (Cont’d) 2. In the Blocks Editor, set up the blocks as shown below.

Camera You can use a camera component under the Media drawer to take a picture on the device. Camera is a non-visible component that takes a picture using the device's camera. After the picture is taken, the path to the file on the phone containing the picture is available as an argument to the AfterPicture event. Methods TakePicture() Opens the phone's camera to allow a picture to be taken. Events AfterPicture(Text image) Called after the picture is taken. The text argument image is the path that can be used to locate the image on the phone.

Steps 1. In the Designer, do the following as shown below.

Steps (Cont’d) 2. In the Blocks Editor, set up the blocks as shown below.

Video Player You can use a VideoPlayer component under the Media drawer to play a video file. A video player appears in your app as a rectangle. If the user taps the rectangle, media controls appear: play/pause, skip ahead, and skip backward. Your app can control playback behavior by calling the Start, Pause, and SeekTo methods. Video files should be in Windows Media Video (.wmv), 3GPP (.3gp), or MPEG-4 (.mp4) format.

Steps 1. In the Designer, do the following as shown below.

Steps (Cont’d) 2. In the Blocks Editor, set up the blocks as shown below.

Sound Recorder You can use a SoundRecorder component under the Media drawer to records audio. Events AfterSoundRecorded(text sound)Provides the location of the newly created sound. StartedRecording()Indicates that the recorder has started, and can be stopped. StoppedRecording()Indicates that the recorder has stopped, and can be started again. Methods Start ()Starts recording. Stop ()Stops recording.

Steps 1. In the Designer, do the following as shown below.

Steps (Cont’d) 2. In the Blocks Editor, set up the blocks as shown below.

Camcorder You can use the Camcorder component under the Media drawer to record a video using the device's camcorder. After the video is recorded, the name of the file on the phone containing the clip is available as an argument to the AfterRecording event. The file name can be used, for example, to set the source property of a VideoPlayer component. Events AfterRecording(text clip)Indicates that a video was recorded with the camera and provides the path to the stored picture. Methods RecordVideo()Records a video, then raises the AfterRecoding event.

Steps 1. In the Designer, do the following as shown below.

Steps (Cont’d) 2. In the Blocks Editor, set up the blocks as shown below.

A Trivia Game --Quiz Me QuizMe is a trivia game about baseball, but you can use it as a template to build quizzes on any topic. With QuizMe: The user steps through a series of questions, clicking a button to proceed to the next question. The user enters an answer for each question and the app reports whether each answer is correct or incorrect.

Connect to the App Inventor web site and start a new project. Name it QuizMe, and also set the screen's Title to "QuizMe". Open the Blocks Editor and connect to the phone. Also download the following pictures of baseball players and save them on your computer. Later, you'll load these images into your project. They are my school webpage. 8&s=38http:// 8&s=38

Set up the Components –Use the component designer to create the interface for QuizMe. When you finish, it should look something like the snapshot below.

To create this interface, first load the images you downloaded into the project. Click on the "Upload File..." button in the Media area and select one of the downloaded files (e.g., Larsenberra.jpg). Then do the same for the other three images. Next, create the following components by dragging them from the Palette into the Viewer Get the properties of the components as described in the chart on the next slide

Add Behaviors to the Components –Open the Blocks Editor to add the behaviors for the app. –First, you'll define three list variable QuestionList to hold the list of questions AnswerList to hold the list of corresponding answers PictureList to hold images. To define the three list variables, you'll need the following blocks:

Define the Hidden Index Variable –Each time the user clicks the NextButton to proceed through the quiz, the app needs to remember which question it is on. –In programming, to remember something, you define a new variable. –In this case, the app needs to remember the current question number -- the index into the list QuestionList. –To create the variable currentQuestionIndex, you'll need the following blocks:

Display the first question The desired behavior is the following: when the app starts, the first question should appear in the label named QuestionLabel. When the user clicks the NextButton, the second question should appear. When the user clicks again, the third should appear. When the last question is reached, clicking the NextButton should result in the first question once again appearing in theQuestionLabel.

Repeating the Questions Now program the behavior of the NextButton. You've already defined the currentQuestionIndex to remember the question the user is on. When NextButton is clicked, the app needs to increment this variable, e.g., change it from 1 to 2 or from 2 to 3, etc., and then use the resulting value to select the new "current" question. When the NextButton is clicked, the app first checks to see if currentQuestionIndex has a 3 in it. If it does, currentQuestionIndex is set back to 0 so that when 1 is added to it with the blocks below, it will be 1 and the quiz will loop back to display the first question.

Evaluating Answers Next, you'll add blocks that report whether the user has answered a question correctly or not. The user enters the answer in AnswerText and then clicks the AnswerButton. The app must compare the user's entry with the answer to the "current" question, using an if then block to check. The RightWrongLabel should be modified to report whether or not the answer is correct. You'll need the following blocks for this behavior:

Final Program

References