Solved

How do I capture Geolocation on mobile phones in server code?

Posted on 2014-01-23
1
394 Views
Last Modified: 2014-01-24
What I need is to grab someone's city and state and have those available as string variables I can then manipulate in my sever code behind.  I code in VB.  Is this possible?  

I don't want to use IP addresses to resolve location information because they are grossly inaccurate on mobile phones.  I would like to use geolocation built into HTML5.  But I don't know how to "capture" this in codebehind.

I know about this URL
http://jquery-ui-map.googlecode.com/svn/trunk/demos/jquery-google-maps-geolocation.html

But I don't know how to then take the city+state (or region/country) information and have it available as variables in code behind.

I basically simply need access to variables  CITY, REGION, COUNTRY  in VB code...or at least (at minimum) the variables LAT and LONG available in the VB code.

How can I do this?
0
Comment
Question by:arthurh88
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39806119
You can post the information from browser to the server side using jquery

Example here

http://encosia.com/use-jquery-and-aspnet-ajax-to-build-a-client-side-repeater/
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question