sensors
How to use the sensor values in the same way as google skymap?
I am trying to replicate how Google Skymap makes use of sensor inputs. I currently use getOrientation and the accelerometer values to determine up and rotation. This works fine whilst the phone is hel[详细]
2023-02-26 14:56 分类:问答Box2D: How to get the position of a sensor?
Edit I\'ve updated this question here: Box2D: How to get the position of a static body? I\'m using sensors in a Box2D project. On a collision with a sensor, I\'d like to know the sensor\'s position i[详细]
2023-02-24 10:59 分类:问答Why does Google stipulate that you specify whether you are using a sensor in the maps API?
When retrieving the Google Maps API javascript, Google requires that you specify whether you are using a sensor or not with your application (e.g. sensor=false).Why is this?Is it simply a matter of da[详细]
2023-02-24 03:40 分类:问答Strange behavior with android orientation sensor
Currently, I\'m trying to rotate 3D Cube using orientation sensor values, using getRotation() method. Some unexpected behaviors are observed when the android device is rotated above some bounds. For i[详细]
2023-02-22 21:41 分类:问答Android Orientation sensor for rotation the 3D cube
I\'m trying to make 3-dof controller using Android phone, similar to Wiimote. Uses Accelerometer for recognizing the controller\'开发者_如何学Cs orientation (used getOrientation() method for calculati[详细]
2023-02-21 05:41 分类:问答Using orientation sensor to point towards a specific location
I\'m trying to implement an arrow that uses the orientation sensor in order to point towards a specific location. Google Places implements this arrow in a ListView for each place it finds.[详细]
2023-02-20 11:36 分类:问答calculating angle - android
I\'ve been trying to figure this out, but with no luck. I want to calculate the angle between the phone\'s orientation and the y-axis, when rotating the phone around the z-axis. I\'m holding the phon[详细]
2023-02-19 02:10 分类:问答Merge sensor data for clustering/neural net usage
I have several datasets i.e. matrices that have a 2 columns, one with a matlab date number and a second one with a double value. Here an example set of one of them[详细]
2023-02-19 02:00 分类:问答Calling intents from an activity without using buttons or any other user input
I have two apps that both extend activities and work perfect on their own, but when I call intent of one to view data in the other the app crashes. I have taken the second and made it a separate java[详细]
2023-02-18 21:51 分类:问答How can I rotate display only in landscape mode in android?
I want that my View rotates only in landscape mode, clockwise and counterclockwise. I read about the only counterclockwise for android < 2.2 and that\'s not a problem, my App will be +2.2 for now.[详细]
2023-02-18 21:24 分类:问答