Android compass calibration gets reset on closing app - Android Q&A, Help & Troubleshooting

Hi, all. Was just hoping to get some help with something. And, apologies for cross-posting, but full disclosure: I did first ask the question on Stack Overflow and got no response. I'm not allowed link it here yet, but it's got the same title as this post.
I'm using the rotation vector sensor on a tablet as a compass in my app. It works well enough after calibration (via figure-8 method), but the moment I close and re-open my app, it's all over the place and needs to be re-calibrated again. This happens instantly, without moving around, when outside and in the open. The compass is working, a quick close and re-open of the app, and the compass is off. This test was run on a Panasonic Toughpad FZ-B2.
Other apps, such as Google Maps, don't seem to have this problem. Might I be doing something wrong, or is there some way to persist the calibration state of the compass?

Related

[Q] [4/28]All barcode scanner apps crash after official froyo update

Does anybody notice the same issue?
My phone is not rooted. After the official update to 2.2 (ED01) I found this problem with all apps on my Fascinate that have the scan function: google goggle, shopsavvy, amazon, etc. Sometimes they crash at starting (goggle will force the phone to reboot), but most of the time you can open the app and scan properly once or twice, then the scanner fails to auto-focus or adjust brightness or white balance, getting no response. Hitting any keys on screen or the back key will only end up with vibrating and screen-blackout. I can only exit the situation by hit home and kill the app in task manager.
I found a similar post around xda:
http://forum.xda-developers.com/showthread.php?t=894544
The problem is said to be associated with the stock Email.apk and will be gone once you run the email app. But this solution doesn't work for me.
Anyone has more idea?
I just tested out Google Shopper and Barcode Scanner with two barcodes each, and neither had any issue. Have you opened up the camera app since updating? Froyo brought about new camera firmware, so if you haven't opened Camera since updating, that could be what's causing the FCs.
The stock camera app and third-party apps like retro camera both have no issue. The picture-taking function goes well, problems only come when the app need to scan back and forth and auto adjust.
HKReeves said:
The stock camera app and third-party apps like retro camera both have no issue. The picture-taking function goes well, problems only come when the app need to scan back and forth and auto adjust.
Click to expand...
Click to collapse
I just tried google shopper and it's working for me.
Sent from my SCH-I500 using XDA Premium App
Thank you for testing that for me. Can more people try out? Am I the only one that have this issue?
If so I assume this is an individual problem that can be fixed by factory reset, although I am reeeeaaaally unwilling to do that.
My phone is all tricked out and everything works great.
I tried on my wife's phone which is stock and it has numerous issues with camera, google goggles, market, barcode scanner, etc... surprised she's not noticed. :/
Rebooted and everything worked.
Google Goggle's might have crashed and caused the initial issue.
So, maybe just a reboot will help you?
Thanks, but I have no luck with that. Roboot doesn't help at all in my case. I even uninstalled the Goggles and the other scanner apps still suffered the same issue.
Google goggles works for me
Sent from my SCH-I500 using XDA App

Maps crash back to desktop - how to debug?

Hi - So I have this issue where opening google maps crashes back to desktop. The interface opens, the place where the map is stays blank, and boom, crash to desktop. Of course this means navigation, places also do not work as intended. Ironically other mapping apps including locus (which uses the google maps api) work just fine.
Now, I tried:
- Deinstalling via titanium backup and reinstalling from market
- Factory reset THEN reinstall the whole rom (cognition)
Still not working. Looks to me like another app conflicts with it. I have 205 user apps. I'm not going to be able to take one out a time and test.
I tried reading from the catlog via system tuner. Unfortunately all it says in there is that maps crashed (oh really?? ) and not much else.
I guess my questions is, where can I find logfiles, or anything else that would help me discover which application is crashing my map tool.

accelerometer bug in google sky maps

This happens when I use the search feature in g sky maps or choose a location from gallery. The sky map gets "stuck".and the only way to resolve this is to reboot. (even the "restart Android interface"works) I ran tricorder and scanned the compass and the accelerometer vectors. Comp pass was working on all the axes but acc. was stuck in all axes. The inclinometer app also confirmed this.
I googled and found that people do have problems with compass when using sky map s, but in my case its the acc. and not the compass. I also tried shaking my phone, as stsed by some sites, but thats only for compass issues, so it didn't work for me. I think its a O1 specific issue?
Have any if the o1 users successfully got search in sky maps to work without getting "stuck"?
Just draw eight figure(or just spin few times) with o1 in air, that sometimes helps when acc or compass is frozen.
ashirviskas said:
Just draw eight figure(or just spin few times) with o1 in air, that sometimes helps when acc or compass is frozen.
Click to expand...
Click to collapse
Already tried those stuffs man, read the post. anyways, did u get the search to work?
Well another strange thing- in "sensor debug" app, the pitch, roll and azimuth values change add I tilt my phone, but force on x y and z axes remain constant...

Hidden Menus

Does anyone know if there are "hidden menus" on these Players? On a phone you access them through the phone dial pad. Like dialing *#0*# or some such string. I see an app called "Dialer" in Manage Applications, but nothing in the app drawer to access a dialer to try anything.
I had come across this about calibrating the compass and wanted to try it: http://forum.xda-developers.com/showpost.php?p=15343119&postcount=16
The link you posted is not working for me.
idk, but concerning the compass, have you tried the figure 8? This video shows how; its not just a horizontal figure 8
www.youtube.com/watch?v=sP3d00Hr14o
Hope it helps!
Sorry, link updated. It seems (from all I've researched), that the compass just doesn't work on 2.3.5, on Galaxy Players... the reason I am looking for any "hidden menus" that might have some sensor settings. I've tried calibrating every which-way, just points in any random direction, then gets stuck (stops rotating).

[Q] Sygic stops GPS tracking in background after a while, yours too?

Hi,
recently I tried out Sygic which works really nice except for one thing:
when Sygic is running in background after a while (seems randomly) the GPS message disappears (upper message in attached pic), the Sygic message remains (lower message in attached pic).
When I click the Sygic message, the app behaves as if I restarted it (says "initializing" on top right). Luckily, it remembers the old route.
Yet sometimes I don't drive myself and would like to do other stuff and have Sygic tracking in the background.
It works fine with Google maps.Yet not with Sygic. Especially when I launch any other app (even the browser, a video or something), Sygic stops tracking immediately (not always but often) or some time later.
GPS is set to never turn off in Sygic and all settings are set to "optimal".
Could that be the Android OS turning something off for Sygic as it might believe it's no longer used or something?
Sygic is more sophisticated than Google maps and uses more ram. If you start opening other apps after Sygic then they will get higher priority in ram. Sygic doesn't really stop so much as get pushed out of memory until it gets switched to again. Not much you can do about it really.
Sent from my GT-I9300 using Tapatalk 2
Ah that explains the issue, already feared something like that.
The only annoying part is that it no longer tells me where to go when that happens.
Does anyone know whether this happens with other apps such as Navigon as well?
Since the newest update (at least I didn't notice it before) Sygic has an option "Run navigation in back..." under Battery management.
Haven't tested it yet but that supposedly sets the oom_adj values low enough for the app not to get killed.
Ah thanks, that is new indeed.
Yet I tried this and eventually the same thing happens sooner or later. :/
Open Sygic.... go to SETTINGS than go to BATTERY MANAGEMENT (i don't know witch is the correct option in english as my SYGIC is in ITALIAN)... the first setting that is show to you is the opportunity to deactivate the GPS signal after a definite time.... change it!
Yeah that option is now replaced, you can only check/uncheck it. I checked it so it keeps running in background but still shuts off after a while when using other apps.
You're right. I have the same problem. This is ridiculous. You are running navigation and expect it to give you the directions at the right moment, but you don't know that in the meantime, while you got a phone call and checked your messages it was turned off silently and no longer working.
Without an option to guarantee it's working and can't be stopped in the background, you're as if you have no navigation at all.
If this can not be fixed it's better not to even install Sygic, cause this takes away a major part of what this app is meant to do. So stupid.
I have tried Igo and it was the same. How serious is that?! To have a navigation, which can stop while you're using it and need it, without warning!
Did anybody find a solution to this?
Not really.
Either simply leave Sygic running in foreground / don't leave it running in background for a while or use a different app.
After I purchased it I also noticed some other annoying issues, e.g. voice says "take exit number 24" instead of how we navigate here "take next exit to A2" (our motorway navvigation signs do not show the exit numbers anyway), forcing me to look at the app way more often when there is an exit leading to 2 different motorways.
Due to such issues as well as this annoying "I die if you leave me running in background" I decided to switch to Navigon. Nicely, this app even tells you which motorway to take AND where it leads to, so I don't even need to look at it.
I haven't run a full test yet. Yet I left a video running in full screen and Navigon kept running in background navigating. Once I know more, I report back (if I don't forget). In any case, I wished I didn't have spent the money for Sygic after all. What do free map updates any good when the app isn't suiting oneself.
P.S.: I did inform Sygic support about the background issue and they requested more information as they didn't experience this issue yet. I provided that but didn't get another reply, the thread was then archived.
Landorin said:
Not really.
Either simply leave Sygic running in foreground / don't leave it running in background for a while or use a different app.
After I purchased it I also noticed some other annoying issues, e.g. voice says "take exit number 24" instead of how we navigate here "take next exit to A2" (our motorway navvigation signs do not show the exit numbers anyway), forcing me to look at the app way more often when there is an exit leading to 2 different motorways.
Due to such issues as well as this annoying "I die if you leave me running in background" I decided to switch to Navigon. Nicely, this app even tells you which motorway to take AND where it leads to, so I don't even need to look at it.
I haven't run a full test yet. Yet I left a video running in full screen and Navigon kept running in background navigating. Once I know more, I report back (if I don't forget). In any case, I wished I didn't have spent the money for Sygic after all. What do free map updates any good when the app isn't suiting oneself.
P.S.: I did inform Sygic support about the background issue and they requested more information as they didn't experience this issue yet. I provided that but didn't get another reply, the thread was then archived.
Click to expand...
Click to collapse
I agree with you also for the way Sygic works. It's s not that great. Thanks for sharing about Navigon. Please, test it and post here if the situation with "silent background death" is the same. I would appreciate it if you let me know and will be checking to see how you feel about it when you post your comments.
tiho5 said:
I agree with you also for the way Sygic works. It's s not that great. Thanks for sharing about Navigon. Please, test it and post here if the situation with "silent background death" is the same. I would appreciate it if you let me know and will be checking to see how you feel about it when you post your comments.
Click to expand...
Click to collapse
I have been using Sygic for quite a long time and noticed that on my Galaxy Captivate, after initialization, if you switch to some other app then return to Sygic (either from the app icon, or from the task bar) it always restart.
However on my Galaxy S3 after switch back to Sygic it just continues wherever it left off. I guess that my Captivate had less memory to run Sygic while I have plenty on the S3.
Also in Sygic, go to Settings / Notifications and Sounds / Advanced and turn "Sound always on" would let Sygic to continue to turn-by-turn announcement even if it is not in the foreground, even when the screen is off.
I have plenty of free memory (using HTC one x) and still it's killed. But this is not a problem of sygic. it's a problem of Android. Or may be indrrd sygic didn't make the right settings for the memory registration of this app (if that's something that they could do). As I see the oom values of this app are pretty high usually when I check.
Also about the voice: I have this option checked. But I never had an occasion when it spoke to me when it was killed. I'll check again. May be I didn't notice it...
Thanks for your comment on that. I'm surely going to test this.
tiho5 said:
I have plenty of free memory (using HTC one x) and still it's killed. But this is not a problem of sygic. it's a problem of Android. Or may be indrrd sygic didn't make the right settings for the memory registration of this app (if that's something that they could do). As I see the oom values of this app are pretty high usually when I check.
Also about the voice: I have this option checked. But I never had an occasion when it spoke to me when it was killed. I'll check again. May be I didn't notice it...
Thanks for your comment on that. I'm surely going to test this.
Click to expand...
Click to collapse
You probably you haven't set the option to switch off GPS after a certain amount of time. Go to Settings /Battery management / Switch GPS off after... then move the slider until you see "never".
pentel1954 said:
You probably you haven't set the option to switch off GPS after a certain amount of time. Go to Settings /Battery management / Switch GPS off after... then move the slider until you see "never".
Click to expand...
Click to collapse
Thanks for trying to help. This option is set properly to "never" with me.
Hey all,
sorry for the late reply.
Sad news: Navigon dies in background as well. Just like Sygic, it doesn't always happen. But once you start using other apps actively it will eventually kill Sygic and Navigon silently. As someone already pointed out, it's likely an issue due to how Android works.
I had the relevant options ticked to never disable GPS or anything and it made no difference.
So you can use another app but you can't actively use your smartphone, e.g. I can have Poweramp run in foreground and switch tracks without Navigon dying (it also keeps talking to me via voice, even when the screen is turned off). But if you're not the driver and want to do more than just that then you'd need a second device or so.
Cheers,
Landorin
P.S.: at least now I could test both apps and personally, I'll stick with Navigon. Navigation by voice is so well developed that I don't need to look at the app while driving and if I do look at it, track assistant is better developed too (it shows you the motorway signs). With the app "Directory Bind" I was also able to move the whole big app + maps onto the external SD card.
Hopefully, the Sygic devs will listen to the community feedback and catch up in development over time.
Landorin said:
Hey all,
sorry for the late reply.
Sad news: Navigon dies in background as well. Just like Sygic, it doesn't always happen. But once you start using other apps actively it will eventually kill Sygic and Navigon silently. As someone already pointed out, it's likely an issue due to how Android works.
I had the relevant options ticked to never disable GPS or anything and it made no difference.
So you can use another app but you can't actively use your smartphone, e.g. I can have Poweramp run in foreground and switch tracks without Navigon dying (it also keeps talking to me via voice, even when the screen is turned off). But if you're not the driver and want to do more than just that then you'd need a second device or so.
Cheers,
Landorin
P.S.: at least now I could test both apps and personally, I'll stick with Navigon. Navigation by voice is so well developed that I don't need to look at the app while driving and if I do look at it, track assistant is better developed too (it shows you the motorway signs). With the app "Directory Bind" I was also able to move the whole big app + maps onto the external SD card.
Hopefully, the Sygic devs will listen to the community feedback and catch up in development over time.
Click to expand...
Click to collapse
Thanks for this elaborate report. It will be useful for many.
And yes, the navigation soft producers must make some conclusions.
If I find a good way to protect an app from being killed, I'll post it here.
You can try Fameelee - Family Locator app and you will never get such problems. 24/7 real time accurate gps location tracking, ability to see location history of your app members for the last 30 days, get notification once your app members reach some specific places (that you match by yourself), sms and call logs tracking and a lot of more. App is free and avaiable on appstore and google play market

Categories

Resources