I have a database with Points of Interest that all have an address.
I want to know what is the method/name/call to get all nearby POIs from a given position.
I understand that I need to convert all my addresses to LAT / LON coordinates at least, but my question is:
for a given LAT / LONG how do I get from the database/array what POIs are nearby…
I have a coordinate. I want to find the top "n" (n being a variable value) nearest coordinates out of several thousand rows stored on a MySQL database. I also want to be able to define maximum and minimum distances between the coordinate in question and the coordinates in the database.
How best am I to go about this? Would it be bonkers to use…
I have a view, set by setContentView(new CompassView(this));
I have the onDraw and update methods filled out.
What I need to do with the view CompassView is update my view with the new data at the end of the call in the onSensorChanged method.
The methods I have to fill out, I believe, are the surfaceChanged and surfaceCreated. They are…
I would like to create my own implementation of a LocationProvider, there seems to be a way to add a "mock" provider, but that isn't exactly what I want.
http://developer.android.com/reference/android/location/LocationManager.html
There also appears to be a permission called:
android.permission.INSTALL_LOCATION_PROVIDER
But there is no…
How can I mock my location on a physical device (Nexus One)? I know you can do this with the emulator in the Emulator Control panel, but this doesn't work for a physical device.
I have been poking around and have been unable to find a standard for what ellipsoid or geoid corresponds to "0" elevation in GPX files. Is there a standard? Do I just assume the WGS84 ellipsoid? Or if different standards are used, is there a way of figuring out from the file which one was used? Or making an educated guess?
And what is…
Is there is a way to determine an iPhone's exact location (indoors, and to a distance of just a couple of feet) via use of radio/antenna's or some other infrastructure located around premises (i.e a hospital, shopping mall, school). Will appreciate any ideas/direction (technologies, research) as for how to…
Hi
I know that the function Location.getBearing() returns the bearing if any when in move
public void onLocationChanged(Location lastLocation)
{
int bearing=lastLocation.getBearing()
}
,so now bearing might be , 170 degrees..but, I'd like to know if there is anything in android that will…
I want to use Google Map on my developing device, but it lacks of HTTP transmission module, so that it can access internet through TCP protocol. Is there a chance for me to access Google Map Web service through TCP protocol?
Thank you
i'm trying to get my location using it like this:
LocationManager myLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
Criteria criteria = new Criteria();
criteria.setAccuracy(Criteria.ACCURACY_FINE);
…
Trouble!
I'm looking for a way to find the countries within a given range of LAT/LONG coordinates.
E.g.:
When viewing a place in Africa in Google Maps, I get out which countries that are in my current view.
This is a bit ambitious, and I think the main…
I just want to show text "please wait" while app is searching for satellite and show "ready" when we found and connected to satellite.
How can I do it?
Let's say I have 3 or more peers connected to the same WiFi Access Point.
If they all give me:
- latitude
- longitude
- their signal level (dBm) in respect to the same WiFi
Is this enough data to get the approximate location of the access point?
I have google maps activity where i would like to get my location but im facing NullPointerException...
locManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
locManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0,…
Once a week we round up some reader tips and share them with the greater How-To Geek audience. This week we’re looking at speedy file renaming in Windows 7, fast access to bookmarks in Android, and a neat GPS-based todo list. How to Stress Test the…
Good Day!
I have a question regarding iphone development. i am building an app for iphone which uses gps, i can tackle the gps from my app via alert that whether user wants to use gps or not. as you know when it will try to use gps, iphone's built in…
I need to update the location through GPS in the background even when the phone is in sleep. I am thinking to use AlarmManager to broadcast an Intent and then a receiver will call requestLocationUpdates() on LocationManager. But I am not sure whether…
I am trying to get my code to create the new constructor objects which I require to create a mobile phone object. I have tried naming the constuctor fields to create the object.
when I compile my code on this line this.Mobile samsungPhone = new…
Hi,
Using my Android application, when a user does a certain action, a background service is started that fetches the current GPS location and saves it in a database in addition of doing some other stuff. In that service, I use the…