Introduction to AppInventor

Slides:



Advertisements
Similar presentations
Understanding an Apps Architecture ASFA Computer Science: Principles Fall 2013.
Advertisements

Android architecture overview 1 CS 150. Android  A software stack for mobile devices developed and managed by Open Handset Alliance  Free software under.
INTRODUCTION Chapter 1 1. Java CPSC 1100 University of Tennessee at Chattanooga 2  Difference between Visual Logic & Java  Lots  Visual Logic Flowcharts.
Daniel & Stephen SKH St. Mary’s Church Mok Hing Yiu College 1.
David Wolber, Computer Science App Inventor for Android Do-it-yourself App Creation.
App Inventor Barb Ericson July 3, 2013.
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
App Inventor Barb Ericson Georgia Tech
What is Android? Android is among the most popular operating systems aimed towards mobile devices such as smartphones, and is currently the most widely.
Introduction to AppInventor Dr. José M. Reyes Álamo.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 21: Publishing Your Pages on the Web.
SCERSIG: Creating Android Apps with App Inventor 26 October 2011 Ric Paul, Health Services Library, Southampton.
Programming with App Inventor Computing Institute for K-12 Teachers Summer 2012 Workshop.
How to Use App Inventor in Your Classroom Julie Friesen Piper Middle School Technology 6 th -8 th Grades Edmodo Group Code to Join for More Resources:
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
VoiceXML Builder Arturo Ramirez ACS 494 Master’s Graduate Project May 04, 2001.
DUE Introduction to the Android Platform and AppInventor Working Connections 2012.
Android Apps: Look and Feel Module 6, Intro to I.T., Fall 2011 Sam Scott.
ACS-1805 Introduction to Programming 1805 introduces students to programming using technology for creating programs that run on Android devices. Android:
Copyright ©: SAMSUNG & Samsung Hope for Youth. All rights reserved Tutorials Software: Building apps Suitable for: Advanced.
Introduction to Programming App Inventor. ? You’re on your regular running route, just jogging along, and an idea for the next killer mobile app hits.
JavaScript & jQuery the missing manual Chapter 11
EMT1111 Logic and Problem Solving Fall 2012 Dr. José M. Reyes Álamo Lecture 1.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Daniel, Stephen & Thomson 1. » Easy for learners to create mobile apps for Android smart phones » Visually fitting together puzzle piece-shaped "programming.
Intro to AppInventor Dr. Dante Ciolfi (chawl fee).
Operating system for mobile devices with a Java programming interface. Provides tools, e.g. a compiler, debugger, device emulator, and its own Java Virtual.
EMT1111 Logic and Problem Solving Dr. José M. Reyes Álamo Lecture 1.
DUE Introduction to the Android Platform Working Connections 2011.
App Inventor MIT App Inventor.
Programming Concept Chapter I Introduction to Java Programming.
1 Programming Fundamentals AITI-GP. 2 Introduction to Programming.
How to Run a Java Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
How to Run a Java Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Setting up and getting going with…. MIT App Inventor.
CSE S. Tanimoto Java Introduction 1 Java A Programming Language for Web-based Computing with Graphics.
Selenium January Selenium course content  Introduction (Session-1)Session-  Automation  What is automation testing  When to go for automation.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
Procedural programming Procedural programming is where you specify the steps required. You do this by making the program in steps. Procedural programming.
IN THIS LESSON WE WILL REVIEW THE STRUCTURE OF THE INTERNET AND HOW BROWSERS ASSEMBLE WEBSITES BASED ON INSTRUCTIONS THEY RECEIVE FROM SERVERS. Internet.
Lesson 1 – Getting Started with App Inventor
 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.
Introduction to Programming and App Inventor. Introduction What is a computer program? Introducing App Inventor Getting hands on with App Inventor.
Daniel, Stephen & Thomson
Introducing IBM Rational Software Architect
North Attleboro High School
App Inventor إعدادأشرف رفاعي أحمد
John Woodward A Simple Program – Hello world
Obtaining the Required Tools
Learning to Program D is for Digital.
HOW TO SEND A GIANT 1GB FILE USING DROPBOX.
Introduction to Event-Driven Programming
Event-driven programming
Computing.
Visual Programming week # 02 APP (Application) Architecture.
Starting AppInventor in the Classroom
Eclipse Navigation & Usage.
Exceptions, Interfaces & Generics
Understanding an App’s Architecture
CMPE419 Mobile Application Development
Lesson 1: Buttons and Events – 12/18
MIT App Inventor By Hans Yip.
Understanding an App’s Architecture
How to Run a Java Program
AppInventor android development for everyone
CS285 Introduction - Visual Basic
How to Run a Java Program
Constructors, GUI’s(Using Swing) and ActionListner
(Computer fundamental Lab)
CMPE419 Mobile Application Development
Presentation transcript:

Introduction to AppInventor Dr. José M. Reyes Álamo

Agenda What is AppInventor? AppInventor setup Event Driven Programming Components and properties Events and event handlers Calling built-in function blocks Reference Documentation site

What is AppInventor? App Inventor is a visual "blocks" language for programming mobile apps.  Android apps.

What is AppInventor? The App Inventor servers store your work and help you keep track of your projects. App Inventor lets you develop applications for Android phones using a web browser and either a connected phone or emulator.

What is it? You build apps by working with: The App Inventor Designer, where you select the components for your app. The App Inventor Blocks Editor, where you assemble program blocks that specify how the components should behave.

Your app appears on the phone step-by-step as you Your app appears on the phone step-by-step as you add pieces to it, so you can test your work as you build. When you're done, you can package your app and produce a stand-alone application to install. If you don't have an Android phone, you can build your apps using the Android emulator, software that runs on your computer and behaves just like the phone. What is it?

Java vs AppInventor Java Code AppInventor public class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!");  }

Can you guess what these blocks do?

Why App Inventor Works No typing of code, no syntax errors. Events at first level Like putting together a puzzle (only some pieces fit) High-level-- the Google team has put a lot of work in it Concrete, less abstract

No silver bullet Can't build everything user interface not all phone features available Programming is still hard work! Programming is an intellectually rigorous discipline that requires a lot of practice.

The component Designer, Blocks Editor and Emulator

Installing AppInventor

Before you try to create an app http://appinventor.mit.edu/explore/content/setup-mit-app-inventor.html

Before you try to create an app General documentation is included.

Your first AppInventor App Your first app: “Hello Purr”

To have credit for each app you develop You should create a page for each application, containing the following: A description about what the app does Screenshots of the app running Screenshots of the Blocks diagram Show your app running to the Professor Take a look a these examples: https://sites.google.com/site/dmushailov/ https://sites.google.com/site/jianhliportafolio/kittypurr

From the AppInventor FAQ’s Can I share project code with other App Inventor users? Yes. To share a project, go to the My Projects page, select a project, then choose More Actions | Download Source. This will create a zip file that you can share with others. To upload a project, go to My Projects, choose More Actions | Upload Source, and choose a zip file previously downloaded from App Inventor.  Can I share my apps with other Android users? Yes. To share an app, you first need to obtain an Android Package (.apk) file, which you can do by going to the My Projects page, clicking on the name of the app you want to share (which will take you to the Design page), and selecting Package for Phone | Download to this Computer. You can then email the app to your friends, who can install it by opening the email from their phone, or you can upload it to a website that both you and your friend can access. Note that they will need to change the settings of their phone to allow installation of non-Market applications. http://experimental.appinventor.mit.edu/learn/userfaq.html

Components

What is an App? From the user perspective? From the programmer perspective? It is like recipe Bank transaction Update user account Every body has an idea of what an app is, for you what is an app? From the programmer perspective it is like the recipe (ingredients and directions or instructions) Print balance

App architecture

Components Components are objects or elements used to create an application.

Events In computer programming, event-driven programming or event-based programming is a programming paradigm in which the flow of the program is determined by events—i.e., sensor outputs or user actions (mouse clicks, key presses) or messages from other programs or threads.

Event handler The functions performed in response to an event. When an event happens, the corresponding event handler is invoked. Every component has a certain set of built-in functions that handle some events. For example, the button component has a .Click event handler. This built-in function called Event handlers are programmable, meaning that programmers put the instructions they want to be executed when the corresponding event happens. In other words, programmers state the reactive behavior the app should take to the corresponding events.

Behaviors A behavior defines how the app should respond to the events, both user initiated (e.g., button click) and external (e.g., an SMS text arrives to the phone).

OpenLab and Blackboard Check OpenLab for any new lab. Check Blackboard for any new quiz.