The best VPN 2024

The Best VPS 2024

The Best C# Book

Code 1 Introduction to Coding

– Blocks of code that do something. They take an input, and change it into something else, which is the output.

You need a Gmail account to log intoApp Inventor. To set up a gmail account gohere.

Can you think some examples of event handling that your phone does? Here are a few to get started:

Look up any words here that you dont recognize. When programmers dont know what something means, they look it up! As a new programmer, it is good to ask questions and get familiar with some of the words that computer programmers use!

Make sure your phone is not plugged into your computer.

With the wifi method, you will build apps on your computer and test them on your phone using the App Inventor Companion App, called MIT AI2 Companion. Click on the button to view MITs instructions on how to get connected using wifi.

In your Talk to Me app, you told the app what to do when the user clicked a button, so you put an event handler on the button! It looked like this:

An emulator is software that allows you to run a virtual phone on your computer. With the emulator method you will build apps on your computer and test them on your computer using anemulator.Click the button to see MITs instructions for the emulator method.

This is the easiest way to use App Inventor and ishighlyrecommendedby the Technovation team.Choose this method if you have anAndroid phoneor tablet andaccess to wifi. You need to be able to connect your computer and your phone to thesame wifi networkin order for this method to work.

Theeventwas the user clicking on the button and the apphandledit by calling TextToSpeech to say something. This will be really important for you to keep in mind. When you are coding, you have to think about what you want your app to do and when you want it to do it.

– The block of code that tells your app what to do when an event happens

Download a PDF copy of this tutorial here

Q1:What was the hardest part of getting started with App Inventor? Did you get stuck at any particular spot?

When you click an icon for an app, the app opens.

Jared is acting like a computerhe wont do anything unless he is told to in simple step-by-step commands. A person would know that the instruction spread some jelly on the bread really means to open the jar of jelly, put your knife in, remove it, and use it to spread jelly on the bread. However, a computer would do what Jared did; it would just spread the whole jar of jelly on the bread and get confused!

One you are set up and have everything working, go to theactivity.

Reset your connection if you encountered an error

Grab a piece of paper and do this fun activity to mimic the way a computer thinks!

At the end of each coding unit, you will complete a coding challenge that you should submit to your mentor for feedback. These tutorials will help you learn key coding concepts and will help you build your final app.

Change the pitch of the voice in your speech to text component. Click on the speech to text in the blocks side and look for the pitch property. You can give your voice a pitch of 0, 1 or 2.

Reset your connection if you encountered an error or if the emulator is not responding.

– A way to talk to your computer and tell it to do things

Make sure you downloaded the correct MIT AI2 Companion app onto your phone here:AI Companion App. The logo looks like this:

In Windows, make sure aiStarter is running. You may need to search for it and start it up.

Challenge: Make an app that allows the user to click through a slideshow of your favorite pictures!

Functionsare blocks of code that do something. They accept aninputand produce anoutput.An input is information that goes into a function, and an output is information that is returned to you. In the Talk to Me tutorials, you used a Speech to Text function, which takes text, and turns it into speech! The input is the text and the output is the speech! As you continue to learn and program, functions and their inputs and outputs will make more sense.

When you try to purchase an app from an app store, the phone asks for a password.

This method can be very tricky to use, especially on Windows, and isnot recommendedby the Technovation team. You should use this method if you haveno Android phone or tablet.

If youre still stuck heres a video that may help:PhilsComputerLab: Connecting with Wi-Fi

You can skip to thenext sectionif you already know how to use App Inventor or if you will be using another programming language to make your app.

One you are set up and have everything working, go to theactivity.

Make sure aiStarter is running. You may need to search for it and start it up.

Q2:What are some things from this lesson that you think will be useful in creating your app?

The emulator may be slow to startup.

– Information that goes into a function

If you dont have an Android phone, here are some reasonably priced options from Amazon that dont require service plans. We recommended Ice Cream Sandwich version 4.0 or newer for the operating system.

For Technovation you will learn to use App Inventor, which is a programming language that is great for makingmobile apps. A mobile app is software built to be used on a device such as a phone or a tablet and not on a computer. Here are some names of programming languages and what they are commonly used for.

You may need to change your default security preferences to if you get an alert that says MITAppInventorSetup.pkg cant be opened because it is from an unidentified developer. To change this open security & privacy in your settings and click open anyway  or change your settings to allow apps to be downloaded from anywhere.

When you made the Talk to Me app you used both thedesignerand theblocksside of App Inventor. Every time you create a design element in your app you have to tell the computer what the element will do! All of this information will be in your blocks.

Objective Cis used to create Andriod apps.

Does your mentor or someone you know have experience in the tech industry? Ask them about their experiences and projects theyve worked on! Here are some example questions to ask:

It youre having trouble getting these videos to play, try loading this page in Google Chrome.

Screen Shot 2016 08 26 at 1.04.52 PM

Download a PDF copy of this tutorial here

When you click send for a text message, it sends the message and makes a sound.

Computer algorithms are written inprogramming languages. Programming languages are tools that help you speak to your computer. Coders use different programming languages to do different things. Some languages are better for making apps and some are better for making websites and some are better for running complicated calculations. Just like any other language, you need to learn how to use it to be able to communicate!

Most kids who grow up in North America love peanut butter and jelly sandwiches. Making one should be easy, just put peanut butter on one slice of bread and jelly on the other! Watch Zoe and Pablo try to give their friend Jared instructions to make a sandwich.

You may need to enable developer options before they show up in your settings. Here is a good an article to show you enable developer options and USB debugging on most Android phones:

Before moving on, lets program some more! Can you take your Talk to Me app to the next level? Here are some ideas for you to try out!

You may need to update the driver your computer is using for your phone even after you have installed a new driver. Here are instructions on how to do that:Update Driver Instructions

Make sure you downloaded the correct

Reset your connection if you encountered an error

– Information that comes out of a function

Complete these two tutorials. They will help you make your first app in App Inventor and they will help you understand the next section. Remember, this is your very first app so it is okay if you get stuck!

This iframe contains the logic required to handle AJAX powered Gravity Forms.

Try to figure out how to complete the code challenge on your own before looking at the instructions. The instructions show just one way of how this challenge can be solved.  You can also download our example app in the Google Play Store. Happy coding!

Make sure your computer and your phone are on the same wifi network

technovation2

– When the user does something in your app, like click a button, or enter text

Unlike humans, computers cant infer, or make guesses, about anything! They can only do exactly what they are told. Zoe and Pablo gave Jared analgorithmto making a sandwich. Analgorithmis a set of step-by-step instructions. In order to make a computer do something, you need to write an algorithm for it to understand.

App Inventoris used in Android app development. Youll learn more about this with Technovation!

Swiftis used to make iphone apps (iOS app development).

You may need to accept the dialog on your phone before it can connect to your computer

When you enter theblocksscreen in App Inventor, did you notice all the different categories of built-in functions? They look like this:

Using this method you will build apps on your computer using App Inventor and will test them on your phone by connecting it with a USB cord. You will need to download software onto your computer and the companion app onto your phone. If you are using a Windows computer, you may also need to download aUSB Driverfor your phone. For Macs, you do not need to worry about USB Drivers. Click below to view MITs instructions for the USB method. Click the button to view MITs instructions for the USB method.

You will most likely need to get a driver to have your phone work with your PC. Heres MITs documentation on how to install a driver

For this app you want to create a slideshow by allowing your user to navigate through images. When you design your screen, you will need to put an image as well as previous and next buttons for your user to click. This part will be done in the designer screen.

In Technovation, you will learn how to write algorithms to make a mobile app!

sensor to have make your phone repeat back or print out something you say to it!

– Step by step instructions for a computer to follow

Javascriptis used for creating interactive elements in webpages.

This is why App Inventor is called a blocks programming language. For every element that you put into the designer side of your app, you have to tell your computer what to do with it and when it should do it. This is known asevent handling.

Aneventis something that happens. You probably have heard the word event in terms of a friends birthday party or a school play. In coding, aneventis when something happens that should trigger the code to run. For example, it could be a users click on a button, a change in the orientation of the phone screen, or the user entering text into a text box. The way the computerhandlesthe event is whatever you tell it to do when the event happens.

This is the most technically difficult method to use and requires you to install software onto your computer. Choose this method if you have anAndroid phoneor tablet andno wifi.

What technology-related projects have you worked on, and what did you learn? Your mentor might have helped build the technology, develop the business model, or contributed in another way.

In this lesson, we covered a lot! You learned a lot of keywords to get you started and wrote your very first program! Here are some reflection questions for you to discuss with your mentor or team:

App Inventor is really easy to start using! You can design and program your app all from your computer and then test your app with an Android phone or an emulator.Your work will be saved on the App Inventor servers, so it will be there each time you log in.To learn more about App Inventor visitthis page.

App Inventoris a free web application that allows users to create apps for Android phones and tablets. You can access App Inventor using a web browser by going to

MacError

The build-in functions in App Inventor are the basis of what you will be using to write your app. All programming languages have built-in functions, and good programmers know how to combine these functions in order to get the computer to do what they want. Once you know how to use each of these functions, you can combine them in all different ways to make your app! You will learn how to use these functions inCode 2: Data and VariablesandCode 3: Logic, Loops and Conditionals.

If you have personal experience with a computer language, what did you use it for?

Here is a video to help you connect with an emulator:Using the Emulator

You can connect an Android phone or an emulator to test the app you built in App Inventor in three ways. If you have a phone you can connect it over wifi or through a USB port. If you dont have an Android phone, you can use an emulator, which is software that allows you to have a virtual phone on your computer. When you any these methods, App Inventor allows you to dolive testing,which means you can edit your app in App Inventor on your computer, and see those changes appear instantly on your phone or emulator. After you review these sections and set up your devices, you should wait until the activity below to get started building your first app.

App Inventor TextToSpeech Information

One you are set up and have everything working, go to theactivity.

Once you have a Gmail account, set up an account with App Inventorhere. After you setup your App Inventor account and log in come back to this page and go to the next section.

In this section you will learn how to use App Inventor to write an algorithm that an Android phone can understand! Heres what youll need to use App Inventor:

Android phone or tablet (optional but highly recommended)

You should look up what the correct driver is for your phone. MITs documentation will help you if you have a google phone.

Write an algorithm to do an everyday activity. It could be riding a bike, making a sandwich, playing a game or anything else! When you are done, give your algorithm to a friend and have them do exactly as it says, just like Jared does in the video. Did things go as you expected?

If you dont know anyone in the tech industry, watch these interviews with women engineers at Facebook and Google!

Leave a Comment