location based services, maps api and localization. devfest 2013
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
2013.09.28 DevFest 2013 @ KTM
LOCATION BASED APPSGOOGLE MAPS API
LOCALIZATION
Sudarshan Pantgplus.to/darshanz
“…smarter mobile devices that are more aware of its owner's location and preferences."
Location Based Android Apps
Google Maps Andriod API Localization in Android
WHY DEVELOP ANDROID APPS ?
1billion
total global activations
1.5 Mdaily global activations
LOCATION BASED SERVICES
GEO-FENCING PROXIMITY
CHECK-IN
Use of GPSSocial Mobile Apps
Enclosed BoundariesUtility, Marketing, Games
Use of WiFi, Network Cell TowersGames, User Engangement activities
Location Based Services in Mobile Apps
PLACE DISCOVERIESSOCIAL TRAVEL APPSGEO-SOCIALGEO-FENCINGAUGMENTED REALITY & GAMES
IN NEPAL
GEOGRAPHICAL DIVERSITY
TOURISM
MOBILE AS MOSTLY USED MEIDUM FOR INTERNET ACCESS
BUT
FEW LOCATION BASED APPS
GOOGLE MAPS FOR ANDROID API V2
LOCATION API
Fused location provider
Minimizes app's use of power
Immediate access to the best, most recent location.
LOCATION API
Activity recognition
Detects user's current physical activity, such as in vehicle, on foot, or standing still.
Optimized for battery
LOCATION API
Geofencing APIs
Setup geographic boundaries around specific locations
Ability to manage multiple geofences at the same time
WHAT’S NEW
Part of Google Play Services
WHAT’S NEW
No MapActivity required.Easy integration with Tablets.
MapFragment
WHAT’S NEW
Uses vector tilesSmaller data representation.Improved Caching
FASTER MAP LOADING
WHAT’S NEW
Maps with perspective.
3D Maps
DEVELOPMENT
Google API Console
DEVELOPMENT
Google API Console
DEVELOPMENT
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value=“G3N3R4T3G4R3K0M4P4P1K3YR4KHN3"/>
Use the api key in AndroidManifest File.
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
DEVELOPMENT
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
OpenGL ES version 2 Required
ATTRIBUTION
Attribution must be included .
GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo.
LOCALIZATION
No. Slide
LANGUAGES
Automatic Language Selectionbased on Device Configuration
CULTURE
TEXT ALIGNMENTS
AFFINITY TO PARTICULAR COLORS
USE OF GRAPHICS
CHOICE OF GRAPHICS
INTERACTION BEHAVIOUR
RESOURCE LOCALIZATIONUse Lanuguage and Region Qualifiers
enfrEn - rUSFr - rFRFr - rCAetc.
values-envalues-fr
valuesdrawableanim
RESOURCE
Locale qualifiers
SO WHAT ABOUT NEPALI ?
LOCALIZATION USING MCC/MNC
MCC and MNC QUALIFIERS
mcc429mcc429-mnc1mcc429-mnc2etc
NcellNT/NAMASTE
mcc429-mnc1 mcc429-mnc2
Referenceshttps://developer.android.com
http://en.wikipedia.org/wiki/Android_(operating_system)
DISCUSSION
Q & A
Sudarshan pantSr. Android Developer at Tek Tak Nepal
GDG KathmanduNepali Android Community
g+ : gplus.to/darshanz twitter : technoguff