Upcoming SlideShare
×

# Rəcəb Davudov - Developing location based services on Android

1,958 views

Published on

1 Like
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total views
1,958
On SlideShare
0
From Embeds
0
Number of Embeds
494
Actions
Shares
0
45
0
Likes
1
Embeds 0
No embeds

No notes for slide
• Three satellites might seem enough to solve for position since space has three dimensions and a position near the Earth&apos;s surface can be assumed. However, even a very small clock error multiplied by the very large speed of light [32]  — the speed at which satellite signals propagate — results in a large positional error.
• Three satellites might seem enough to solve for position since space has three dimensions and a position near the Earth&apos;s surface can be assumed. However, even a very small clock error multiplied by the very large speed of light [32]  — the speed at which satellite signals propagate — results in a large positional error.
• You should have Java development experience and usage experience for Eclipse
• Kimdeki pramoy gorsenmir, other… -den Android-&gt;Android Project secebilerler
• ### Rəcəb Davudov - Developing location based services on Android

1. 1. Developing Location Based Applications for Android Rajab Davudov
2. 2. Outline <ul><ul><li>Introduction </li></ul></ul><ul><ul><li>GPS, aGPS and Google Maps API </li></ul></ul><ul><ul><li>Starred Applications </li></ul></ul><ul><ul><li>Sample Application Tutorial </li></ul></ul>
3. 3. Application Areas <ul><ul><li>Navigation Tools </li></ul></ul><ul><ul><li>Tracking Applications </li></ul></ul><ul><ul><ul><li>Truck/Car </li></ul></ul></ul><ul><ul><ul><li>Person </li></ul></ul></ul><ul><ul><ul><li>Bus/Metro tracking </li></ul></ul></ul><ul><ul><li>Emergency Applications (Accident, Fire etc.) </li></ul></ul><ul><ul><li>Location Based Advertisements and Discounts </li></ul></ul><ul><ul><li>Location Based Personalization </li></ul></ul>
4. 4. Application Areas <ul><ul><li>Nearest Shop/Office Applications </li></ul></ul><ul><ul><li>Geospatial Analysis </li></ul></ul><ul><ul><li>Social Integration Applications </li></ul></ul><ul><ul><ul><li>GeoTagging (locations, pictures, videos) </li></ul></ul></ul><ul><ul><li>Personal Metering Applications </li></ul></ul><ul><ul><ul><li>Car </li></ul></ul></ul><ul><ul><ul><li>Biking </li></ul></ul></ul><ul><ul><ul><li>Running </li></ul></ul></ul><ul><ul><li>Spy Applications (not recommended) </li></ul></ul>
5. 5. Global Positioning System and Maps API
6. 6. assisted - GPS
7. 7. Starred Applications cab4me Beetaun Google Maps 100,000,000 - 500,000,000 100,000 - 500,000
8. 8. Starred Applications Car Locator SpotMessage iNap: Arrival Alert 100,000 - 500,000 5,000 - 10,000 5,000 - 10,000
9. 9. Speedometer Applications Ulysse Speedometer GPS Speedo AzSpeedoMeter
10. 10. Other Applications <ul><ul><li>Azercell with CaspianNavTel ( Symbian and Windows Mobile) </li></ul></ul><ul><ul><li>http://yerler.im/ </li></ul></ul>
11. 11. Requirements <ul><ul><li>Eclipse </li></ul></ul><ul><ul><li>Android SDK </li></ul></ul>ToDo List : <ul><ul><li>new Android Application </li></ul></ul><ul><ul><li>Modify source files, AndroidManifest and layout xml </li></ul></ul><ul><ul><li>Sign for Google Maps API Key </li></ul></ul><ul><ul><li>new Android Device </li></ul></ul><ul><ul><li>run MapDemo Application on Device </li></ul></ul>Sample Application Tutorial
12. 12. Create an empty Android Application
13. 13. New Android Project Google APIs
14. 14. Folder Structure MapDemo.java main.xml AndroidManifest.xml
15. 15. AndroidManifest.xml
16. 16. MapDemo.java – Initial Java Source
17. 17. MapDemo.java – add LocationListener MapActivity LocationListener onLocationChanged
18. 18. res/layout/main.xml – add MapView to layout
19. 19. MapDemo.java – update MapView with LocationListener MapView MapController
20. 20. Obtaining a Maps API Key <ul><ul><li>Find MD5 fingerprint for keystore </li></ul></ul><ul><ul><li>Sign up for API Key from web site </li></ul></ul>
21. 21. Window -> Preferences
22. 22. Get MD5 Fingerprint (Java 6) > keytool -list -alias androiddebugkey -keystore debug.keystore - storepass android -keypass android Get MD5 Fingerprint (Java 7) > keytool -v -list -alias androiddebugkey -keystore debug.keystore - storepass android -keypass android