Click here to Skip to main content
15,891,529 members
Articles / Web Development / HTML

A Simple Application to Record Current Geographic Location and Display in Web

Rate me:
Please Sign up or sign in to vote.
4.75/5 (37 votes)
18 Jun 2011CPOL12 min read 301.2K   10.4K   101  
Discusses a technique to record current geographic location from mobile and display in web pages (with Location History Browsing)
  • Codes.zip
    • Codes
      • MobileApp
        • MapMe
          • build.xml
          • build
            • .timestamp
            • compiled
              • com
                • jappit
                  • midmaps
                    • googlemaps
                      • a.class
                      • b.class
                      • c.class
                      • d.class
                      • e.class
                      • GoogleMaps.class
                      • GoogleMapsCoordinates.class
                      • GoogleMapsGeocoder.class
                      • GoogleMapsGeocoderHandler.class
                      • GoogleMapsMarker.class
                      • GoogleMapsPath.class
                      • GoogleStaticMap.class
                      • GoogleStaticMapHandler.class
              • Maps
                • Helper.class
                • MapMe$1.class
                • MapMe$2.class
                • MapMe.class
                • MapViewer.class
              • META-INF
                • services
                  • org.xmlpull.v1.XmlPullParserFactory
              • org
                • kxml2
                  • io
                    • KXmlParser.class
                    • KXmlSerializer.class
                  • kdom
                    • Document.class
                    • Element.class
                    • Node.class
                  • wap
                    • syncml
                      • SyncML.class
                    • Wbxml.class
                    • WbxmlParser.class
                    • WbxmlSerializer.class
                    • wml
                      • Wml.class
                    • wv
                      • WV.class
                • xmlpull
                  • v1
                    • XmlPullParser.class
                    • XmlPullParserException.class
                    • XmlPullParserFactory.class
                    • XmlSerializer.class
            • manifest.mf
            • preprocessed
            • preverified
              • com
                • jappit
                  • midmaps
                    • googlemaps
                      • a.class
                      • b.class
                      • c.class
                      • d.class
                      • e.class
                      • GoogleMaps.class
                      • GoogleMapsCoordinates.class
                      • GoogleMapsGeocoder.class
                      • GoogleMapsGeocoderHandler.class
                      • GoogleMapsMarker.class
                      • GoogleMapsPath.class
                      • GoogleStaticMap.class
                      • GoogleStaticMapHandler.class
              • Maps
                • Helper.class
                • MapMe$1.class
                • MapMe$2.class
                • MapMe.class
                • MapViewer.class
              • META-INF
                • services
                  • org.xmlpull.v1.XmlPullParserFactory
              • org
                • kxml2
                  • io
                    • KXmlParser.class
                    • KXmlSerializer.class
                  • kdom
                    • Document.class
                    • Element.class
                    • Node.class
                  • wap
                    • syncml
                      • SyncML.class
                    • Wbxml.class
                    • WbxmlParser.class
                    • WbxmlSerializer.class
                    • wml
                      • Wml.class
                    • wv
                      • WV.class
                • xmlpull
                  • v1
                    • XmlPullParser.class
                    • XmlPullParserException.class
                    • XmlPullParserFactory.class
                    • XmlSerializer.class
            • preverifysrc
              • com
                • jappit
                  • midmaps
                    • googlemaps
                      • a.class
                      • b.class
                      • c.class
                      • d.class
                      • e.class
                      • GoogleMaps.class
                      • GoogleMapsCoordinates.class
                      • GoogleMapsGeocoder.class
                      • GoogleMapsGeocoderHandler.class
                      • GoogleMapsMarker.class
                      • GoogleMapsPath.class
                      • GoogleStaticMap.class
                      • GoogleStaticMapHandler.class
              • Maps
                • Helper.class
                • MapMe$1.class
                • MapMe$2.class
                • MapMe.class
                • MapViewer.class
              • org
                • kxml2
                  • io
                    • KXmlParser.class
                    • KXmlSerializer.class
                  • kdom
                    • Document.class
                    • Element.class
                    • Node.class
                  • wap
                    • syncml
                      • SyncML.class
                    • Wbxml.class
                    • WbxmlParser.class
                    • WbxmlSerializer.class
                    • wml
                      • Wml.class
                    • wv
                      • WV.class
                • xmlpull
                  • v1
                    • XmlPullParser.class
                    • XmlPullParserException.class
                    • XmlPullParserFactory.class
                    • XmlSerializer.class
          • dist
            • lib
            • MapMe.jad
            • MapMe.jar
          • lib
            • kxml2-2.3.0.jar
            • MidMaps-0.1.0.jar
          • nbproject
          • src
      • ServerSide-setup-for-MobileApp
      • Setup-Instructions.txt
      • WebApp
        • AutoUpdate.html
        • css
          • redmond
            • images
              • ui-bg_flat_0_aaaaaa_40x100.png
              • ui-bg_flat_55_fbec88_40x100.png
              • ui-bg_glass_75_d0e5f5_1x400.png
              • ui-bg_glass_85_dfeffc_1x400.png
              • ui-bg_glass_95_fef1ec_1x400.png
              • ui-bg_gloss-wave_55_5c9ccc_500x100.png
              • ui-bg_inset-hard_100_f5f8f9_1x100.png
              • ui-bg_inset-hard_100_fcfdfd_1x100.png
              • ui-icons_217bc0_256x240.png
              • ui-icons_2e83ff_256x240.png
              • ui-icons_469bdd_256x240.png
              • ui-icons_6da8d5_256x240.png
              • ui-icons_cd0a0a_256x240.png
              • ui-icons_d8e7f3_256x240.png
              • ui-icons_f9bd01_256x240.png
            • jquery-ui-1.8.12.custom.css
          • ui-lightness
            • images
              • Thumbs.db
              • ui-bg_diagonals-thick_18_b81900_40x40.png
              • ui-bg_diagonals-thick_20_666666_40x40.png
              • ui-bg_flat_10_000000_40x100.png
              • ui-bg_glass_100_f6f6f6_1x400.png
              • ui-bg_glass_100_fdf5ce_1x400.png
              • ui-bg_glass_65_ffffff_1x400.png
              • ui-bg_gloss-wave_35_f6a828_500x100.png
              • ui-bg_highlight-soft_100_eeeeee_1x100.png
              • ui-bg_highlight-soft_75_ffe45c_1x100.png
              • ui-icons_222222_256x240.png
              • ui-icons_228ef1_256x240.png
              • ui-icons_ef8c08_256x240.png
              • ui-icons_ffd27a_256x240.png
              • ui-icons_ffffff_256x240.png
            • jquery-ui-1.7.2.custom.css
        • Functions
        • js
        • LocationHistory.html
  • MapMe.zip
--
-- Table structure for table `current_location`
--

CREATE TABLE IF NOT EXISTS `current_location` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `lat` double NOT NULL,
  `lon` double NOT NULL,
  `recorded_datetime` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=532 ;

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Student University of Alabama at Birmingham
United States United States

A very simple guy, who codes with his heart (and with his brain, of course).

Homepage: http://www.amitdutta.net
View my profile on Linkedin: http://www.linkedin.com/in/am1tdutta/

Comments and Discussions