Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Rajab Davudov - Developing Location Based Applications for Android

2,084 views

Published on

Rajab Davudov - Developing Location Based Applications for Android

Published in: Technology, Business
  • Be the first to comment

Rajab Davudov - Developing Location Based Applications for 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
  23. 23. Sign up for Google Map API Key http://code.google.com/android/maps-api-signup.html
  24. 24. Sign up for Google Map API Key
  25. 25. res/layout/main.xml – add MapView to layout
  26. 26. new Android Device
  27. 27. new Android Device Google APIs
  28. 28. Run Application
  29. 29. Rajab Davudov Senior Specialist at Azerfon LLC [email_address] http://gplus.to/radjab http://www.fb.me/rajab.davudov http://www.linkedin.com/in/radjab

×