Location Based Services, Maps API and Localization. Devfest 2013

34
2013.09.28 DevFest 2013 @ KTM

description

Location Based Services, Maps API and Localization. Speaker session at Devfest 2013, Kathmandu. Short intro to Location based services and android development using Google Maps Api and Localization of apps. Short talk about developing location based apps in context of Nepal.

Transcript of Location Based Services, Maps API and Localization. Devfest 2013

Page 1: Location Based Services, Maps API and Localization. Devfest 2013

2013.09.28 DevFest 2013 @ KTM

Page 2: Location Based Services, Maps API and Localization. Devfest 2013

LOCATION BASED APPSGOOGLE MAPS API

LOCALIZATION

Sudarshan Pantgplus.to/darshanz

Page 3: Location Based Services, Maps API and Localization. Devfest 2013

“…smarter mobile devices that are more aware of its owner's location and preferences."

Page 4: Location Based Services, Maps API and Localization. Devfest 2013

Location Based Android Apps

Google Maps Andriod API Localization in Android

Page 5: Location Based Services, Maps API and Localization. Devfest 2013

WHY DEVELOP ANDROID APPS ?

Page 6: Location Based Services, Maps API and Localization. Devfest 2013

1billion

total global activations

1.5 Mdaily global activations

Page 7: Location Based Services, Maps API and Localization. Devfest 2013

LOCATION BASED SERVICES

Page 8: Location Based Services, Maps API and Localization. Devfest 2013

GEO-FENCING PROXIMITY

CHECK-IN

Use of GPSSocial Mobile Apps

Enclosed BoundariesUtility, Marketing, Games

Use of WiFi, Network Cell TowersGames, User Engangement activities

Page 9: Location Based Services, Maps API and Localization. Devfest 2013

Location Based Services in Mobile Apps

PLACE DISCOVERIESSOCIAL TRAVEL APPSGEO-SOCIALGEO-FENCINGAUGMENTED REALITY & GAMES

Page 10: Location Based Services, Maps API and Localization. Devfest 2013

IN NEPAL

GEOGRAPHICAL DIVERSITY

TOURISM

MOBILE AS MOSTLY USED MEIDUM FOR INTERNET ACCESS

Page 11: Location Based Services, Maps API and Localization. Devfest 2013

BUT

FEW LOCATION BASED APPS

Page 12: Location Based Services, Maps API and Localization. Devfest 2013

GOOGLE MAPS FOR ANDROID API V2

Page 13: Location Based Services, Maps API and Localization. Devfest 2013

LOCATION API

Fused location provider

Minimizes app's use of power

Immediate access to the best, most recent location.

Page 14: Location Based Services, Maps API and Localization. Devfest 2013

LOCATION API

Activity recognition

Detects user's current physical activity, such as in vehicle, on foot, or standing still.

Optimized for battery

Page 15: Location Based Services, Maps API and Localization. Devfest 2013

LOCATION API

Geofencing APIs

Setup geographic boundaries around specific locations

Ability to manage multiple geofences at the same time

Page 16: Location Based Services, Maps API and Localization. Devfest 2013

WHAT’S NEW

Part of Google Play Services

Page 17: Location Based Services, Maps API and Localization. Devfest 2013

WHAT’S NEW

No MapActivity required.Easy integration with Tablets.

MapFragment

Page 18: Location Based Services, Maps API and Localization. Devfest 2013

WHAT’S NEW

Uses vector tilesSmaller data representation.Improved Caching

FASTER MAP LOADING

Page 19: Location Based Services, Maps API and Localization. Devfest 2013

WHAT’S NEW

Maps with perspective.

3D Maps

Page 20: Location Based Services, Maps API and Localization. Devfest 2013

DEVELOPMENT

Google API Console

Page 21: Location Based Services, Maps API and Localization. Devfest 2013

DEVELOPMENT

Google API Console

Page 22: Location Based Services, Maps API and Localization. Devfest 2013

DEVELOPMENT

<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value=“G3N3R4T3G4R3K0M4P4P1K3YR4KHN3"/>

Use the api key in AndroidManifest File.

Page 23: Location Based Services, Maps API and Localization. Devfest 2013

DEVELOPMENT

<uses-permission android:name="android.permission.INTERNET"/><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/><uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/><uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

Permissions

Page 24: Location Based Services, Maps API and Localization. Devfest 2013

DEVELOPMENT

<uses-feature android:glEsVersion="0x00020000" android:required="true"/>

OpenGL ES version 2 Required

Page 25: Location Based Services, Maps API and Localization. Devfest 2013

ATTRIBUTION

Attribution must be included .

GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo.

Page 26: Location Based Services, Maps API and Localization. Devfest 2013

LOCALIZATION

No. Slide

Page 27: Location Based Services, Maps API and Localization. Devfest 2013

LANGUAGES

Automatic Language Selectionbased on Device Configuration

Page 28: Location Based Services, Maps API and Localization. Devfest 2013

CULTURE

TEXT ALIGNMENTS

AFFINITY TO PARTICULAR COLORS

USE OF GRAPHICS

CHOICE OF GRAPHICS

INTERACTION BEHAVIOUR

Page 29: Location Based Services, Maps API and Localization. Devfest 2013

RESOURCE LOCALIZATIONUse Lanuguage and Region Qualifiers

enfrEn - rUSFr - rFRFr - rCAetc.

values-envalues-fr

valuesdrawableanim

RESOURCE

Locale qualifiers

Page 30: Location Based Services, Maps API and Localization. Devfest 2013

SO WHAT ABOUT NEPALI ?

Page 31: Location Based Services, Maps API and Localization. Devfest 2013

LOCALIZATION USING MCC/MNC

MCC and MNC QUALIFIERS

mcc429mcc429-mnc1mcc429-mnc2etc

NcellNT/NAMASTE

mcc429-mnc1 mcc429-mnc2

Page 32: Location Based Services, Maps API and Localization. Devfest 2013

Referenceshttps://developer.android.com

http://en.wikipedia.org/wiki/Android_(operating_system)

Page 33: Location Based Services, Maps API and Localization. Devfest 2013

DISCUSSION

Q & A

Page 34: Location Based Services, Maps API and Localization. Devfest 2013

Sudarshan pantSr. Android Developer at Tek Tak Nepal

GDG KathmanduNepali Android Community

g+ : gplus.to/darshanz twitter : technoguff