Android :: Android How To Keep GPS Active Until More Accurate Location Is Provided?

Jan 2, 2010

I am using the location manager's requestLocationUpdates() method to receive an intent to my broadcast receiver periodically. The system is correctly firing the intent to my receiver, and I have been able to use it correctly. The only problem is that the GPS location provider only stays active for a few seconds after the initial location acquisition, and I need it to stay on a little longer so that the location estimates are more accurate.My question is how to make the GPS location provider stay active for each periodic request that comes from the LocationManager requestLocationUpdates. Does anyone know how to do this?

Android :: Android How to keep GPS active until more accurate location is provided?


Android :: How To Keep GPS Active Until More Accurate Location Is Provided?

Jan 2, 2010

I recently posted this question on stackoverflow (http://tinyurl.com/ yzrofne), but maybe someone here can help me. I am using the location manager's requestLocationUpdates() method to receive an intent to my broadcast receiver periodically. The system is correctly firing the intent to my broadcast receiver, and I have been able to use it correctly. The only problem is that the GPS location provider only stays active for a few seconds after the initial location acquisition, and I need it to stay on a little longer so that the location estimates are more accurate. For example, if I tell the location manager that I want an update every 5 minutes, it correctly fires the intent with location information from the GPS. However, the GPS only stays active for about 5 seconds, so it doesn't give much time for the location to reach a high accuracy (say, less than 10-20 meters). My question is how to make the GPS location provider stay active for each periodic request that comes from the LocationManager requestLocationUpdates. Does anyone know how to do this?

View 2 Replies View Related

Android :: Coordinates Provided By Geo Fix Command To Emulator Are Different In Location Listener

Aug 3, 2010

I use Android emulator to test my location based application. The cordinates are provided by geo fix command (for example: geo fix 2.31278 48.9533 10). But when the new location event is fired, the cordinates are not the same as those in the command: I got latitude = 48.95800053333334, longitude = 2.3033544999999997 (I use Location.getLatitude() and Location.getLongitude() methods). Does anyone have an idea of my trouble ?

View 5 Replies View Related

Android : Get More Accurate Location - When Using MyLocationOverlay

Aug 2, 2010

I'm trying to get my current location and show it on a map. Class com.google.android.maps.MyLocationOverlay.MyLocationOverlay does most of the work for you. But it's coming back with a very coarse result that's off by a couple of clicks. I'm listening for onAccuracyChanged() but that never gets called.

How can I get a more accurate location, when using MyLocationOverlay ?

PS. manifest has

<application android:icon="@drawable/icon" android:label="@string/app_name"
android:debuggable="true">
<uses-library android:name="com.google.android.maps" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

View 1 Replies View Related

Android :: How Accurate Is Location.getSpeed?

May 30, 2010

I'm writing my first location based android app, but got confused about some of the GPS service api. Here are some questions I have:

1) To get my current location, I called requestLocationUpdates() with a listener in the onCreate() method of one activity. But what happens when another activity starts and the current activity goes invisible? Is the GPS location update going to stop? If so, how do I keep it on after the activity is switched?

2) how accurate is the Location.getSpeed()? How is it computed? Can it tell the difference between on bicycle and on foot?

3) not really a question about android. How to calculate the coordinates of a location, say, 100m away from my current location?

4) To stop the GPS, I only need to remove all the listeners that have been registered to locationmanager?

View 2 Replies View Related

Motorola Droid X :: GPS Settings To Get Accurate Location

Sep 19, 2010

What should I have my GPS settings on to get best location? I think I changed them and now it shows me like 10 blocks from where I am?

View 8 Replies View Related

Android :: To Get Accurate Device Location From GPS Or Network In Android

Mar 11, 2010

I am trying to determine the most accurate location of a device, in the shortest time possible.I am storing the data as a geopoint, and have it displayed on a mapview.The last time I activated the GPS on my device and let it get a location lock, i was approx 80 miles from where I am now.I have a location manager setup and a location listener.If I do this, I get NULL. myLocOverlay = new MyLocationOverlay(this, mapView); GeoPoint test = myLocOverlay.getMyLocation(); but in the next couple of lines; myLocOverlay. enableMyLocation(); mapView.getOverlays().add(myLocOverlay);With this, the overlay on the map shows the current location. It is using the Network provider, but is also attempting to get a GPS fix (it can't as I am indoors and no where near the top floor).If I construct the geopoint like this Short of getting the geopoints from both GPS and Network and then comparing them, and disregarding the GPS result if it is say 1 mile out of the Network location - i'm a bit stuck. why doesn't getMyLocation() work, shouldnt that return the GeoPoint of what myLocOverlay is showing on the mapview?

View 2 Replies View Related

Sprint HTC Hero :: Google Maps Location Not Accurate?

Jan 22, 2010

I opened google maps and my location is not accurate at all. I understand that if I turn on gps options it becomes much more accurate, but it's a real battery eater. coming from a 2 year old samsung mysto on Helio network that ran google maps down to the meter for me (and only needed to be recharged every 4 days) it seems like this should work better.Am I missing something? That little mysto couldn't have been running active GPS pinging the whole time. What made it so much better at locating?

View 1 Replies View Related

Android : Android: Can I Get Most Accurate Location From GPS?

Nov 22, 2010

I have used this code

locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,
500, 50, this);

to get my location using GPS. From what I understood, this code updates the GPS every 500milliseconds until the accuracy is about 50ms. Right? Now how do I know when it has achieved this accuracy? So that I can send the most accurate location in a text message.

View 1 Replies View Related

Android :: Using SDk Provided Images

Jul 28, 2009

There are images provided in android-sdk-windows-1.5_r2platforms android-1.5data esdrawable folder of SDK. Is there any way that we can use those directly in appliation. (without local copy)?

View 6 Replies View Related

Android :: Find All Active Alarms Which Currently Active Set To Go "off"?

Jul 3, 2009

Is there a way to find all the alarms which is currently active set to go "off"?

View 2 Replies View Related

Android :: How To Disable A View Provided There Are 2 Views In Xml?

Mar 25, 2010

The reason for me to do this, I have created these 2 views in the beginning of the app. SO they are always present. But in some cases where i want only 1 view(which is surfaceview) and if i dont need the 2nd view(i.e, videoview), i am still getting a black patch at the palce where i have defned a videoview. want to get rid of this. Can anyone please tell me if it is possible to disable views/surfaces corresponding to them? If so how can we do this?

View 2 Replies View Related

Android :: Bouncycastle Encryption Algorithms Not Provided

Jan 7, 2010

I'm trying to use BouncyCastle with android to implement ECDH and EL Gamal. I've added the bouncycastle jar file (bcprov-jdk16-144.jar) and written some code that works with my computers jvm however when I try and port it to my android application it throws: java.security.NoSuchAlgorithmException: KeyPairGenerator ECDH What am I doing wrong?

View 2 Replies View Related

Android :: Recent Apps Seem To Have Google-provided Ads Is There Some New API For This?

May 5, 2009

Several recent applications (e.g. Shazam) have text and image ads which are handled by Google. I can't seem to find how they did this. Is there some new API that you can use to display ads given some key, similar to how the maps API works? Or is this something that developers individually negotiate?

View 3 Replies View Related

Android :: Cities / Countries Data Provided By Google API

Mar 30, 2009

I am using Geocoding API for my application... How can i know the set of cities/countries for which google API provides data for? If there is a list of cities and countries, can anybody provide me with the same?

View 2 Replies View Related

Android :: Intent Provided By Cursor Is Not Fired Correctly (LiveFolders)

Apr 15, 2010

In my desperation with trying to get LiveFolders working, I have tried the following in my LiveFolder ContentProvider:Which, in all normalness, should launch the Browser and display the Google homepage when clicking on an item in the LiveFolder. But it doesn't. It gives a Application is not installed on your phone error. No, I'm not defining a base intent for my LiveFolder.logcat says:I/ActivityManager( 74): Starting activity: Intent { act=android.intent.action.VIEW dat=Intent { act=android.intent.action.VIEW dat=http://www.google.com/ } flg=0x10000000 }It seems it embeds the Intent I give it in the data section of the actually fired Intent. Why is it doing this? I'm really starting to believe it's a platform bug.update: I have filed an issue and removed the LiveFolders feature. I will include it in my app when I'll get a response either here or there that clarifies this thing. If I get the time I think I'll upload a demo app to that issue. Update: I have received a notification that the bounty is expiring in 3 days. No one wants it? Update 04/25/2010: I have updated the issue on the Android project and uploaded a test application. It would be nice if someone could test this application on a device, maybe it's such a subtle problem that it only appears on the emulator.

View 2 Replies View Related

Android :: List Widget Similar To One Provided By Stock Music App

Sep 26, 2010

I have been googling for a couple days now searching for a sortable list widget similar to the one provided by stock android music app. What I would like is ability to sort a list similar to how you can sort your music playlist. I am coming to the conclusion that I am obviously not using the proper keyword to find my answer.

View 1 Replies View Related

Android :: What Case Managed Query Method Return Null If Uri Is Provided?

Jun 25, 2010

I am doing some android application. I just wonder what will case the managedQuery method return a null value?

View 1 Replies View Related

Android : Requirements To Start App / Type Of Database Support Provided By Droid?

Mar 6, 2009

I am new to Android. I want to know the things before going to start the Android application. What are the requirements need to start the application. What type of Database support provided by Android?

View 3 Replies View Related

Android : How Accurate Is GPS

Jul 12, 2009

I'm totally new to the G1, coming from an iphone, but my gps when on (and can actually get a signal lock), seems to always have me on the grass or in the water if driving my any. Its rarely ever where I am. and im in a major city. Perhaps that could be why, but i always have clear view to the sky.

View 12 Replies View Related

Android :: Android Is There Any Way To Reduce Boot Up Time Of Emulator Provided With SDK

Mar 5, 2010

On my system, i am using eclipse ganymede version along the Android SDK and ADT plugin installed. I have created an android AVD (target android 1.5) with 512MB of memory. Its quite frustrating to see the slow boot up of it. It takes around 4-5 mins to complete its boot-up. Is there any way or tweak to speed up this boot up process.
PC config:
P4 2.4 Ghz with 1 GB ram.

View 2 Replies View Related

Android :: Android App Developed By Third Part But No Instruction Provided

Jul 8, 2010

On Sun, Jul 4, 2010 at 3:49 AM, Official <ehiggins...@gmail.com> wrote: Is there a tutorial on how to do this?

View 17 Replies View Related

Android :: Android How To Read A File Provided By A Different Application

Nov 20, 2009

I need some mechanism so that an Android application can read a file which is provided by a different Android application. I know that it's possible if both applications have the same userid, but it's not feasible because it would require to sign both applications with the same key. The idea is that one application has a zip file which is uncompressed; the uncompressed files must be available to a different Android application. By default, it's not possible because that directory is not readable by the latter application. Is there any directory which can be readable/writable by both applications without hacks? Is there any other mechanism suggested by Android?

View 4 Replies View Related

Android :: Certification For Android Developers Provided By Google?

Nov 3, 2010

Is there any certification for android developers provided by Google? please let me know this . I want to do that certification.

View 4 Replies View Related

Android : More Accurate Battery App For Phone?

Nov 20, 2010

I've been looking for a battery widget to tell me my remaining charge state as a percentage, but so far all of them go in increments of 10% (i.e. 90% left, to 80%, to 70%, etc). Does anyone know of one that breaks it down a little more finely?

View 8 Replies View Related

Android : Most Accurate Method Of Using SoundPool?

Mar 2, 2009

I need a recommendation from someone for the most accurate way of timing SoundPool sounds. I can't loop them because what's desired is not a loop but very accurate (to the ear at least) timing.

View 3 Replies View Related

Android :: Accurate Weather Forecast Application?

Dec 28, 2009

I hope this is the right section to post this, I have an HTC / G2 on a T-Mobile UK contract. I'm after a good weather forecast app that works well for the UK and Europe. I also use WeatherPro on my iPOD Touch (when I can link up to my home WiFi) and it is great - it picks up small towns, gives 5 day forecasts, 24 hour forecasts broken down into 3 hour time slots, shows satellite and radar, temperatures in 'F and 'C, windspeed and direction. It is very accurate too! I can't find it on the Android Market though.

View 5 Replies View Related

Android :: Not Accurate - Build Compass For My Application

May 4, 2010

I need to build compass for my application.

From reading the documentation it seems there are two reasonable ways of doing this:

Sensor.TYPE_ORIENTATION method: This is the easy way of doing it. The problem with this is it is not accurate. When I compare my reading with Snaptic Compass it is about 10-15 degress off which for my purposes is unacceptable.

Sensor.TYPE_ACCELEROMETER, Sensor.TYPE_MAGNETIC_FIELD and getRotationMatrix() in conjunction with remapCoordinateSystem() and getOrientation() method: The documentation says this "is usually more accurate". The problem is regardless of the delay I register with listener the compass goes crazy even when the device is stationary on flat surface.

View 2 Replies View Related

Android : Accurate Are Data Counters Like 3G Watchdog?

Nov 30, 2009

Is anyone who is using 3G Watchdog or NetCounter actually receiving accurate stats compared to what Orange are showing on their OrangeWorld "Your Account" section?
I have been using my new HTC Hero for just over 2 weeks now and Orange are saying that I have used 422MB of data. This seems ridiculous to me as I only automatically check email once per hour, surf to the extent of anyone with such a new gadget, and spend every evening at home connected to WiFi from about 6pm onwards.
I phoned Orange one day last week and they advised that I had used 310MB up to that point, so I immediately downloaded 3G Watchdog and started it running. Since then, it says that I have used 36MB in the same period that Orange say I have used 112MB.
I also use NetCounter, but as I didn't reset it last week, I can't make any specific comparisons. However, on a daily basis it always agrees with 3G Watchdog to within a few KB.

I know I will need to phone Orange to sort this out, and I am certain that they will tell me that downloaded data counter apps cannot be trusted. I'm not sure how I can prove to them that their data readings for me are wrong.

View 1 Replies View Related

General :: How Accurate Are Android Weather Apps

Mar 5, 2013

Many times when I look at different weather apps, the current temp is always either the low or the high. Never seen this on a news or weather channel.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved