Android :: Is It Possible To Find Location Of Another Phone?
Jul 20, 2010
I'm new to development for Android and I am curious if it is even possible to request and accurate location of another android device? For example, If I wanted to find where a friend is located and show it on my device in google maps.
View 1 Replies
May 11, 2010
I am working on an application that needs to find GPS location of the user. While testing my code on Droid i am unable to find the GPS location. While googling i found this link to an issue raised with Google.
But apps like Yelp can find the GPS location on droid. Is there a workaround to find the user location on a device? Here's the code I am using code....
View 2 Replies
View Related
Sep 15, 2010
I m working on my one application in that user have to put latitude and longitude of the location and after pressing the button the map shows that location.
View 19 Replies
View Related
Mar 30, 2010
I'm curious to know with all the other Android models how long it takes for Google maps to find your location when you go into the app?I have a Motorola Cliq and sometimes when I go into Google maps it wont find my location or it takes a long time to get a fix on my location. Its pretty annoying.
View 7 Replies
View Related
Aug 20, 2009
I am currently working with a HTC G1 and I am trying to retrieve my GPS position. But I can not understand very well the documentation. I wrote those lines, but they didn't work.It already write "provider == null" so I guess that "mgr.getBestProvider(new Criteria(), true);" returns null.
View 2 Replies
View Related
Aug 9, 2009
I've developed an app and I want to display my other apps Iīve already published but I donīt know their location.
View 3 Replies
View Related
Apr 30, 2010
I am developing a webpage which requires the user location for loading some data. The web page is mainly intended for android users. I need to find the geo location of the user when the user opens that page? How can I do that?
View 2 Replies
View Related
May 1, 2010
I want to dispaly the current location in my application not in map. I want the current palce using current lattitude and longitude .
For Ex some 'x' person i want to know his location.but i want to know his location using his current lattitude and longitude.
When i use the below code it`Context context;
CODE:..........
The "addr" does not getting any value.why it is happened here my Activity is extended by MapActivity and also tell me without extending activity (simply in class) how do you find the current location using current lattitude and longitude ?
View 2 Replies
View Related
Apr 8, 2010
How can I find out that the GPS provider has failed to get location in android?
View 2 Replies
View Related
Jun 2, 2009
In my activities onCreate method I start listening for location updates as follows: locationManager. requestLocationUpdates(bestProvider, 5000, 0, myLocationListener); Previously I used 60,000 ms instead of 5,000 ms. The problem is that I have trouble getting the first update.public void onLocationChanged(Location location){ if (location != null){ lastlocation = location;
View 3 Replies
View Related
Aug 26, 2012
I'm using Google maps in my app development. I want to reset the map location to previously visited location before using my app when my application exits.Is there a way to programatically find out the previously visited location (longitude and latitude coordinates) in Android?
View 2 Replies
View Related
Aug 21, 2009
I can easily find long/lat of my current location. Once I do that, I would like to find long/lat information for locations at distance X from y current location. Does anyone have suggestion(s) on how to do this using Android SDK methods?
View 12 Replies
View Related
Feb 12, 2010
i have a problem.I want to find latitude and longitude of my current location in android application.Its not on location changed.I just need when i am stable with my phone after running it on emulator i always find "no location found".Why this is so?
View 3 Replies
View Related
Aug 15, 2010
I am writing an app that requires the user's current location (lastknownlocation won't be very helpful) and displays a list of all the closest "items" to them taken from the database.I have got the finding of the closest items working well but only using a hardcoded latitude and longitude location for the time being but now it is time to implement finding the actual location.Can anyone provide an example of how to have the app find the current fine location in the background and have the app wait. I only need the location once not updates as the person moves. I have implemented a location listener however I understand getting a GPS fix can be slow. I have seen other examples using last known location or implementing the location listener which continues to run and update however as my Activity needs the location coordinates before it can display anything the app just crashes. I need to show a Progress Dialog while its searching.
How can I have the locationlistener run once in the background and then remove location updates once it finds the location. I need the rest of the application to wait until it has a GPS location or timeout after say 20-30seconds. I would like a ProgressDialog up so the user knows that something is going on, but it just has to be the spinning loading animation not a percentage or anything. If possible I would like the user to be able to cancel the dialog if they are sick of waiting which then they can search by typing suburb etc instead.I have been trying to do it with threads but it is getting way more complicated than I feel it should be and still not working anyway. On iPhone this is much more simple?Can anyone provide a nice way of doing this, I have been ripping my hair out for a week on this and it is really putting me behind schedule for the rest of the app completion date.
View 3 Replies
View Related
Jul 30, 2010
My Hero rebooted itself when i cut it off and cut it back on due to aggravation of lag. after spending half the day fooling with getting back some apps, my contacts from google and the whole issue with syncing facebook to my contacts. i thought i could easily just look up my city for the weather widget location.
Well before the reboot my weather showed just fine, my location and everything. now my city isn't even in the data base and my gps and such is turned on. some of the directions ive read on using the gps to find my location has become a headache because i don't think i have those features.
When i go into my weather settings and click the + sign it goes straight to search location. i type in the name of my city and it doesn't come up.
View 3 Replies
View Related
Mar 4, 2010
I recently cleared cache and data on stock browser. Since then Google search engine website just says acquiring location and never actually acquires it. I opened Google maps, worked fine and all other location apps are working.
View 1 Replies
View Related
Jul 29, 2010
When using position based apps on my new Desire (Android 2.1) I can't help but notice that finding the location always takes forever (>1 minute after switching GPS on).My old HTC HD (Windows Mobile 6.1) was much quicker in providing a location after switching on GPS. The trick was, that the HTC HD had a pre-installed application "QuickGPS" that regularly downloaded some data that apparently helped in locating the satellites and/or calculating the position. On my old device I thus had a valid position typically in less than 10 seconds after switching GPS on.I haven't found any similar utility for Android and I don't want to have GPS active all the time for battery reasons. Are there any similar tools or other "tricks" that can help the GPS subsystem to provide the location quicker?
View 2 Replies
View Related
May 20, 2010
Anyone else notice that with the update when you go to Google.com it can't find your location? Even with gps on it won't locate you. Works fine on droid Eris but not on hero.
View 8 Replies
View Related
Jun 13, 2010
What's the best way/app to find things near your current location? Restaurants, shops, gas, etc?
View 31 Replies
View Related
Aug 29, 2010
I have this phone for probably two months now. Overall I'm quite happy considering I have an old one for more than five years.
However, I have two issues that are really bugging me. I think it might have occurred after the froyo update although I'm not sure.
My first issue is the GPS. I takes much longer than before to find my location although when it does it is very accurate. Lots of time it's more than five minutes. It was much faster before. I don't know what's going on!
Second I have 4G problem. If I serf the web with 4G, I'm fine. When I turn on my tethering more than 90% of the time, it will automatically revert back to 3G even if I have good connection (two or more bars). This is quite maddening to say the least. Was wondering if anyone has any ideas. Will a factory reset.
View 5 Replies
View Related
Mar 1, 2013
I am on the S4 and received the Verizon update yesterday. Where I can find the picture location for the 'travel gallery'?
View 1 Replies
View Related
Feb 14, 2010
I have a Telus HTC Hero and for a few weeks now my GPS simply stopped working with google-maps. It keeps saying "can't find location". If I use Gps Status app, it shows a compass and shows how fast I'm moving in what ever direction, but for some reason google maps can't seem to lock on. I've tried hard and soft resets, turning triangulation on off, GPS on off.
View 3 Replies
View Related
Apr 11, 2010
I live in the United Kingdom and have been trying to find the town that I live in, but when I do a search for it I find nothing. some help so I can have my town displayed on screen? At the moment I have showing a town which is 15 miles from me.
View 23 Replies
View Related
Apr 12, 2014
After the update to Google Play Services v4.3 (latest version to date), Maps can't find location anymore without GPS, it remains stuck on "Waiting for location" despite having wifi or data on.When I revert back to Google Play Services v4.2, the issue disappears and Maps behaves again normally.
The problem is that I need the latest version of Google Play Services for streaming videos with my phone to Chromecast (and in any case, Google Play Services will auto update to the latest version).Any same issue with Google Play Services v4.3 ?
View 5 Replies
View Related
Oct 26, 2010
I'm developing a mapping app using Eclipse 3.5.I'm setting the minimum update period with the LocationManager's requestLocationUpdates method, via a configuration activity. When I set the property I see in Logcat that the system process sets the value OK.When I actually send a new location from the DDMS emulator control and the location changes on the map view, I see that the system process then sets the minimum time to zero.Below is a capture of the system's log messages. You can see that I'm setting the period to 32 seconds, then 16, then, after I've sent a simulated location change the system sets it to zero.The map responds to location changes to location changes instantly even if they are sent only a couple of seconds apart.
View 1 Replies
View Related
Sep 17, 2010
In my application I have to fetch the current location. First it correctly fetches the location. But we are moving from the current location to some other location. It shows the previous address. It is not updating the location. My code is: locManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); locListener = new MyLocationListener();locManager.requestLocationUpdates(LocationManager .GPS_PROVIDER ,0,0,locListener); location = locManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);if(location != null){latitude = location.getLatitude();longitude = location.getLongitude();} Please find the mistake and when i launch first time it is not working on second time itself it is working so check this thing also.
View 1 Replies
View Related
Jan 27, 2010
I have an application which uses the network as the location provider (rather than GPS eg.), however I can't seem to figure out how to send the emulator test coordinates. In DDMS I would usually send coordinates in the Emulator Control tab.Is there a place to simulate coordinates derived from the cell phone network provider?
View 6 Replies
View Related
Mar 4, 2010
I want to override the method enableMyLocation() in MyLocationOverlay class, in order to implement my own positioning algorithm to get latitude/longitude, and then plot them onto a MapView. I figured out how to do that, but now I'm stuck because I dont know what Canvas to pass when I call the method drawMyLocation().
Here is the MyLocationOverlay class
View 4 Replies
View Related
Jul 26, 2010
How do I get the current location of the phone? I'm not talking about registering for location updates on the location manager and waiting for it to update upon change. I'm talking about get the current position.
View 4 Replies
View Related
Apr 18, 2010
I am trying to retrieve the GPS location of the phone. I believe I cannot create an object of the class which stores the location in a variable. So that once the class gets instantiated I use a get method and retrieve the content in the variable. So I am trying to do this....
locationListener = new MyLocationListener();
lm.requestLocationUpdates( LocationManager.GPS_PROVIDER,0,0,locationListener); if(!information.equals(null)){ Bundle bundle = new Bundle(); bundle.putString("hello", information); Intent intent = new Intent(LocationActivity.this, MainActivity.class); intent.putExtras(bundle); startActivity(intent); }
and in the locationlistener class
public void onLocationChanged(Location loc) { if (loc != null) { double lat=loc.getLatitude(); double lon=loc.getLongitude(); information = " "+lat +lon; Toast.makeText(getBaseContext(), "Location Changed:"+information, Toast.LENGTH_LONG).show(); } else information="bad luck"; }
The mainactivity then displays that...but its not happening...could some one please help me how to get the values of this.
View 5 Replies
View Related