How to locate Latitude and Longitude [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I have a device that is connected to the internet. The objective is to be able to locate the latitude and longitude of the device from the internet.
So I need to implement a code in C++ that would use the internet to find out the latitude and longitude. The device does not have a GPS. So just through an internet connection how do I go about to find the location of the device.
I tried to look for answers but most of them relate to an iphone. Thanks in advance.

The best you can do without access to some sort of location based service (some use GPS, but some e.g. triangulate known WiFi hotspots) is to geolocate the IP address. Typically that will get you within 20-30 miles, but in some cases you can be very far off (e.g. if the IP is a proxy server far removed from the actual user, as is the case for example with all AOL customers).
There are a number of services available for geolocating an IP address. MaxMind is one I have used before.

check out Google Maps API: http://code.google.com/apis/maps/index.html

Related

Can I take pictures/video automatically with Google Glass? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Can an application call Glass to take pictures? I only see "Sharing" when a user takes a picture and wants to share it manually; is there a way applications can call Glass camera and take a picture?
Case:
Say, a user says they want a timeline of his daily activities, so they set an interval of time: "30 minutes"; the application would then call Glass camera every 30m, take a picture and store it for a timeline.
There is no direct control of the hardware through the Mirror API. Feel free to file a feature request in our issue tracker.

List of standard locality/ sub-locality for Singapore Google Maps API v3? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is there a place where I can view the list of standard locality/ sub-locality of Singapore?
I'm working on a web app that tag places to small regions in Singapore e.g. Downtown, Sentosa island. Singapore is a small country but it's a big city. This was already done by another developer whom I cannot contact now (perhaps the small regions were created manually and it's not possible at all using Google Maps API?)
I borrow some code from here but no sub-locality is shown so I wonder what's wrong. Perhaps, there is no sub-locality at all for Singapore, under Google Maps' view.
The Geonames geographical database is available for download free of charge under a creative commons attribution license. The SN.zip file has the data for Singapore.

Backbone.js and communication with the server (retrieving refined data sets) [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
In backbone.js, my understanding of communication with the server to retrieve data is cloudy at best... My current confusion is:
When you use a Collection you can fetch a set of data from the
database through the Model and filter out unwanted results. My concern
with this is that in an instance where the unfiltered results ends up
being millions of results long, this would slow things down.
I know this must not be the case of how it functions because others use backbone.js and I haven't seen this complaint before.
QUESTION:
Through backbone.js, when you fetch a set of objects where does it communicate to and how do you pass variables to specify filters for the method? For example, call to a get method that could take a user_id to return objects with the associated user_id.
If this is not the correct approach please let me know.
Explanation of how backbone.js communicates with the server, what type of interface it expects to communicate. Examples would also be very helpful.
Any help is greatly appreciated.
In the documentation there's a bit where you can pass in jQuery options. In those options you can set the "data" parameter, which is passed in as query parameters or as form parameters, depending on if it's a POST or GET.
jQuery.ajax options can also be passed directly as fetch options,
so to fetch a specific page of a paginated collection:
Documents.fetch({data: {page: 3}})

Automating Facebook wall posts [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I was wondering if you could help me - with PHP, I would like to have a system where after going through a like-gate, the customer uploads a file (I'm fine with doing this) and once they have done that the application will write a post on the users wall to tell them.
As a second stage to this, when in the admin tool for the app, the administrator puts a comment against the image that person has uploaded, we'd like the comment to go onto the customers wall - and this might be a week after.
Any help gratefully appreciated :)
You will want to use the Graph API http://developers.facebook.com/docs/reference/api/
You will need permissions from the user: http://developers.facebook.com/docs/reference/api/permissions/ Specifically publish_stream.
Posting to someone's wall is easy. From me/posts HTTP Post the correct parameters. See the post section of http://developers.facebook.com/docs/reference/api/user/
You can try it out here: http://developers.facebook.com/tools/explorer

Verify Business Identity [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm developing a web application that involves businesses signing up. What is the best way to verify a businesses identity? How do I know the person signing up for "Pizza Hut" really works for Pizza Hut? Are there web services I can utilize?
I know it seems far-fetched, but there are identify verification services that can identify a person's identity. I've seen them in action and the info they had on me was downright scary. They knew where I had worked, where I went to school (even the one semester psychology class I took just for fun.)
These services work because they purchase public records. For example, I took out a loan for an automobile at a bank, and had to list my employer. That's how they know who I worked for from 1987-1994.
I would bet that these services could help you.
Here's one. (I'm in no way affiliated with them. We just had them demo their product to us.) http://www.idology.com/
Here is another: http://www.veratad.com/fraud_prevention.html
We eventually went with services provided by Trans-Union (The credit reporting agency) in their IDMA and IDMV products. (I can't find the links right now - my PC is acting up, but you should be able to find them on the Trans-Union site.)
These services are not cheap, by the way.