Google Maps Mobile

36
Google Maps Mobile Palermo, 22 novembre 2013 Francesco Passantino [email protected] about.me/fpassantino

description

Slide presentate al Workshop “Mobility, behaviours: apps”, organizzato dall'Associazione PUSH nell'ambito del progetto trafficO2, svoltosi il 22 novembre 2013 a Palazzo Steri, Palermo. Info: http://www.wepush.org/mobility-behaviours-apps/

Transcript of Google Maps Mobile

Page 1: Google Maps Mobile

Google Maps Mobile

Palermo, 22 novembre 2013

Francesco [email protected]/fpassantino

Page 2: Google Maps Mobile

2

about.me/fpassantinoDal 1990 ricercatore, consulente e formatore nel campo della ICT.

Ha fondato e lavorato per diverse startup. Valutatore di imprese per banche ed altri enti. Ha fondato il Google Developer Group di Palermo e co-fondato il progetto Sementor.

È ambassandor del progetto Working Capital di Telecom Italia e della Maker Faire Rome. Ha partecipato a StartupBus 2013 qualificandosi per le finali al Pioneers Festival di Vienna. Sta organizzando la Palermo Startup Weekend.

Svolge attività di Digital Strategist, con specializzazione in servizi Social Local Mobile.

Page 3: Google Maps Mobile

3

Programma

• Intro• Sensors & Location Services• Maps API• Casi & Risorse

Page 4: Google Maps Mobile

4

INTROGoogle Maps Mobile

Page 5: Google Maps Mobile
Page 6: Google Maps Mobile

Stats 1/2

• A new report from Juniper Research finds that the continuing increase in smartphone adoption and the rise of geosocial networking will push the number of mobile social media users from 650 million this year to 1.3 billion by 2016; more than the total number of social media users on all platforms today.

Page 7: Google Maps Mobile

Stats 2/2

• A new study conducted by the Pew Internet & American Life Project found that:– Smartphone adoption has grown from 35% in 2011 to 46%

in 2012, bringing with it more access to location-based apps and services.

– about 74% of smartphone users use location-based services to find out information about what’s around them.

– In addition, one in five (18%) are checking in to local businesses — from restaurants to movie theaters — with geo-social services such as Foursquare, up from 12% in 2011.

Page 8: Google Maps Mobile

SoLoMo

• Le statistiche di Google dicono che gli utenti fanno 3 miliardi di ricerche sul motore ogni mese e che il 40% di esse ha scopi locali.

• La nuova parola chiave è “SoLoMo”la convergenza delle piattaforme SOcial, LOcal

Page 9: Google Maps Mobile

9

SENSORS & LOCATION SERVICESGoogle Maps Mobile

Page 10: Google Maps Mobile

10

Sensor types supported by the Android

http://developer.android.com/guide/topics/sensors/sensors_overview.html

Sensor Type Description Common UsesTYPE_ACCELEROMETER

Hardware Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), including the force of gravity.

Motion detection (shake, tilt, etc.).

TYPE_AMBIENT_TEMPERATURE

Hardware Measures the ambient room temperature in degrees Celsius (°C). See note below.

Monitoring air temperatures.

TYPE_GRAVITY Software or Hardware

Measures the force of gravity in m/s2 that is applied to a device on all three physical axes (x, y, z).

Motion detection (shake, tilt, etc.).

TYPE_GYROSCOPE

Hardware Measures a device's rate of rotation in rad/s around each of the three physical axes (x, y, and z).

Rotation detection (spin, turn, etc.).

TYPE_LIGHT Hardware Measures the ambient light level (illumination) in lx. Controlling screen brightness.

TYPE_LINEAR_ACCELERATION

Software or Hardware

Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), excluding the force of gravity.

Monitoring acceleration along a single axis.

Page 11: Google Maps Mobile

11

Sensor Type Description Common UsesTYPE_MAGNETIC_FIELD

Hardware Measures the ambient geomagnetic field for all three physical axes (x, y, z) in μT.

Creating a compass.

TYPE_ORIENTATION

Software Measures degrees of rotation that a device makes around all three physical axes (x, y, z). As of API level 3 you can obtain the inclination matrix and rotation matrix for a device by using the gravity sensor and the geomagnetic field sensor in conjunction with the getRotationMatrix() method.

Determining device position.

TYPE_PRESSURE

Hardware Measures the ambient air pressure in hPa or mbar. Monitoring air pressure changes.

TYPE_PROXIMITY

Hardware Measures the proximity of an object in cm relative to the view screen of a device. This sensor is typically used to determine whether a handset is being held up to a person's ear.

Phone position during a call.

TYPE_RELATIVE_HUMIDITY

Hardware Measures the relative ambient humidity in percent (%). Monitoring dewpoint, absolute, and relative humidity.

TYPE_ROTATION_VECTOR

Software or Hardware

Measures the orientation of a device by providing the three elements of the device's rotation vector.

Motion detection and rotation detection.

TYPE_TEMPERATURE

Hardware Measures the temperature of the device in degrees Celsius (°C). This sensor implementation varies across devices and this sensor was replaced with the TYPE_AMBIENT_TEMPERATURE sensor in API Level 14

Monitoring temperatures.

Page 12: Google Maps Mobile

12

Application listens for location updates

Page 13: Google Maps Mobile

13

Listening stops when the user consumes the current location

Page 14: Google Maps Mobile

14

A dynamic set of data is updated each time the user location updates

Page 15: Google Maps Mobile

15

Sensor availability by platform

Page 16: Google Maps Mobile

16

APIGoogle Maps Mobile

Page 17: Google Maps Mobile

17

La Mappa

Page 18: Google Maps Mobile

18

Aggiungere elementi alla Mappa

Page 19: Google Maps Mobile

19

Aggiungere overlay

Page 20: Google Maps Mobile

20

Marker personalizzati ed animati

Page 21: Google Maps Mobile

21

Mappe indoor

https://support.google.com/gmm/answer/1685827?hl=en

Page 22: Google Maps Mobile

22

Streetview interattivo (iOS)

Page 23: Google Maps Mobile

23

Android location services

• Fused location provider• Activity recognition– A piedi– In bici– In auto

• Geofencing

Page 24: Google Maps Mobile

24

Google Maps API Webservices• Places API: Find detailed information (including photos) about more

than 100 million businesses and points of interest across a wide range of categories (restaurants, parks, hospitals, ...)

• Directions API: Search for transit, driving, walking or cycling directions using text strings (e.g. "Chicago, IL") or latitude/longitude coordinates for origins, destinations, and waypoints

• Elevation API: Query locations on the Earth for elevation data. You may request sampled elevation data along paths, allowing you to calculate elevation changes along routes

• Geocoding, Static Imagery, Distance Matrix, Timezone

Page 25: Google Maps Mobile

25

CASI & RISORSEGoogle Maps Mobile

Page 26: Google Maps Mobile

26

My Tracks

My Tracks registra il percorso, la velocità, la distanza e il dislivello mentre cammini, corri, vai in bicicletta o fai qualsiasi altra cosa all'aperto. Durante la registrazione, puoi visualizzare i dati in tempo reale, annotare il percorso e ascoltare annunci vocali a intervalli regolari sui dati che vengono registrati.

Page 27: Google Maps Mobile

27

Field Trip

Field Trip è la tua guida per scoprire posti interessanti, nascosti e unici nei dintorni. Field Trip viene eseguito in background sul telefono. Quando ti avvicini a qualcosa di interessante, l'app apre una scheda con i dettagli sul luogo. Non è necessario fare clic. Se hai gli auricolari o sei connesso tramite Bluetooth, l'app può persino leggerti le informazioni.

Page 28: Google Maps Mobile

28

Ingress

Ingress trasforma il mondo reale nel paesaggio di un gioco globale fatto di mistero, intrighi e rivalità. Spostati nel mondo reale utilizzando il tuo dispositivo Android e l'app Ingress. Acquisisci oggetti utili per la tua ricerca, distribuisci tecnologia per conquistare territori e alleati con altri giocatori per portare avanti la causa degli Illuminati o della Resistenza.

Page 29: Google Maps Mobile

29

Risorse Google

• http://developers.google.com/maps • http://googlegeodevelopers.blogspot.com • http://developers.google.com/live/maps • https

://www.google.com/intl/en/maps/about/explore/mobile/• http://www.youtube.com/watch?v=_oZiK_NJuG8• https://github.com/googlemaps/repositories• http://mapicons.nicolasmollet.com/• http://www.youtube.com/watch?v=nb2X9IjjZpM• http://www.slideshare.net/Codemotion/kasia-derc-fenske

Page 30: Google Maps Mobile

30

FUNGoogle Maps Mobile

Page 31: Google Maps Mobile
Page 32: Google Maps Mobile
Page 33: Google Maps Mobile
Page 34: Google Maps Mobile
Page 35: Google Maps Mobile
Page 36: Google Maps Mobile

36