• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Barcamp Antwerpen - How To Make Your Own Google Latitude
 

Barcamp Antwerpen - How To Make Your Own Google Latitude

on

  • 2,484 views

 

Statistics

Views

Total Views
2,484
Views on SlideShare
2,307
Embed Views
177

Actions

Likes
2
Downloads
17
Comments
0

7 Embeds 177

http://www.emich.be 146
http://www.barcampantwerpen.org 16
http://www.linkedin.com 7
http://barcampantwerpen.org 3
http://www.slideshare.net 3
http://web.archive.org 1
https://www.linkedin.com 1
More...

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Barcamp Antwerpen - How To Make Your Own Google Latitude Barcamp Antwerpen - How To Make Your Own Google Latitude Presentation Transcript

    • Barcamp Antwerp 21/03/09 Michaël Uyttersprot twitter.com/eMich // www.emich.be
    • More and more GPS enabled phones  Started all with the Nokia N95 ◦ iPhone 3G ◦ Nokia N79, N85, N97,… ◦ HTC G1 ◦ … and lots of others to come!
    • It becomes a lot easier to program mobile  apps External devices can be approached easily 
    • iPhone SDK  Python ME  CLDC a.k.a. J2ME  Native C++ because we all « love » that  … 
    • I love GPS-enabled services  I love Java  Google Maps does everything I once had in  mind … actually not really 
    • Great service, but limited to my friends  I want to show my location on my blog  But there is no API yet! 
    • No wordpress, written my own blog software  No third party moblogging  ◦ Does pictures ◦ Does geotagging based on picture metadata ◦ Does video as well But still no eMich latitude?! I suck… 
    • Different building blocks  ◦ GPS enabled phone: Nokia N79 ◦ J2ME using the JSR179 specification also known as « Location » ◦ Web server that records GPS coordinates ◦ Google Maps, of course, because eMich maps would be an impossible thing (except Open maps or something blablabla)
    • Location API  Obtain GPS coordinates from a GPS-enabled  phone Very easy: just a few lines of code! 
    • Criteria cr = new Criteria(); cr.setHorizontalAccuracy(500); LocationProvider locationProvider = LocationProvider.getInstance(cr); Location location=locationProvider.getLocation(60); Coordinates c = location.getQualifiedCoordinates(); c.getLatitude() c.getLongitude() c.getAltitude()
    • A thread loops every 10 seconds  Reads coordinates from Location API  Sends them to a web server: test.emich.be  Keeps in DB:  Latitude ◦ Longitude ◦ UserId ◦ Timestamp ◦
    • Reads last entry  Displays a map with a marker 
    • Push content based on location  ◦ Wikipedia articles ◦ Commercial messages… Doing fun stuff  ◦ How much time do I spend with my girlfriend? ◦ Mash it up for twitter to mash it up with fights
    • ?