Google AppInventor implementation quickstart Chris Greenhalgh G54UBI / 2011-03-03 1Chris Greenhalgh

Slides:



Advertisements
Similar presentations
Android architecture overview 1 CS 150. Android  A software stack for mobile devices developed and managed by Open Handset Alliance  Free software under.
Advertisements

App Inventor Useful links:
Coursework 2: getting started (1) – running the phone emulator Chris Greenhalgh G54UBI / Chris Greenhalgh
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
Make your choice from more than 70 templates to get a quick start online!70 templates.
App Inventor Barb Ericson July 3, 2013.
The Creative Art of Programming © Copyright 2014 Barbara Ann Walters. All Rights Reserved.
Designing a mobile app Chris Greenhalgh G54UBI / Chris Greenhalgh
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Coursework 2: getting started (2) – using the phone emulator and browser Chris Greenhalgh G54UBI /
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Starting AppInventor in the Classroom Dale CAS Conference June 2011.
File sharing. Connect the two win 7 systems with LAN card Open the network.
Introduction to AppInventor Dr. José M. Reyes Álamo.
Programing App Inventor. Variable Declaration App Inventor: Declare Variables using the “Define Variable As” Block – Find the Blocks Editor (top-left),
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.
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.
Android Application Development 2013 PClassic Chris Murphy 1.
taskbar Notification area Start To change size of taskbar: RMC- uncheck Lock the taskbar Changing Properties : RMC- Properties.
Website Tutorial. Administration  Log on by clicking Login on the footer of almost any page  Your Username is.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Creating Mobile Apps with App Inventor! Day 5 Google search Kris Gordon Ludlow for links.
Mobile App Certification Course. In this course we will work you through on how you can start developing mobile apps for yourself or for many industries.
Scottish Legal Aid Board Content Management using OpenCms Martin Spinks CTO Navyblue Tuesday, March 16, 2010.
Android Apps: Look and Feel Module 6, Intro to I.T., Fall 2011 Sam Scott.
Copyright ©: SAMSUNG & Samsung Hope for Youth. All rights reserved Tutorials Software: Building apps Suitable for: Advanced.
CS 104 October 26, 2011 App Inventor. Agenda Discuss guest speakers Discuss quiz Finish Paint Pot Discuss concepts from Chapters 2 & 3 Mole Mash (if time.
 Understanding an activity  Starting an activity  Passing information between activities  Understanding intents  Understanding the activity lifecycle.
CS5103 Software Engineering Lecture 08 Android Development II.
Intro to AppInventor Dr. Dante Ciolfi (chawl fee).
Introduction to TouchDevelop
IE 411/511: Visual Programming for Industrial Applications
DUE Introduction to the Android Platform Working Connections 2011.
App Inventor MIT App Inventor.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Setting up and getting going with…. MIT App Inventor.
The Main Aim or Objective of the Project is to captured Real time Geo Co-ordinates with Geo- Tagged photograph of the 11 / 33 KVs North Bihar Power.
Implementing a mobile app: general strategy Chris Greenhalgh G54UBI / Chris Greenhalgh
How to get started with Excel VBA. We need to enable programming in Excel  the “Developer menu”
Introduction to Taverna Online and Interaction service Aleksandra Pawlik University of Manchester.
Compare and Contrast : Blackboard & a Personal Web Page www3.ltu.edu/~s_schneider/howto/faculty.htm You’ll find this presentation (and another) here :
Intoduction to Andriod studio Environment With a hello world program.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Lesson 1 – Getting Started with App Inventor
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
Weebly is Your Friend. * To Enhance And Promote Your Curriculum * To Provide A Student Resource * Add Efficiency to Your Planning * Informational * Promote.
 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.
Android 3: Exploring Apps and the Development Environment
Computing and Information Technology Building a Web Browser
Introduction to App Inventor 2 ASFA AP CS Principles
North Attleboro High School
App Inventor إعدادأشرف رفاعي أحمد
Forms Concepts Triggers Fired when Internal/External events occur
Introduction to working with Weebly
Elements Intro & Site Management
Visual Programming week # 01
Chapter 2 – Introduction to the Visual Studio .NET IDE
Starting AppInventor in the Classroom
Bomgar Remote support software
AppLab Studio.code.org.
Social Media And Global Computing Introduction to Visual Studio
CS5103 Software Engineering
Siebel Open UI Features & Updates
Introduction to AppInventor
Searching effective on Google
Presentation transcript:

Google AppInventor implementation quickstart Chris Greenhalgh G54UBI / Chris Greenhalgh

Implementation stages: design-led application-development 1.Create a new application 2.Create rough versions of the screens and screen elements 3.Implement basic navigation 4.Define domain model types (if used) 5.Define application (internal) state (e.g. global vars) 6.Create helper functions to update UI 7.Add sensor input (from test app) 8.Add complex UI elements 9.Complete/refine logic 10.Tidy up layout, content and look and feel 2Chris Greenhalgh

1. Create a new application 3Chris Greenhalgh

Log into App Inventor 4Chris Greenhalgh

Notes You’ll need to create a google account if you don’t already have one To log in you might have to explicitly enable cookies for – google.com – googlelabs.com E.g. for Windows/Internet explorer, Control panel >> Internet options >> Privacy >> Sites, Allow… Chris Greenhalgh

Create a project 6Chris Greenhalgh

The new project… 7Chris Greenhalgh

2. Create rough versions of the screens and screen elements 8Chris Greenhalgh

Add a vertical arrangement for each “screen” 9Chris Greenhalgh

Notes AppInventor currently only allows an application to have one “screen” – = Android “activity” But can create the effect of multiple screens by hiding/showing groups of elements – In this case the “vertical arrangements” 10Chris Greenhalgh

Create main elements and add to “screens” 11Chris Greenhalgh

12Chris Greenhalgh

Notes Clicking the “picture” property of an image allows you to add (i.e. upload) an image file – PNG, JPG Rename… the components so that you can identify them later by name only – E.g. “WelcomeScreen”, “WelcomeButton” 13Chris Greenhalgh

3. Implement basic navigation 14Chris Greenhalgh

Open the blocks editor… 15Chris Greenhalgh

Notes 16Chris Greenhalgh Allow the application to run:

…find (e.g.) the WelcomeButton under “My Blocks” and drag the “when ….Click” onto the canvas… 17Chris Greenhalgh

…and then (e.g.) the WelcomeScreen “set … Visible” into the “when ….Click” gap… 18Chris Greenhalgh

…from “Built in”, “Logic” drag “false” into the gap in “set … to”… 19Chris Greenhalgh

20Chris Greenhalgh

Try running it… 21Chris Greenhalgh

Notes If “Connect to device” reports “No available device” then click “New emulator” first The emulator may take a minute or two to start – “unlock” it when it has It may take a minute or so to connect; the app should then appear 22Chris Greenhalgh

Try clicking on start… The Welcome screen Part should disappear! 23Chris Greenhalgh

Notes Now go back to the editor and uncheck “visible” for all “screens” except the WelcomeScreen – They will then be hidden when the app starts – Press “Connect to Device” again to re-start the app In the blocks editor make “when WelcomeButton.Click” also do “set MainScreen.Visible to” “true” Repeat for other navigation buttons and screens 24Chris Greenhalgh

25Chris Greenhalgh

26Chris Greenhalgh

Notes You add temporary buttons to the UI to fake sensor input at this stage if you want to be able to check out sensor-driven navigation Chris Greenhalgh

4. Define domain model types (if used) – AppInventor doesn’t really support a domain model – no op 5. Define application (internal) state (e.g. global vars) – Nothing much at the moment… 6. Create helper functions to update UI – GPS update might be the only contender here 28Chris Greenhalgh

7. Add sensor input 29Chris Greenhalgh

Add a (invisible) location sensor 30Chris Greenhalgh

Notes Add a label to the main view for test output of latitude and longitude, e.g. 31Chris Greenhalgh

Simulating GPS in the emulator (1) Use a terminal program such as telnet to connect to the emulator – Emulator port is in corner of emulator window (5554) One of the supported commands is “geo nmea ….” Chris Greenhalgh

Simulating GPS in the emulator (2) Chris Greenhalgh A few programs will generate NMEA strings – i.e. the data from a GPS receiver Or you can log real GPS data Past the strings into the emulator console…

Simulating GPS in the emulator (3) The emulator now thinks it has a GPS lock and fires a GPS location update event Note: location accuracy is not simulated – Appears perfectly accurate Chris Greenhalgh

Work out the trigger regions… E.g. – A HTML/JS browser app to author polygonal zones and generate KML Chris Greenhalgh Long,lat pairs

Code region test logic on location change … Chris Greenhalgh

8.Add complex UI elements 9.Complete/refine logic 10.Tidy up layout, content and look and feel 37Chris Greenhalgh