Rotate Map Without Compass Sensor?
Mar 6, 2012
i develop an map application. One feature from my map is, it can rotate.I already develop map that can rotate using orientation sensor. But now, i need to develop it without sensor.So, it's possible to get an angle from 2 coordinates (last position and current position )with atan2 and use it to rotate the map ?
View 1 Replies
Jul 22, 2009
Am researching a problem with compass and sensor values returned by the phone. I found this thread: http://groups.google.com/group/android-developers/browse_thread/threa. Which seems related, but it's old so I'm starting a new one. I'm getting stuck values from both the compass and orientation sensors. It was fine yesterday, but today, I'm only getting values in a limited range (e.g. compass headings from 240 - 290), no matter how I orient the device. What's even more odd is that the radians returned from the call to Sensor Manager.get Orientation(), which returns radians, is giving consistently out of range values. Anyone see this same behavior, and if so, any fixes? Here's some sample sensor data. Format is heading, pitch, roll. The first set contains raw values, the second set contains values after I've applied the orientation matrix generated by the Sensor Manager. The third set contains values after I've smoothed the data with my own algorithm.
View 4 Replies
View Related
Sep 17, 2010
There are some shortcoming for system's rotate screen function:
1. It is too sensitive to result in many unwanted rotating actions.
2. Accelerometer consumed power greatly. I want disable it and control screen orientation by my own program. Is it possible?
View 9 Replies
View Related
Feb 8, 2010
I have a HTC Hero here, and when I tried to get the list of available sensors on the device by calling ((SensorManager) getSystemService (Context.SENSOR_SERVICE)) .getSensorList(Sensor.TYPE_ALL); I get only the following sensors: D/SensorManager( 6302): found sensor: BMA150 3-axis Accelerometer, handle=0 D/SensorManager( 6302): found sensor: AK8973 3-axis Magnetic field sensor, handle=1 D/SensorManager( 6302): found sensor: AK8973 Orientation sensor, handle=2 D/SensorManager( 6302): found sensor: AK8973 Temperature sensor, handle=3 According to the specs, there should be a light and a proximity sensor on the Hero, and I've seen it in action (the automatic screen brightness adjustment) - so at least the ambient light sensor is definitely there. My question is then, why doesn't the getSensorList return for me the light and the proximity sensors?
View 8 Replies
View Related
Nov 2, 2010
Does anyone know the difference between the orientation sensor and magnetic field sensor on Android?Since I've read that magnetometer is synonymous with digital compass I'm a little bit confused. What are they really?
View 1 Replies
View Related
Feb 18, 2010
My home icon is way less responsive than the back icon which seems to be perfectly normal. Sometimes I have to "press" the home icon twice to get the "buzz" and have it move the screen. However the back icon works 99% of the time on the first press. IS there any adjustment I can make or should I bring the phone back. I have had it now for 2 weeks.
View 9 Replies
View Related
Jul 1, 2010
I just bought the Nexus One unlocked for AT&T and really like it. 1 wierd thing is that when I rotate the phone counter clockwise, the screen goes to landscape just fine; but when I rotate it clockwise it does not go to landscape "the other way". And, if I'm holding the phone 'normally' and rotate it 180 degrees ('upside down') it doesn't follow.My youngest daughter delights in telling me that her iPhone does this with no problem. What's up with that?
View 7 Replies
View Related
Oct 30, 2009
Or it's just some virtual sensor the uses the data provided by the accelerometer and the magnetic field sensor to calculate the orientation?
View 7 Replies
View Related
Oct 2, 2009
I have a HTC Magic (Rogers Canada).And, I see how the Dream (G1) rotates the home screen. can the Magic do that as well? Also, anybody know if it's possible to rotate the screen to the right and not just to the left? Shouldn't the acceleromater detect all the different rotated modes (even upside down?). that'd be cool
View 1 Replies
View Related
Sep 24, 2010
As we know, we can rotate a bitmap through 2 ways. The 1st way is: Matrix mt = new Matrix(); mt. postRotate (degree);Bitmap bitmap = CreateBitmap(src, 0, 0, w, h, mt, true); canvs.drawBitmap(bitmap, 0, 0, paint); In this way, we always need create new bitmap for every rotation, it is not good way for high performance game or app.The 2nd way is: canvas.save(); canvas.rotate(degree); canvas.drawBitmap(bitmap, 0, 0, paint); canvas.restore();In this way, we avoid creating new bitmap frequently, but the rotation bitmap is distortion, the bitmap quality is worse than first way.So, Is there 3rd way to rotate bitmap with high performance and good quality? Your any comments are really appreciated!
View 3 Replies
View Related
Nov 18, 2009
Can some one point towards any documentation/resources/ threads that can explain how a new sensor support can be added in android sensor framework?
View 2 Replies
View Related
Oct 16, 2010
My compass and any apps that use it are all off. I've tried calibrating it through the compass app, but it's still real jumpy.
View 2 Replies
View Related
May 3, 2010
I tried to find compass app in my htc legend, but no success. Seems that I have to look for one. But i don't know which one will work for my phone.
View 1 Replies
View Related
Sep 24, 2010
my wife wants a compass app on her phone (I think this is so she knows which way to walk to the most expensive shops, and becuase her friends with iPhones have them ).... as it appears that there is not one on the SGS, can anyone reccommend the best one to download? I presume that they are all as accurate as each other, but are there any that have any nice additional features?
View 8 Replies
View Related
Jan 7, 2010
I have the HTC hero right now with the Android 1.5 and was wondering if there is a compass app that i can download which is similar to the iPhone 3GS?
View 4 Replies
View Related
Nov 6, 2009
is there an app that makes use of the digital compass? also whats a good facebook app?
View 11 Replies
View Related
Aug 12, 2009
I've modified the code a bit since the last time, and now it crashes at runtime. I've got the log-cat and code below. how to go about debugging.
CODE:..................
View 2 Replies
View Related
Aug 21, 2009
I'm trying to make a map with showing my location with an arrow that point to the way we are facing. the arraw image is something like this:
^ 0
Always pointing north, so i rotate it with sensor orientation event ( image.rotate(values[0]) )
I would like to ask if google map's north is always on 12 o'clock? because i try sometimes the arrow point to wrong direction. how to accurately make this thing works?
View 2 Replies
View Related
Jun 3, 2010
I am on T-Mob with my Desire and have just realised i have no Digital Compass.Or am i looking in wrong place ? ,have tried manage apps ,and its not listed ,compass mode works ok in Maps,so whats happening?.
View 10 Replies
View Related
Mar 6, 2010
I noticed that when I am lookinh at google map (satellite or normal), when I turn the phone the map will not stay to point to the same direction. It turns with the phone. Is this the way it should be?
I also downloaded the Compass application. and it behaves kind of wierd: holding the phone horizonally, I turn around. The compass should keep pointing to the north regardless how I turn. Mine is all over the place. If I point the phone to NE, it does show the N direction but when I try to turn the phone to point to the North it goes all over the place.
This is regardless GPS on or off. I am still at 1.5...
View 2 Replies
View Related
May 1, 2010
Is There A Built In Compass? Or do you have to buy an app for it?
View 9 Replies
View Related
Jul 22, 2010
It's listed in all the specs I've seen on multiple sites, including on the official home page for the Legend: HTC - Products - HTC Legend - Specification
But for the life of me, I can't find it on my phone. It's definitely not listed under Programs. Does anyone have a clue? Where could it have gone if it's a default, built-in feature? Pardon my ignorance but this is the first smartphone that I've used and I was keen on using this feature to impress friends...
View 3 Replies
View Related
Apr 25, 2010
Just got my legend this friday and very happy about it until now.
I have some trouble with apps using the compass though:
When the Legend lies flat on a table there is no problem in finding North and South. When I turn the phone the compass needle stays. (Using the Compass app from the Market). But when I pick up the phone and hold it vertical (this is required for most Augmented Reality applications) it only points at South. And it's very annoying.
This happens with Google Street View Compass mode, Layar, Google Sky Map and the Compass application. I haven't tried other programs.
So is there something wrong or does something need calibration?
What I have tried till now:
- Waved the phone in an 8 shape for a while.
- Calibrated the G-Sensors.
- Tried in different locations making sure nothing magnetic is near by.
- Tried tipping the back of the phone.
View 1 Replies
View Related
Sep 18, 2010
I dont see any buit in compass app in HTC Wildfire. Which is the best compass app in the market.
View 1 Replies
View Related
Jul 28, 2010
In the last few weeks my compass has needed constant recalibration. Whenever I open my compass app, it says 'abnormal field', I calibrate, and it lasts for about five minutes. Google Sky Map is pretty much useless as well as compass mode in Street View.
View 2 Replies
View Related
Nov 27, 2009
I just tried a bunch of compass applications, and they all seem to be off by about 45 to 90 degrees. It's the same on goggle sky. Does anyone else have this same problem?
View 11 Replies
View Related
Nov 12, 2010
I tried the free compass from catch.com, plus some others, and I can't get any of them to calibrate correctly. Anyone else have these issues? I don't know if its the phone or the apps.
View 7 Replies
View Related
Aug 22, 2010
First day or two Google Sky worked fine, but I realized yesterday Google Sky didn't want to move left/right from holding the phone sideways but would move up/down. I found if I gave is a good shake left/right it would work right as far as I could tell. I checked around for what it might be and saw it could be a problem with the magnetic sensor. I tried the compass app and I get a "abnormal magnetic field detected" message right away. Should I return this or maybe reset some sort of setting or is there another way to calibrate?
View 5 Replies
View Related
Sep 27, 2010
I returned my first Fascinate due to it kept complaining the memory card was not plugged in. Would have to pop off the back of the phone off and remove then reinsert it to get it online again to use camera. Had to pay for an advanced replacement tell they get the old one back. Ugh. Well the replacement I just got does not do this but the compass does not work on it. I downloaded a compass app and it keeps saying abnormal readings and I need to recalibrate but no avail. My previous Fascinate seemed to have a working compass. Did I get a second defective phone?
View 4 Replies
View Related
Sep 3, 2010
In addition to the accuracy problem, the compass on my Epic seems to be really out of whack. It doesn't maintain a consistent reading (it jitters quite a bit) and has a difficult time finding North. I've seen this behavior exhibit itself in the GPS Test application and Google Maps. I loaded GPS Test on my girlfriends HTC Eris and her compass is accurate and a lot less jittery
View 7 Replies
View Related