[Q] Location updates dont work anymore - Java for Android App Development

Hi,
I am currently working on an app which sends location updates in an interval. While testing the app there haven't been any problems with it and on one phone it works correctly, while on another phone (both are S4 Mini) it worked until Sunday (while testing) and then stopped out of a sudden. I do not have any clue where the mistake is or why it stopped.
I also checked the location settings which also allow the app using the location.
Here is the code I am using. The function is definitely executed, even though not delivering any results on the second phone.
boolean gps_enabled=false;
boolean network_enabled=false;
//mlocManager = (LocationManager) ((Context) c).getSystemService(Context.LOCATION_SERVICE);
mlocManager.removeUpdates((LocationListener) listener);
mlocManager.removeUpdates(listener);
try{
mlocManager.requestLocationUpdates( LocationManager.NETWORK_PROVIDER, 0, 0, listener);
}catch(Exception ex){}
//exceptions will be thrown if provider is not permitted.
try{gps_enabled=mlocManager.isProviderEnabled(LocationManager.GPS_PROVIDER);}catch(Exception ex){}
try{network_enabled=mlocManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER);}catch(Exception ex){}
if(gps_enabled){
mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, listener);
}
if(network_enabled){
mlocManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, listener);
}
I also reinstalled the app (did not uninstall it, but this should not matter, right?). On Sunday morning the phone went out of battery. However I dont think that this should be the cause for that, because the app still works perfectly besides that problem.

Some virus? Did you try to set current date to the day before "day X" or install the app on another device/emulator?

Virus? What exactly do you mean by setting the day before day X? On the other phone it works great, it also did work on the other phone until day X. After that I did not receive any new locations from one device. Now I think I know what you mean like setting the phone date before this day? Cant be the problem, because I still receive location updates on the other phone, even though it s exactly the same app.

Deyaz said:
Hi,
I am currently working on an app which sends location updates in an interval. While testing the app there haven't been any problems with it and on one phone it works correctly, while on another phone (both are S4 Mini) it worked until Sunday (while testing) and then stopped out of a sudden. I do not have any clue where the mistake is or why it stopped.
I also checked the location settings which also allow the app using the location.
Here is the code I am using. The function is definitely executed, even though not delivering any results on the second phone.
boolean gps_enabled=false;
boolean network_enabled=false;
//mlocManager = (LocationManager) ((Context) c).getSystemService(Context.LOCATION_SERVICE);
mlocManager.removeUpdates((LocationListener) listener);
mlocManager.removeUpdates(listener);
try{
mlocManager.requestLocationUpdates( LocationManager.NETWORK_PROVIDER, 0, 0, listener);
}catch(Exception ex){}
//exceptions will be thrown if provider is not permitted.
try{gps_enabled=mlocManager.isProviderEnabled(LocationManager.GPS_PROVIDER);}catch(Exception ex){}
try{network_enabled=mlocManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER);}catch(Exception ex){}
if(gps_enabled){
mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, listener);
}
if(network_enabled){
mlocManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, listener);
}
I also reinstalled the app (did not uninstall it, but this should not matter, right?). On Sunday morning the phone went out of battery. However I don't think that this should be the cause for that, because the app still works perfectly besides that problem.
Click to expand...
Click to collapse
Ok if you can reproduce the bug then please post a stacktrace, makes things easier to pin down
As for re-installing the app... maybe this actually does matter whether you uninstall it because if you don't uninstall it, android "upgrades" the app without wiping the applications data so your data is persisted, I would suggest doing a full re-install - ie, uninstall it first then install it again so you're starting from a clean slate.

I deinstalled the app, installed it again. It did not work.
So the bug, which I assumed it caused, was that the phone ran out of battery. I decided to just wait and let it happend again exactly the same way (before I removed the battery, but the app still did not work). So after the phone finally ran out, I put it on a charger and the app somehow works again now. I have no idea why there was the same procedure necessary. However, I will deactivate the services in the app now if the battery is 5% or less.

Deyaz said:
I deinstalled the app, installed it again. It did not work.
So the bug, which I assumed it caused, was that the phone ran out of battery. I decided to just wait and let it happend again exactly the same way (before I removed the battery, but the app still did not work). So after the phone finally ran out, I put it on a charger and the app somehow works again now. I have no idea why there was the same procedure necessary. However, I will deactivate the services in the app now if the battery is 5% or less.
Click to expand...
Click to collapse
Tbh I'd increase that to 10-15% minimum, looking at it from a user perspective the last thing you'd want on low battery is location services running and an app sending your location off at intervals

Jonny said:
... the last thing you'd want on low battery is location services running and an app sending your location off at intervals
Click to expand...
Click to collapse
Jonny, so the Location Service consumes a lot of battery? Is it because GPS module itself consume much energy?

surlac said:
Jonny, so the Location Service consumes a lot of battery? Is it because GPS module itself consume much energy?
Click to expand...
Click to collapse
Yes it does, so that s why I am using network instead which consumes less battery.
However, I am writing here, because the problem occured again. As there is absolutely no debug log, not any error or anything I put file writers like everywhere which are logging the whole time.
So today I lost the last activity in it at 3:30 my local time at night. There was absolutely no activity on the phone during that time. However, the mistake is that the listener does not work with network anymore. Most likely only GPS works and it is already known that the network location listener does not work after a couple of days (for me between 10 - 14).
I also found another topic here: https://code.google.com/p/android/issues/detail?id=57707
So it seems to be a bug in Android which comes with the current system version. I really hope Google will fix that asap. Well wont happen most likely as this official thread is already from almost one year ago.
Shame on Google!

Location using something other than GPS
Guys I wanted to tag images dynamically using smartphones but the problem is I need to find location coordinates of phones besides each other so that the phones can be tagged ultimately giving the owners names!!!
The issue I'm facing is that I can't use GPS for it as it is giving inaccurate results.
So is there any other method to do it? Like by using the radiations our phone emits or something like that!!!
Please reply ASAP...Thank you so much!!?

Deyaz said:
I also found another topic here: https://code.google.com/p/android/issues/detail?id=57707
So it seems to be a bug in Android which comes with the current system version.
Click to expand...
Click to collapse
You can try to get IP address of the device and send it to some third-party web-service which give you back the location. It will be rough, but cheap for battery.
MayureshJ said:
The issue I'm facing is that I can't use GPS for it as it is giving inaccurate results.
Click to expand...
Click to collapse
GPS accuracy varies from 5 to 50 meters. Isn't it accurate enough?

surlac said:
GPS accuracy varies from 5 to 50 meters. Isn't it accurate enough?
Click to expand...
Click to collapse
Maybe he wants to track the user up to 1 meter - with a live camera.

Deyaz said:
Maybe he wants to track the user up to 1 meter - with a live camera.
Click to expand...
Click to collapse
Then it would be better idea to use cell phone tower triangulation in addition to GPS.

Related

Navizon - Prime your gps and make money w/ your Mogul!

UPDATE: As of 6/08/08 Navizon is working for CDMA again!!! newest version 3.5.1.1 (the one that works for CDMA)
Click to expand...
Click to collapse
UPDATE: Starting Sunday April 14 2008, the cash value of each reward will be set to $15....
Click to expand...
Click to collapse
I have been using this for a while and now w/ the new radio needing a "primer program" this works great for me!
Now that we all have built in GPS, I would like to introduce you to what I use to start my GPS. I open Navizon, turn on my wifi, and pause till it is open. Then I open my mapping ap (I like Live Search).
Navizon gets started quickly with the cell tower and wifi access point triangulation, and then gets the gps chip going quickly; so live search is ready to go by the time I get in a destination.
Navizon:
http://www.navizon.com
Navizon is a wireless positioning system that works a little bit like a GPS, except it uses Cellular Towers and Wifi access points instead of satellites. In addition to being a wireless position system, Navizon offers features like the Directions, Buddy finder, Geotags and more...
This software relies on a community of users who contribute data to the system (WiFi and Cellular towers) when they have a GPS device. And the cool thing is that we can earn money doing it with the Navizon reward system:
http://www.navizon.com/navizon_rewards.asp
I'm already using it and you could make money too with it if you're interested. All you need is to install it on your phone and have Navizon connected to your GPS. Every Wifi access points that you pass, every cell tower that you log will mean money in your pocket.
So now that we have a phone that is compatible with Navizon, you should really check it out.
If you plan on registering, please do so by clicking on the link below:
http://my.navizon.com/Webapps/UserAdmin/register.aspx?referral_code=5E5D5D5F
That way, I can also earn some referral points if I'm the one who introduced you to the system ;-)
If you like the wifi positioning by itself - you can cash in your first $20 payout for the full version, after that it gets popped into your paypal account, and if you turn your friends onto it you can get a little extra too!
In fact, hey birthday boy, Mike (wideawake), why not put a link to this in the help ppcgeeks thread, I bet it would generate a bit of "mad money"!:twisted:
UPDATE: This is no longer relevant - uncheck load at startup in settings...(edit - I do have one nitpick w/ this ap though; I have to go and delete the ap from the windows/startup folder all the time - I don't need it to start at boot for cryin' out loud! - eh I should make a mortscript to delete it at closing the ap or something..)
Click to expand...
Click to collapse
UPDATE: Go to http://forum.ppcgeeks.com/showthread.php?p=221345#post221345 for more discussion
Click to expand...
Click to collapse
Anyone like this, hate this, already use it, I personaly realy like it. I had tried it over a year ago when I had a 6700 and no bluetooth, and didn't have good accuracy, but no programatic problems. Now, I use it everytime I go anywhere at all new, I'm kind of addicted!
Over 350 views, and no responces? Does everyone already use it?
I installed it and kept it running to see how long it would take to drain the battery. My battery went from 97% charged to a low battery warning in about 5.5 hours. That was with the screen turned off, too. The GPS, Wifi, and cellular radio were all enabled during this period.
This app (or, more accurately: the way it uses your hardware) sucks your battery dry, so be sure to have a charger handy.
whatsit said:
I installed it and kept it running to see how long it would take to drain the battery. My battery went from 97% charged to a low battery warning in about 5.5 hours. That was with the screen turned off, too. The GPS, Wifi, and cellular radio were all enabled during this period.
This app (or, more accurately: the way it uses your hardware) sucks your battery dry, so be sure to have a charger handy.
Click to expand...
Click to collapse
5.5 hours? you are VERY lucky. it pulled my mogul from 90% to warning about about an hour.
JD
Krap Sakes, it's not for walkin around on a reg basis - the WiFi on the mogul will suck the battery dry quicker than a $20 ho when you give 'er a $50!
(think about it...)
I rarely use it except when I'm driving and plugged in. I might go ahead if I knew I was walking in a prime spot, but to walk around for 5+ hours Navizoning, I would want a car battery! Same as wardriving, it's on the heavier side of what our moguls can do, but it can, so we do!
If I was going to walk with it I might actually consider one of those "Solar Cell" hat things...
I've earned about $80 to my paypal so far just running this on my mogul since I first heard about it...
Code:
# mapped Points
Wifi discovered by you 8374 25122
Cell towers discovered by you 860 12900
Wifi already mapped 4615 4615
Cell towers already mapped 667 1334
Bonus points 0
Total: 43971
You have claimed 4 rewards
so i can verify they do pay off cuz my paypal now has balance!
if anyone wants to help me earn a little more cash use my referral
http://my.navizon.com/Webapps/UserAdmin/register.aspx?referral_code=5C5F565F5D59
What port does GPS run on? The program didn't pick it up automatically
dannyzen said:
What port does GPS run on? The program didn't pick it up automatically
Click to expand...
Click to collapse
com port 4, baud rate 4800
I would like to introduce you to Navizon:
http://www.navizon.com
If you plan on registering, please do so by clicking on the link below:
http://my.navizon.com/Webapps/UserAdmin/register.aspx?referral_code=5B565D5F5D56
That way, I can also earn some referral points since I'm the one who introduced you to the system ;-)
I signed up under the post obove me, maybe this could become a pyramid scheme...
But after using for a day have found when with wifi, gps & evdo network with verizon the battery drain is crazy. I think the battery gauge even went down while plugged into my hadsfree kit in the car.
Try going into the wifi card settings (start/settings/connections/wireless lan/power settings tab) and set the slider to either the middle setting (what I use) or best battery. Then in the power settings of Navizon and check 'let Navizon manage power', then set the slider to the middle setting. For best power savings you could also set your backlight settings lower (I do this sometimes, not always).
That works pretty well for me, the car charger still makes the power bar go up!
Good luck, and post back your results...
I did both of those setting today and it worked good.
Did find one problem, i removed my handset from the car cradle to use outside the coar for a call that lasted about ten minutes then when i replaced the phone the charging light came on blinking not solid and the battery just kept dropping. After doing some reading found out that phone charging did thermal shutdown because of heat and would not charge battery untill it cooled down.
Seems the wifi, gps and phone call all at same time really start to heat things up.
Especially if you have it it the hot sun i.e. on your dash.
I try to make sure I don't have anything else open as well, the more open, the more battery used.
i installed this today and cant get the program to run without a fatal error
im running DCD 3.0.1 and everytime i try to start the service it crashes and will not give a detail description on the error as i have the free version
anyone else having this problem?
New Reward Price!
UPDATE: Starting Sunday April 14 2008, the cash value of each reward will be set to $15....
Click to expand...
Click to collapse
Updated first post to reflect this info...
love it...spread the wealth
love the program, spread the wealth please, heres my referral:
http://my.navizon.com/Webapps/UserAdmin/register.aspx?referral_code=5B595F5F5958
i just got my first reward today, used it to upgrade to the premium version for free. thankfully im on a campus that has a couple thousand routers, and no one else smart enough to use this program, so all are mine for the taking...
Aside from the money aspect, its just kinda fun and addicting, to walk around see how many u can get
ENJOY!!
after having so much trouble trying to get the program to run correctly and having major battery drain after installing the program i removed it and dont expect to be going back
I've had great results so far. Just one day's use and over 1000 points. I found that it seems to pick up more in residential areas.
Also for anyone thinking of signing up, share the love.
http://my.navizon.com/Webapps/UserAdmin/register.aspx?referral_code=5C5F5C5757
Must have just missed your post yesterday. Do you have .netcf 3.5 installed? did you soft reset after install before running it the first time? these are the most commeon reasons for errors. personally I would have tried a reinstall. However it's not going to be for everyone. hit me up if you want more help.
Otherwise,
eat your vegetables...
silverkorn said:
i installed this today and cant get the program to run without a fatal error
im running DCD 3.0.1 and everytime i try to start the service it crashes and will not give a detail description on the error as i have the free version
anyone else having this problem?
Click to expand...
Click to collapse
yes everything is installed correctly and i did a soft reset after the install.
when i try to start the service it comes up with:
"could not find file: "Program File\Navigon\BPDNaptree.dat"
i have ran the sync multiple times and i have uninstalled and reinstalled the program multiple times and still get the same error

Network Usage Process "0" - Eating a ton of battery!

I've noticed this strange process under *#*#4636#*#*, Battery History, Drop Down, Network Usage >>> An almost completely blue bar for this process "0".
I'm searched high and low with google and no one had posted exactly what it is or why its using so much in-bound data, on any forum.
Some people said it was FB or flickr sync, but I've removed both of those accounts, restarted the phone with startup cleaner stopping everything, and 5 hours later - without touching the phone - it's back.
I'm not sure if it was there before I updated to Fresh 1.0.1, yesterday, but I'm sure getting worse battery life since then.
Also, yesterday when I used facebook for well over 2 hours throughout the day, it's network usage bar was about 1/4th of what 0 was. :|
I've got the same issue, only used Unrevoked1, and 0 just loves to dominate the network activity bar. I would love to know why...
WOAH! WTF! Same issue here... What is this?
Not sure. I'm rooted with simple root, before the OTA from sprint, then running fresh 1.0.1. It was probably there before I updated, I just never checked.
I think it might be the HTC flashlite plugin. I have the app lookout running (tracks your phone, has virus checker and something else) and I see it popping up randomly saying that it's checked HTC flashlite plugin and it's secure, several times a day, even when I'm not using the browser.
Hell, it might be the Lookout app for all I know. Any of you using that same app?
'0' is the system of the phone, it's using battery because the phone is on.
mrono said:
'0' is the system of the phone, it's using battery because the phone is on.
Click to expand...
Click to collapse
Makes sense, but why does it only show up under network usage; why is it using so much more inward bandwidth when compared to to other data using programs below? It doesn't show up under CPU usage, ect.
Well, you could just try to be like this guy, and try to create a class action lawsuit because your network process is eating too much battery and offending you...
Just kidding...seriously...anyways, 0 process is just the system itself (I think...lol). You could take a more detailed look at it if you have a program like autokiller, and/or try to kill it to observe what happens.
~Jasecloud4
jasecloud4 said:
Well, you could just try to be like this guy, and try to create a class action lawsuit because your network process is eating too much battery and offending you...
Just kidding...seriously...anyways, 0 process is just the system itself (I think...lol). You could take a more detailed look at it if you have a program like autokiller, and/or try to kill it to observe what happens.
~Jasecloud4
Click to expand...
Click to collapse
Yes, you're right! I've also noticed that the "Seeds of Life" live wallpaper is using an extra 0.50% of my battery life every charge, therefore, I'm going to sue sprint, htc, google and every last damn sperm swimming around on my screen! These big money mongering companies need to give the end-user more control over how they use out battery life and collect out data. Fking sperms. Hahah.
Everybody is out to try to become rich, but 99% of the time in class-action suits, the lawyers are the people who make all the money. In fact, it'd hard to be in business and getting harder by the year.
thats really wierd...probably live wallpaper
I wondered the same thing and discovered something a bit curious..
If you go to proc/1 and look in the file status.
You get this
Name: init
State: S (sleeping)
Tgid: 1
Pid: 1
PPid: 0
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
Then some more irrelevant info...
Notice the parent process id for the sleeping state is 0.
Does this mean that most of the our network usage occurs when the phone is inactive?
I would assume so.
Should we be worried about conspiracy, oh yesh.
Class action lawsuit part 2 here we come lol.
It's definitely weird. I've been using the browser nonstop since boot but its only about 1/3 of the 0 process..
Wish it wouldn't force close when we tap on it..
Bump.. I'm curious, has this been figured out yet?
I'm sure someone somewhere has an answer..
Guys.. 0 = root
Like mrono said its the system running itself, plus any programs that require root.
What you fail to understand, is that this is under NETWORK USAGE.
The system does not need a nonstop connection to the web.
I'm sure it's just data sync and that kind of crap but I have a hard time believing that an hour of HQ youtube takes less network usage than a sync or two.
This just a guess, but I'd say network process 0 is likely the system loopback connection.
pseudo_nomen said:
This just a guess, but I'd say network process 0 is likely the system loopback connection.
Click to expand...
Click to collapse
Yep. Im pretty sure it's the kernel that would handle the loopback.
Sent from my PC36100 using XDA App
nvm.......
Any update on this? I suspect the root 0 process (as seen in the already mentioned Network tab) is keeping wi-fi/3g connections constantly at full priority, causing excessive battery drain since WiFi never stops "Running" (if u look at your other usage stats in Spare parts or #*#*4636*#*#)
So, on the Linux side, PID 0 comes from the kernel.
PID 1 is init, which the the father of all processes, and initialized by the kernel.
Anything bellow that is initialized by INIT, and normally on the RC scripts.
So, all thi usage that your are seeing should be from the scheduling process of the linux kernel that Android is running on top of.
I have the same issue with my Desire Froyo 2.2,
I have Process 0 which uses Network, BUT when selecting "Total since boot" another weird process shows up: 1010 and com.android.settings also crashes when tapping on it (same as with proc 0).
Do you have the same process?
I also noticed that my router is showing in the logs my android phone as the one which does port scans using different technics like: Null scan, vecta scan, SYN scan etc.
I suspect this processes involved in this malicious activity! Those of you which has spotted process 0, can you see if you have the same in the your router security logs and get here with an reply?
I have the same exact problem. I'm not sure when but I think ever since the newer OTA's (3.28/3.29) I've been experiencing some terrible battery life. I did not have this problem with the 3.26 based ROMs. I think I'm going to try flashing the kernel to Netarchy and see if the problem goes away. My battery has been awful and I've mostly been idling the phone and sending the occasional text message/gtalk. (It's not syncing to Facebook or anything like that)

I might be on to something for the GPS issue.

Well like everyone I had the GPS issue and it was frustrating. I do run an app killer and I always notice many apps (especially the preloaded ones) Keep launching themselves. It got rather irritating. Specifically Telenav.
I noticed with Telenav my GPS would be very flaky. Once I got "killed" it the gps seemed to improve. I thought to myself maybe I'm just being paranoid.
Did a bit of research and found an app called "Start UP Auditor" which completely kills an app and restricts it from every starting up again. My gps seems to be working much better now.
I drove a few miles and on the Verrazano Bridge here in NY and the GPS was super percise. When I was at the end of the block it was at the end of the block as well at the same time. Not like it was before.
Now I can launch google maps and it will find me exactly in front of my house and not 200 feet away.
Takes a solid minute to lock on. Not more but not less unfortunately. So there still is a bit of a problem but for me at least it has exponentially gotten better. Versus it not even locking on previously.
I think I might be on to something. I cannot give all credit to me because I saw on a Tmobile forum someone say that they think the problem might be with the self launching apps so that's where I started to draw conclusions.
EDIT: Scratch that one min thing. It seriously just now took me 10 seconds to lock on and the GPS to start talking to tell me where to turn inside my house. Issue fixed?
I completly removed TeleNav and I still have GPS issues... It is not any software causing this problem. It is a Hardware / Firmware / Driver issue.
Sent from my SGH-T959 using XDA App
gravis86 said:
I completly removed TeleNav and I still have GPS issues... It is not any software causing this problem. It is a Hardware / Firmware / Driver issue.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Same here, one of the first things I did after rooting was remove all the bloatware, and Telenav was one of them.
gravis86 said:
I completly removed TeleNav and I still have GPS issues... It is not any software causing this problem. It is a Hardware / Firmware / Driver issue.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Hmmm... Interesting.
My GPS issues seem to have disappeared after killing Telenav.
This just takes me back to the drawing board once more. I just do not understand...
I would like to see others responses. Does there happen to be vibrants with different firmwares?
So what happened to me?
Was it some magical stroke of luck?
Wow.
Initially, disabling TeleNav gave me a significant improvement in GPS performance. Indoors, I went from having 50-60ft. of accuracy (with multiple locks), to 12-15ft. of accuracy with a single lock. Initial accuracy was in the upper 40s, but quickly dropped to the highest accuracy I've seen with the device (the 12-15ft. figure) - indoor or outdoor - within a minute. Crazy.
Outdoor, on a perfectly clear sky, the best I've achieved was previously 25ft. of accuracy.
I rebooted (the phone froze, wheee!), with TeleNav still selected as disabled, and now, I'm only getting 30-52ft. of accuracy with a single lock. This took about two minutes to come down from 170ft. or so.
GPS settings have been switched to 'Automatic', from the stock supl server, for all of these tests.
Maps still shows me in Issaquah, initially (incorrect data), but quickly updates my position my exact location (within a few seconds). Previously, Maps would take at least a half hour to place me in even the correct city! Margin of Error: ~50ft. or so (shows me on the street, rather than on my property), within seconds.
Compass, as expected: still totally ****ing broken and ****ty.
I can confirm that - besides not being able to lock onto more than a single sat - I'm seeing drastic improvements. Thanks for pointing this out.
Still, I'm not sure the improvement will be enough to convince me to hang onto the device while we wait to hear from Samsung. :/
Jon C said:
Wow.
Initially, disabling TeleNav gave me a significant improvement in GPS performance. Indoors, I went from having 50-60ft. of accuracy (with multiple locks), to 12-15ft. of accuracy with a single lock. Initial accuracy was in the upper 40s, but quickly dropped to the highest accuracy I've seen with the device (the 12-15ft. figure) - indoor or outdoor - within a minute. Crazy.
Outdoor, on a perfectly clear sky, the best I've achieved was previously 25ft. of accuracy.
I rebooted (the phone froze, wheee!), with TeleNav still selected as disabled, and now, I'm only getting 30-52ft. of accuracy with a single lock. This took about two minutes to come down from 170ft. or so.
GPS settings have been switched to 'Automatic', from the stock supl server, for all of these tests.
Maps still shows me in Issaquah, initially (incorrect data), but quickly updates my position my exact location (within a few seconds). Previously, Maps would take at least a half hour to place me in even the correct city! Margin of Error: ~50ft. or so (shows me on the street, rather than on my property), within seconds.
Compass, as expected: still totally ****ing broken and ****ty.
I can confirm that - besides not being able to lock onto more than a single sat - I'm seeing drastic improvements. Thanks for pointing this out.
Still, I'm not sure the improvement will be enough to convince me to hang onto the device while we wait to hear from Samsung. :/
Click to expand...
Click to collapse
Yea like I said in the OP the fix is better but there definitely is a problem that needs to be addressed. That might be either hardware or firmware, All thats left is to wait for sammy to fix it up. However my GPS performance for my needs is more than exceptional.
I have noticed that while running GPStest, Google Maps starts to work. Something is wrong with the API.
If anyone is getting black screen freeze ups, disabling GPS will clear that right up.
And, we're back to square one. So much for that.
Location services can no longer locate me, and show that I'm in a neighboring city. Nothing I adjust fixes this for more than a short period of time.
Oh, Samsung...
dattaway said:
I have noticed that while running GPStest, Google Maps starts to work. Something is wrong with the API.
Click to expand...
Click to collapse
It seems to me that it is definitely a software problem. I don't think the hardware is bad. (The gps chip?)
heygrl said:
If anyone is getting black screen freeze ups, disabling GPS will clear that right up.
Click to expand...
Click to collapse
I drove for miles and had nothing. Though if I am not using GPS I always turn it off to conserve battery.
Jon C said:
And, we're back to square one. So much for that.
Location services can no longer locate me, and show that I'm in a neighboring city. Nothing I adjust fixes this for more than a short period of time.
Oh, Samsung...
Click to expand...
Click to collapse
I wonder if they can't even find the issue yet. It will probably be fix in the 2.2 update.
I removed TelNav within 4days of owning my phone and it really for me hasn't changed a thing.
What helped me was turning off the wireless location feature. From what I noticed it looks for your location based off the cell towers first then it looks for your location via GPS. If its slow to find you via wireless then well its slow to find you via GPS too.
I didn't really tried the GPS when I saw the threads saying there was a problem with it and I read somewhere about "how to fix it" so I applied the fix before even using the GPS before, so I have no clue if I had problems or not, but after the fix, the GPS locks in about 10 to 15 seconds and gest my location on the spot, even indoors.
just change the GPS settings to google servers
Directly after rebooting my gps/navigation seems to work much better.
To make it more clear... I'll be using my phone throughout the day and then i'll try to use navigation. Usually it will just keep trying to find the route but it never actually finds it. I'll reboot the phone and it'll find my location and the route in <10 seconds.
kizer said:
I removed TelNav within 4days of owning my phone and it really for me hasn't changed a thing.
What helped me was turning off the wireless location feature. From what I noticed it looks for your location based off the cell towers first then it looks for your location via GPS. If its slow to find you via wireless then well its slow to find you via GPS too.
Click to expand...
Click to collapse
I believe the wifi and GPS share the same antenna. Anyone know which antennas do what for sure?
Our cellular antenna is at the bottom under the bump. The one at the top next to the antenna port does the rest.
heygrl said:
If anyone is getting black screen freeze ups, disabling GPS will clear that right up.
Click to expand...
Click to collapse
Thanks for this tip, I hadn't caught this in the other GPS threads.
I ran and used My Tracks but forgot to turn on GPS. When I tried nav it could not get a fix until I restarted. Next time I'll try killing conflicting apps.
Sent from my SGH-T959 using XDA App
I just deleted the Tel-Nav app and now my GPS locks on in about 10 seconds and is dead on accurate. I even drove 165 miles today and never dropped a GPS signal. I could never do that before.
Does anyone know why the times are off one the gps sensors? My local time is 10:51, but gps test has it as 18:51 that is about 8 hours off.
Sent from my SGH-T959 using XDA App

Watchdog: Maps detected above threshold?

I've had Watchdog installed for a while to catch the suspend process before it drains my battery. Lately I've gotten 'maps detected above threshold' a few times. Anyone else getting this? It seems like it has happened even when I haven't used maps since last boot.
I'm on stock rom, faux's kernel 0.8.5.
netter123 said:
I've had Watchdog installed for a while to catch the suspend process before it drains my battery. Lately I've gotten 'maps detected above threshold' a few times. Anyone else getting this? It seems like it has happened even when I haven't used maps since last boot.
I'm on stock rom, faux's kernel 0.8.5.
Click to expand...
Click to collapse
Do you use Google's Latitude service?
neidlinger said:
Do you use Google's Latitude service?
Click to expand...
Click to collapse
Yes. I tried signing off from that last night...hasn't happened again so far, but we'll see.
netter123 said:
Yes. I tried signing off from that last night...hasn't happened again so far, but we'll see.
Click to expand...
Click to collapse
That's kinda what i thought. I had the same problem.
I was getting these reports about Maps mostly after I plug the phone in for charging. (No, I'm not using Latitude). I assume that Maps is doing some kind of background maintenance work (updating or something else) when the phone is supplied with external power. I don't know whether the availability of external power is a strict requirement. Quite possible Maps can do it on battery power from time to time.
In any case, these alerts never came in an endless barrage (as they do when "suspend" starts to act up), so I just added Maps to a whitelist and forgot about it. It is actually a non-issue.
Note, that getting a report from Watchdog is not in any way an indication of any problem. Some applications do perform some useful background work, so you'll have to add them to whitelist if you don't want to get continuous reports from Watchdog. Using Skype? Then you'll have to add "skypekit" to whitelist. Market is another obvious whitelist candidate. "Mediaserver" should be in whitelist as well. Same with Maps.

Battery life in SwiftDroid (may apply to other ROMs too).

Hai,
Since nobody bothered to answer my call to track down what drains the battery I decided to just post my findings and you do with it whatever you like...
In recent couple of months I've been experiencing quite nice battery life, almost a week on standby, which is basically on par with original LG ROM. The trick is simple:
It's happening as long as the Gallery app is NOT running.
I don't know what this piece of software does but when it's loaded to memory it stays in there and ignores attempts to terminate it, doesn't sleep when phone wants to and eats battery in a matter of single day. Unfortunately it seems some other apps use it directly or indirectly, like when Wi-Fi starts and/or by Market for example. Thus my solution is just to force close the Gallery after I finish activities which seem to require it.
I don't know whether root of the problem is with the app itself (like, CM modifications made so it's more cool, at the price) or it's just something else unearthed by certain SwiftDroid's configuration. To anyone who wishes to furher investigate my sincerest good luck. And I'd be grateful if results were published too.
hmskrecik said:
Hai,
Since nobody bothered to answer my call to track down what drains the battery I decided to just post my findings and you do with it whatever you like...
In recent couple of months I've been experiencing quite nice battery life, almost a week on standby, which is basically on par with original LG ROM. The trick is simple:
It's happening as long as the Gallery app is NOT running.
I don't know what this piece of software does but when it's loaded to memory it stays in there and ignores attempts to terminate it, doesn't sleep when phone wants to and eats battery in a matter of single day. Unfortunately it seems some other apps use it directly or indirectly, like when Wi-Fi starts and/or by Market for example. Thus my solution is just to force close the Gallery after I finish activities which seem to require it.
I don't know whether root of the problem is with the app itself (like, CM modifications made so it's more cool, at the price) or it's just something else unearthed by certain SwiftDroid's configuration. To anyone who wishes to furher investigate my sincerest good luck. And I'd be grateful if results were published too.
Click to expand...
Click to collapse
i deleted this slow sh** from /system/app and installed QuickPic!
hmskrecik said:
almost a week on standby
Click to expand...
Click to collapse
Are you joking? Should i use my phone as a doorstop,or what else?
EDIT: And,an old trick: when an app stays opened,to prevent it to reload again you have to delete his user data (works with Maps and Gmail too)
Eth4n said:
Are you joking? Should i use my phone as a doorstop,or what else?
Click to expand...
Click to collapse
You do with your phone what it damned pleases you. In case you haven't noticed the battery life is most often reported as either standby time or call time. In my typical usage battery lasts no less than two or three days but what 'typical usage' means may mean totally different things to me and to you.
Eth4n said:
EDIT: And,an old trick: when an app stays opened,to prevent it to reload again you have to delete his user data (works with Maps and Gmail too)
Click to expand...
Click to collapse
Hm, even more shotgun approach to what I described. Having user data could be the primary reason for keeping the app installed. But thanks for tip anyway, may come handy one day.
There is gr8 app on xda, better batery state. With this app you can see what aplication keep wake lock, use cpu, gps, etc...

Categories

Resources