drag & drop visual programming appinventor storia appinventor un esempio di drag & drop programming: Scratch

Похожие документы
drag & drop visual programming appinventor storia appinventor un esempio di drag & drop programming: Scratch

Downloading and Installing Software Socio TIS

Enel App Store - Installation Manual - Mobile

Nuovi strumenti per il coding App Inventor e Scratch for Arduino

LabVIEW (Laboratory Virtual Instrument Engineering Workbench)

WELCOME UNIPA REGISTRATION:

I CAMBIAMENTI PROTOTESTO-METATESTO, UN MODELLO CON ESEMPI BASATI SULLA TRADUZIONE DELLA BIBBIA (ITALIAN EDITION) BY BRUNO OSIMO

How to connect SL Controllers to your computer

PG5 Starter Training Applicazione File System Daniel Ernst EN Stefano Peracchi IT

KISSsoft 03/2014. Installazione di una licenza "floating" KISSsoft. KISSsoft AG Rosengartenstrasse Bubikon Switzerland

EVOMINI+ SET Guida all installazione

Giocare è tutto un programma!

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Installazione di EasyPhp. Avviare EasyPhp. La finestra di amministrazione di EasyPhp

Sommario. 4 Download e installazione. 6 Come sono organizzati i progetti 7 Il prato magico. 21 Lo stagno. 23 In fondo al mare

SINGLE THROTTLE ENGINE

Creazione macchina virtuale con WMware Player

WELCOME. Go to the link of the official University of Palermo web site Click on the box on the right side Login unico

Portale Materiali Grafiche Tamburini. Grafiche Tamburini Materials Portal

Resources and Tools for Bibliographic Research. Search & Find Using Library Catalogues

Esempio con Google Play tore Example with Google Play tore

CONFIGURATION MANUAL

INTRODUZIONE AD OMNET++

LE MACRO DI EXCEL PER TUTTE PDF

User Guide Guglielmo SmartClient

ITALIANO - WINDOWS XP

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Compatibilità del Portale Piaggio con Internet Explorer 10 e 11. Internet Explorer 10

Quando mi collego ad alcuni servizi hosting ricevo un messaggio relativo al certificato di protezione del sito SSL, come mai?

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

1) Collegarsi al sito FTP Scuola cliccando qui: ftp://ftp-scuola2000.local Connect to the follwig web site: ftp://ftp-scuola2000.

Finite Model Theory / Descriptive Complexity: bin

flexbox non ha direzione

CCTV DIVISION. Guida Alla Lettura del Numero Seriale, Codice Prodotto, Versione Firmware, Versione Software, Codice Libretto

Lezione 9: Come associare un modulo RTC ad Arduino

Mercoledì 21 Dicembre Coffee Break con Microsoft e NETMIND alla scoperta delle novità Office365

Horizone Server IN00B02WEB. Horizone PDK

UNIVERSITÀ DEGLI STUDI DI TORINO

Guida Google Cloud Print

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Scrigno Client Forms12 Setup

Installazione di VHOPE e dei file della libreria di VHOPE

Scheda di lavoro: micro:bit diventa un contapassi

GstarCAD 2010 Features

APP INVENTOR 2 CON DATABASE MYSQL (ITALIAN EDITION) BY ANTONIO TACCETTI

REGISTRATION GUIDE TO RESHELL SOFTWARE

Introduction. The Structure of a Compiler

Le presenti note si riferiscono esclusivamente alla procedura di installazione e di aggiornamento di Planet HR.

WECON Technology Co., Ltd. by M. Di Maio

Pensiero computazionale. Lezione 8 MIT AppInventor

Ela Execute. Procedura di installazione. in ambiente Windows 7 ( 32/64 bit ) Prodotto: Ela Execute Oggetto : Installazione Sw in Windows 7 (32/64 bit)

Aggiornamento dispositivo di firma digitale

PG5 Starter Training Applicazione Daniel Ernst EN Stefano Peracchi IT

Samsung Universal Print Driver Guida dell utente

Symantec IT Management Suite 8.0 powered by Altiris technology

Posta elettronica per gli studenti for the students

ELCART. Manuale di istruzioni/scheda tecnica. Alimentatore Switching 60W UPS 13/26500 (Mod. VIC-60-12UPS)

Attivazione di SketchUp Pro 2019

Argomenti Corso SAP ABAP Completo Individuale

WIFILAB ISTRUZIONI PER IL SETUP E L UTILIZZO DEL CLIENT VMWARE HORIZON (SISTEMA OPERATIVO OS X)

WINDOWS TERMINAL SERVER PER L ACCESSO REMOTO AL SISTEMA DI PROTOCOLLO INFORMATICO

SOTTOMISSIONE ABSTRACT. Come sottomettere un abstract al congresso SISVet tramite la piattaforma Easy Chair

Esercizi Svolti Di Programmazione Lineare Tomo G Pag 421 E

LA SACRA BIBBIA: OSSIA L'ANTICO E IL NUOVO TESTAMENTO VERSIONE RIVEDUTA BY GIOVANNI LUZZI

Progetto Remote Access

Argomenti Corso SAP Online ABAP Completo

Italia. Engli. XUM1541 setup for Windows 7 (32/64bit) Windows 8/8.1 (32/64 bit) Windows 10 (32/64 bit)

Pensiero computazionale. Lezione 10 MIT AppInventor

Транскрипт:

drag & drop visual programming appinventor realizzazione app per Google Android OS appinventor è un applicazione drag & drop visual programming Contrariamente ai linguaggi tradizionali (text-based programming languages) è basato su componenti visuali come blocchi e icone che sono utilizzate dall utenteprogrammatore mediante operazioni di drag-and-drop un esempio di drag & drop programming: Scratch Scratch è un linguaggio di programmazione che rende semplice creare storie interattive, animazioni, giochi, musica e arte e condividere le tue creazioni sul web. Quando i ragazzi creano e condividono i loro progetti Scratch, imparano importanti idee matematiche e computazionali e allo stesso tempo imparano a pensare creativamente, a ragionare con sistematicità e a lavorare in collaborazione. http://scratch.mit.edu/ appinventor storia È un semplice ambiente di sviluppo basato su piattaforma Java App Inventor faceva parte di Google Labs, luogo virtuale ove gli ingegneri di Google sviluppano le nuove applicazioni sperimentali, ma il 10 agosto 2011 Google ha comunicato che App Inventor sarebbe stato chiuso, cosa che è avvenuta il 31 dicembre 2011. Presentato da Google nel dicembre 2010 Utilizza la Open Blocks library di Java del MIT Simile a Scratch (altro lavoro del MIT) Ospitato dai server MIT nel gennaio 2012 Il sistema è stato preso in carico dal MIT Center for Mobile Learning che ora lo supporta con il nome "App Inventor Edu 1

la struttura di appinventor la struttura di appinventor Appinventor Designer permette di disegnare l interfaccia grafica e scegliere i componenti dell applicazione è una web application ospitata su un server del MIT tutti i dati risiedono sul server (cloud computing) E possibile installare in locale un server contenente la web application Appinventor Blocks Editor permette di associare le azioni agli eventi è una Java Web Start Application che opera sul client Emulatore per testare l applicazione senza la necessità di un dispositivo android Setup MIT App Inventor designer Il sito di riferimento è appinventor.mit.edu E necessario accedere con un account google Sul computer client deve essere presente Java Installare appinventor_setup_installer_v_x_y (scaricabile dal sito di appinventor) Un browser scelta dei componenti da trascinare sullo screen screen (interfaccia dell applicazione) Lista dei componenti proprietà del componente selezionato caricamento del blocks editor blocks editor Open the Blocks Editor per passare dal Designer al Blocks Editor Esegue il download del file che contiene la Java Web Start application che deve essere eseguita sul client 2

blocks editor (Java Web Start) programmazione Java Web Start (JavaWS, javaws o JAWS) è un framework sviluppato da Sun Microsystems (ora Oracle), che permette agli utenti di scaricare ed avviare applicazioni software per Java Platform direttamente da Internet utilizzando un browser web. Nel Blocks Editor si compongono i blocchi che associano agli eventi associati ai componenti le azioni da compiere Il software Java Web Start: Permette una facile attivazione delle applicazioni mediante un clic Garantisce che venga sempre eseguita l'ultima versione dell'applicazione Elimina le complicate procedure d'installazione e di aggiornamento test dell applicazione o collegare direttamente il device è possibile testare l applicazione mediante un emulatore android Variable Declara.on Server locale E possibile installare in locale il server di appinventor in modo da non necessitare di collegamento internet e accesso al sito appinventor.mit.edu App Inventor: Declare Variables using the Define Variable As Block Find the Blocks Editor (top- lec), click the Defini.on bufon, then pull out the correct block. Istruzioni: creare una cartella C.\AI4A copiare qui la cartella appengine-java-sdk-x.y.z copiare qui la cartella V1.4.6a.1 utilizzare il collegamento startai il server è raggiungibile all URI http://localhost:8888 3

Variable Assignment Assign a variable named count to 5 In App Inventor, use set global - to block in the My Blocks Menu Only available once defined your variable Drag the set global - to block out Create a number block by typing in 5 in the editor window Click 5 into the set global to block App Inventor Math using Variables Combine the Set-To Block with operators from the Built-In->Math Menu Count = 9 Count = 5 Count = 14 Count = 3 Count = 1 (modulo gives the remainder of division) Variable Ini.aliza.on You are forced to define a variables value when you declare it in App Inventor A general place for program ini.aliza.on is the When Screen1.Ini.alize block Note: Most Text- Based languages use the main() func;on as the start of the program For example, set count to 100 when the program starts: Implemen.ng an Equa.on in App Inventor Area of a Rectangle = Length * Width Step 1: What variables do we need? Area, Length, and Width Step 2: Declare them in App Inventor Step 3: Use Math. Operators to Implement Output: The Label Component Label show text. by the Text property. Text Background Color 4

Output: The Image Component Image show a picture by the Picture property. Picture Height Output: The Tex.ng Component Tex.ng A non- visible component to allow users to send and receive text messages. Message Phone Number Receiving Enabled (Does this also make the Tex.ng component a input?) Input: The BuFon Component BuFon show text. by the Text property. Text Background Color Input: The TextBox Component TextBox show text. by the Text property. Text Background Color If- Blocks 5

Nes.ng If and If- Else Blocks OCen.mes, we want to check if a prior condi.on is true, before checking another condi.on. Example: If x > 100, then check if y is < 100. If y < 100, then assign z to 1. If x <= 100, set z to 35. Implementa.on Step 1: Lamp Doesn t Work If- Block or If- Else Block? Why? Step 2: Lamp Plugged In? Step 3: Bulb Burned Out? Tips E possibile copiare e incollare un insieme di blocchi Ctrl C Ctrl V E possibile digitare un valore numerico o booleano e viene automaticamente creato il blocco Con click destro su un blocco è possibile associare un commento disattivare il blocco eseguire il blocco controllare il valore di una variabile 6