The document provides information about a talk on Google Maps Mobile. It includes:
- An introduction to location-based mobile apps and trends in social and local mobile usage.
- An overview of sensors and location services on Android devices that enable location-based apps.
- Details on the Google Maps API and how it can be used to add maps, markers, overlays and indoor maps to mobile apps.
- Examples of location-based mobile apps like My Tracks, Field Trip and Ingress that utilize the Google Maps API.
- Resources for developing location-based apps using Google Maps.
2. about.me/fpassantino
Dal 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.
2
6. 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.
7. 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 locationbased 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.
8. 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
10. Sensor types supported by the Android
Sensor
Type
TYPE_ACCELER Hardware
OMETER
TYPE_AMBIEN Hardware
T_TEMPERATU
RE
TYPE_GRAVITY Software or
Hardware
TYPE_GYROSC Hardware
OPE
TYPE_LIGHT Hardware
Description
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.
Measures the ambient room temperature in degrees
Celsius (°C). See note below.
Common Uses
Motion detection (shake,
tilt, etc.).
Measures the force of gravity in m/s2 that is applied to a
device on all three physical axes (x, y, z).
Measures a device's rate of rotation in rad/s around each
of the three physical axes (x, y, and z).
Measures the ambient light level (illumination) in lx.
Motion detection (shake,
tilt, etc.).
Rotation detection (spin,
turn, etc.).
Controlling screen
brightness.
Monitoring acceleration
along a single axis.
TYPE_LINEAR_ Software or Measures the acceleration force in m/s2 that is applied
ACCELERATION Hardware to a device on all three physical axes (x, y, and z),
excluding the force of gravity.
Monitoring air
temperatures.
http://developer.android.com/guide/topics/sensors/sensors_overview.html
10
11. Sensor
Type
Description
Common Uses
TYPE_MA Hardware Measures the ambient geomagnetic field for all three physical Creating a compass.
GNETIC_FI
axes (x, y, z) in μT.
ELD
TYPE_ORIE Software Measures degrees of rotation that a device makes around all
NTATION
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.
TYPE_PRES Hardware Measures the ambient air pressure in hPa or mbar.
SURE
TYPE_PRO Hardware Measures the proximity of an object in cm relative to the view
XIMITY
screen of a device. This sensor is typically used to determine
whether a handset is being held up to a person's ear.
TYPE_RELA Hardware Measures the relative ambient humidity in percent (%).
TIVE_HUM
IDITY
TYPE_ROT Software Measures the orientation of a device by providing the three
ATION_VE or
elements of the device's rotation vector.
CTOR
Hardware
TYPE_TEM Hardware Measures the temperature of the device in degrees Celsius
PERATURE
(°C). This sensor implementation varies across devices and
this sensor was replaced with the
TYPE_AMBIENT_TEMPERATURE sensor in API Level 14
Determining device
position.
Monitoring air pressure
changes.
Phone position during a
call.
Monitoring dewpoint,
absolute, and relative
humidity.
Motion detection and
rotation detection.
Monitoring temperatures.
11
23. Android location services
• Fused location provider
• Activity recognition
– A piedi
– In bici
– In auto
• Geofencing
23
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
24
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.
26
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.
27
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.
28