location

location of camera picture on android

Do all android phones have a similar location to store camera pictures ? What is the role of EXTERNAL_CONTENT_URI vs. INTERNAL_CONTENT_URI ? If I want to have results from both data sources in one cursor query is that possible ? ...

Where do you keep your Stubs?

One of the JUnit best practices is : same package, separate directories. I am wondering what is the equivalent for Mock classes ? Do you keep them in the same package as classes they are supposed to mock, but in the test directory ? or elsewhere ? ...

C#: new file() - where is the root save location?

If i make the call File myFile = new File('myfile.txt'); where is does this get saved to? ...

Android GPS Only Communicates After Google Map Runs

I looked for the answer but didn't find one - my question(s) follow: I wrote code that works with the emulator (I send local coords vis DDMS). The code also works on the device BUT, only after running Google Map. I'm guessing there's something missing in either the manifest or in the code but I don't know what it is and I could use so...

Getting timezone information on iPhone for coordinates

For iPhone development: How can I get the timezone and DST information for any place given that I only have geographic coordinates. (NSTimezone does not have any such method) ...

How do I get the current location from the location manager?

hi , i want my app to get the exact location (longitude and latitude) of where he is as every second, it is possible ? i have this code so far, every 3 second the app get the current location but it doesnt update if i move... - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:...

How to obtain the current location inside a building using an iphone?

I played for a while with the maps framework from the iphone os sdk and the routemap api from cloudmade and it was fairly easy to display the current location and other information on a map by using the data provided by the GPS. I have the map of a building(airport, mall etc) transformed in tiles of some sort, my question is what would ...

Any way to verify user's geolocation?

Newbie question. I'm trying to make a mobile site using html5's geolocation (I know technically it's a separate spec, but still) to identify user's current position and post that to a web service which then does something. Basically a browser version of Four Square. Is there anyway that I can verify that the user is really at that loc...

google maps location service

How does Google Maps find out my location on my Desktop/Laptop ? Google says it might use my IP or Wifi data to determine my location. But how can a Browser read my Wifi data ? Is it really possible ? Can it read my Router's MAC ID ? Signal Strength ? How ? how ? how ? ...

Sending Geolocation to a Server via PHP CURL

I am trying to scrape data from a site that requires my geolocation via PHP and CURL. Is there any way to include Geolocation into the CURL call? ...

get location from iphone mapview

Hi Stackoverflow I am doing a map based application in iphone and i am need to get the location of the center of the map view. I need to get the location updated when the user Drags/Moves/Zoom the mapview. So that I can get the lat/lng information from the map and can sent these information to the google api to get the address info. Ca...

Forcing location allowance on iPhone

If using CLLocationManager in your app, the first time a location update is made it will pop a question to the user asking for permission to use the location service. Now my app uses location, but not in the beginning of the app life cycle and when the user is not active with the phone. So I figure I have to get the allowance right from...

What method is called when iPhone is locked?

I want my app to stop locating the user when the app is open, but the phone is locked, to cut down on battery usage. What delegate method is called when the user locks the phone while an app is still running and active? ...

Error EXC_BAD_ACCESS

Hi, I'm new in iPhone developement and I have a EXC_BAD_ACCESS error. In my .h I declare: NSString *myString; In my .m I have to methods: . The (void)locationManager of CLLocationManager interface when I do it: myString = [NSString stringWithFormat:@"%lf",loc.longitude]; NSLog(@"%@",myString); // it works . A (void)sendPosition ...

Using gmap as exposed filter for proximity search

I'd like to click on the map and get the nearest nodes, stored in the system. I've installed modules: location, gmap, views. I've created two nodes with location information. I've created a view with exposed filter: proximity search Now i can see the map, but i cannot see any search result if i click on that map.. why? ...

How to place a hyperlink field in a web page at runtime?

Hi friends, I am trying to display contents of a folder in a hyperlink. I am using masterpage also. The hyperlinks are not shown into the content page. what to do for that? I know in windows forms we can use like TextBox.Location=new Point(100,100); But how to do in web page...please anybody suggest me.. my coding in page_load is pr...

Using QtMobility/Location, a Symbian Qt C++ application runs in emulator but not on device.

I have a Symbian Qt C++ mobile application that runs fine in the emulator but when the application is compiled into a SIS file and installed on the phone, it installs successfully but does not start and fails silently without any message. The application uses QtMobility 1.0.1 to access the Location API. ...

iPhone locationServices: accuracy displayed incorrectly!?

Hi, everyone i've been trying to figure this out and i have absolutely no clue why this happens. Here is what i'm trying to do: I am building a little gps application and i want things like coordinates, altitude, speed, etc. displayed on my main view. I also want to show the current horizontal accuracy. I do this by using the "locatio...

Where can I find a RESTful list of bars and restaurants close to a user?

I want to create a mobile application that finds restaurants, bars, and other interesting places close to a user. However, I don't know how to find a list of all these restaurants and other places, without doing this myself. Is there some sort of service that offers a RESTful way to get this data? Does Google Maps to do something like t...

PHP MySQL get locations in radius user's location from GPS

Hi, I have in my database car incidents for example. These incidents have a latitude and longitude. On a mobile using the GPS, I get the user's location with his coordinates. The user can select a radius that he wants to know if there are incidents around him. So let's say he want to know incidents 2 miles around him. So I send from th...