Location Based Services, Maps API and Localization. Devfest 2013
-
Upload
sudarshan-pant -
Category
Software
-
view
249 -
download
0
description
Transcript of Location Based Services, Maps API and Localization. Devfest 2013
![Page 1: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/1.jpg)
2013.09.28 DevFest 2013 @ KTM
![Page 2: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/2.jpg)
LOCATION BASED APPSGOOGLE MAPS API
LOCALIZATION
Sudarshan Pantgplus.to/darshanz
![Page 3: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/3.jpg)
“…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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/4.jpg)
Location Based Android Apps
Google Maps Andriod API Localization in Android
![Page 5: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/5.jpg)
WHY DEVELOP ANDROID APPS ?
![Page 6: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/6.jpg)
1billion
total global activations
1.5 Mdaily global activations
![Page 7: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/7.jpg)
LOCATION BASED SERVICES
![Page 8: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/8.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/9.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/10.jpg)
IN NEPAL
GEOGRAPHICAL DIVERSITY
TOURISM
MOBILE AS MOSTLY USED MEIDUM FOR INTERNET ACCESS
![Page 11: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/11.jpg)
BUT
FEW LOCATION BASED APPS
![Page 12: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/12.jpg)
GOOGLE MAPS FOR ANDROID API V2
![Page 13: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/13.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/14.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/15.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/16.jpg)
WHAT’S NEW
Part of Google Play Services
![Page 17: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/17.jpg)
WHAT’S NEW
No MapActivity required.Easy integration with Tablets.
MapFragment
![Page 18: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/18.jpg)
WHAT’S NEW
Uses vector tilesSmaller data representation.Improved Caching
FASTER MAP LOADING
![Page 19: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/19.jpg)
WHAT’S NEW
Maps with perspective.
3D Maps
![Page 20: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/20.jpg)
DEVELOPMENT
Google API Console
![Page 21: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/21.jpg)
DEVELOPMENT
Google API Console
![Page 22: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/22.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/23.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/24.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/25.jpg)
ATTRIBUTION
Attribution must be included .
GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo.
![Page 26: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/26.jpg)
LOCALIZATION
No. Slide
![Page 27: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/27.jpg)
LANGUAGES
Automatic Language Selectionbased on Device Configuration
![Page 28: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/28.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/29.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/30.jpg)
SO WHAT ABOUT NEPALI ?
![Page 31: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/31.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/32.jpg)
Referenceshttps://developer.android.com
http://en.wikipedia.org/wiki/Android_(operating_system)
![Page 33: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/33.jpg)
DISCUSSION
Q & A
![Page 34: Location Based Services, Maps API and Localization. Devfest 2013](https://reader035.fdocuments.net/reader035/viewer/2022062405/55849dadd8b42a0f5a8b4e98/html5/thumbnails/34.jpg)
Sudarshan pantSr. Android Developer at Tek Tak Nepal
GDG KathmanduNepali Android Community
g+ : gplus.to/darshanz twitter : technoguff