realizzazione app per Google Android OS

Slides:



Advertisements
Presentazioni simili
Trieste, 26 novembre © 2005 – Renato Lukač Using OSS in Slovenian High Schools doc. dr. Renato Lukač LinuxDay Trieste.
Advertisements

We are in it together Living well with dementia the East Midlands. Keeping people with dementia and their carers at the heart of the regional strategy.
Windows Per questa parte: Elementi dell'interfaccia grafica.
Cache Memory Prof. G. Nicosia University of Catania
The Present Simple Form Use.
Teoria e Tecniche del Riconoscimento
Interfacce Java.
1 Teaching Cloud Computing and Windows Azure in Academia Domenico Talia UNIVERSITA DELLA CALABRIA & ICAR-CNR Italy Faculty Days 2010.
DG Ricerca Ambientale e Sviluppo FIRMS' FUNDING SCHEMES AND ENVIRONMENTAL PURPOSES IN THE EU STRUCTURAL FUNDS (Monitoring of environmental firms funding.
WSDL (Web Services Description Language) Laurea Magistrale in Informatica Reti 2 (2006/07) dott. Federico Paoloni
Sequential Statements. – Il VHDL simula lo svolgersi in parallelo di varie operazioni – Loggetto fondamentale e il PROCESS – Un PROCESS contiene una serie.
Italiano Da quando siamo passati al corso di metallurgia (3^o ) abbiamo cominciato a lavorare utilizzando i maniera didattica tecnologie di tipo hardware.
Grammar Tips. Meanings of verbs in the present May describe things that are continuing over a period of time.
Interrogativi Asking and answering questions in italiano.
1.E un algoritmo ricorsivo: Tutti le istanze di oggetti raggiungibili da un oggetto persistente diventano anchessi persistenti.
© and ® 2011 Vista Higher Learning, Inc.4B.2-1 Punto di partenza The verbs conoscere and sapere both mean to know. The choice of verb depends on its context.
Il presente del congiuntivo (the present subjunctive)
Il presente del congiuntivo (the present subjunctive)
Microsoft Robotics Studio Marco Petrucco Microsoft Student Partner - Udine.
Raffaele Cirullo Head of New Media Seconda Giornata italiana della statistica Aziende e bigdata.
Model – View - Controller
prompt> java SumAverage
Capitolo 5 adding images to your web pages. 2 JPEG.
Costruzione di Interfacce Lezione 10 Dal Java al C++ parte 1
TIPOLOGIA DELLE VARIABILI SPERIMENTALI: Variabili nominali Variabili quantali Variabili semi-quantitative Variabili quantitative.
Citrix Metaframe. Metaframe è la soluzione client-server prodotta dalla Citrix in grado di rendere disponibili applicazioni e desktop a qualsiasi dispositivo.
Infrastruttura & Competenze ICT ENEA
Fanno ormai parte della nostra vita di tutti i giorni….
2000 Prentice Hall, Inc. All rights reserved. 1 Capitolo 3 - Functions Outline 3.1Introduction 3.2Program Components in C++ 3.3Math Library Functions 3.4Functions.
2000 Prentice Hall, Inc. All rights reserved. 1 Capitolo 6: Classi e astrazione dati 1.Introduzione 2.Definizione delle strutture 3.Accedere ai membri.
FONDAMENTI DI INFORMATICA III WfMC-1. FONDAMENTI DI INFORMATICA III WfMC-2 WFMC Cose WfMC Workflow Management Coalition (WfMC), Brussels, è unorganizzazione.
VARO SRL LOGISTIC, QUALITY, SERVICE
ATE / 31 Lezione 3 i sistemi automatici di misurazione - gli ATE.
HERES OUR SCHOOL.. 32 years ago this huge palace was built and it was just the beginning; It is becoming larger and larger as a lot of students choose.
Players: 3 to 10, or teams. Aim of the game: find a name, starting with a specific letter, for each category. You need: internet connection laptop.
Componenti dell’architettura Oracle
By Inter-Ware Soft. Tech. Introduzione all'uso del PC Massimo Sgambato.
Il sistema operativo Sistema operativo (in breve) –È costituito dai programmi di gestione delle operazioni più elementari del computer –… gestione di vari.
TELEFONO CELLULLARE E SACRA BIBBIA CELLULAR PHONE AND HOLY BIBLE.
Project Review byNight byNight December 6th, 2011.
Guardate le seguenti due frasi:
MARCO PALLADINO RENZO YAKAR PROFESORESSA PM ITALIANO 1 CPA ORA 5 LUNEDÌ, IL SEIDICI DICEMBRE.
MIT AppInventor: Creazione di App su Android
You will see a very spectacular picture ? Vuoi vedere una roccia spettacolare ?
Funzioni stringhe. chr Restituisce il carattere di un valore ascii dato. Per vedere lelenco dei codici ascii clicca QQQQ uuuu iiiiEsempio
Enzo Anselmo Ferrari By Giovanni Amicucci. Di Enzo Questo è Enzo Anselmo Ferrari. Enzo compleanno è diciotto febbraio Enzo muore è quattordici agosto.
Visual Studio Tools for Office: Developer Solutions Platform Fulvio Giaccari MCSD.NET / MCT Responsabile Usergroup ShareOffice Blog:
Project Review Novembrer 17th, Project Review Agenda: Project goals User stories – use cases – scenarios Project plan summary Status as of November.
Project Review byNight byNight December 21th, 2011.
Project Review byNight byNight December 6th, 2011.
Project Review Novembrer 17th, Project Review Agenda: Project goals User stories – use cases – scenarios Project plan summary Status as of November.
Project Review byNight byNight December 5th, 2011.
Viaggiare Camminare in città Camminare in montagna Ascoltare musica Imparare litaliano Cucinare Fare sports Chiacchierare con gli amici Imparare cose nuove.
PLURALI - with NOUNS PAY ATTENTION TO THE ENDING OF THE NOUN! “O” ---> “I” ex) il quaderno -> i quaderni “A” ---> “E” ex) la matita -> le matite “E” --->
YOUR ITALIAN CV Step-by-step guide to create CURRICULUM VITAE in Italian language.
Passato Prossimo. What is it?  Passato Prossimo is a past tense and it is equivalent to our:  “ed” as in she studied  Or “has” + “ed” as in she has.
Lezione n°27 Università degli Studi Roma Tre – Dipartimento di Ingegneria Corso di Teoria e Progetto di Ponti – A/A Dott. Ing. Fabrizio Paolacci.
Italian 1 -- Capitolo 2 -- Strutture
Dynamic SQL.
Buon giorno Io sono Professoressa Kachmar. Buon giorno Io sono Professoressa Kachmar.
I giorni della settimana
Passato prossimo dei verbi riflessivi con Essere
MSc in Communication Sciences Program in Technologies for Human Communication Davide Eynard Facoltà di scienze della comunicazione Università della.
Do You Want To Pass Actual Exam in 1 st Attempt?.
App-to-Cloud Security
AusTel by taha.a.
Cyber Safety.
2018/9/ /9/11 USER ENVIRONMENT 1 1.
Studente : Andrea Cassarà Classe: 5AII A.S. 2014/2015 Link Sito
Transcript della presentazione:

realizzazione app per Google Android OS appinventor realizzazione app per Google Android OS

drag & drop visual programming 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’utente- programmatore 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 È 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. Il sistema è stato preso in carico dal MIT Center for Mobile Learning che ora lo supporta con il nome "App Inventor Edu”

storia 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

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

la struttura di appinventor

designer scelta dei componenti da trascinare sullo screen proprietà del componente selezionato screen (interfaccia dell’applicazione) Lista dei componenti

caricamento del 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

blocks editor

blocks editor (Java Web Start) 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. 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

“programmazione” Nel Blocks Editor si compongono i blocchi che associano agli eventi associati ai componenti le azioni da compiere

test dell’applicazione è possibile testare l’applicazione mediante un emulatore android

… o collegare direttamente il device

Variable Declaration App Inventor: Declare Variables using the “Define Variable As” Block Find the Blocks Editor (top-left), click the Definition button, then pull out the correct block.

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 Initialization

You are forced to define a variables value when you declare it in App Inventor A general place for program initialization is the “When Screen1.Initialize” block Note: Most Text-Based languages use the “main()” function as the start of the program For example, set count to 100 when the program starts:

Implementing an Equation 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 Components used to show text. Displays text specified by the Text property. Useful Properties Text Width Visible Background Color

Output: The Image Component Components used to show a picture Displays text specified by the Picture property. Useful Properties Picture Width Visible Height

Output: The Texting Component A non-visible component to allow users to send and receive text messages. Useful Properties Message Phone Number Receiving Enabled (Does this also make the Texting component a input?)

Input: The Button Component Components used to show text. Displays text specified by the Text property. Useful Properties Text Width Visible Background Color

Input: The TextBox Component Components used to show text. Displays text specified by the Text property. Useful Properties Text Width Visible Background Color

If-Blocks

Nesting If and If-Else Blocks Often times, we want to check if a prior condition is true, before checking another condition. 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.

Implementation 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