[android-developers] Dot2Dot |Printing Malaysia |Print Malaysia |

2018-04-09 Thread dd service
Quality printing services is just a single part for a successful promoting campaign. Everything details with a visual depiction. Your business picture depends on your character materials (business cards, postcards and so on .) and individuals judge your business

[android-developers] Re: Game Service error (4800000)

2016-05-25 Thread dd
same issue here -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to

[android-developers] update list background in SimpleAdapter

2010-04-02 Thread DD
Dear All, I have a SimpleAdapter like this: listAdapter = new SimpleAdapter(History.this, HistoryArray, R.layout.list_history, new String[] {var1, var2}, new int[] {R.id.var1, R.id.var2});

[android-developers] Maths behind the Android orientation calculation algorithm

2010-03-27 Thread DD
Hi, I know Android calculates the orientation of the phone by fusing the acceleration and magnetic field readings. The related APIs are getRotationMatrix() and getOrientation(). I looked into the source code of these two APIs

[android-developers] How to get the orientation when the phone is accelerating?

2009-11-02 Thread DD
Hi, the description of getRotationMatrix() on the Android web says The matrices returned by this function are meaningful only when the device is not free-falling and it is not close to the magnetic north. If the device is accelerating, or placed into a strong magnetic field, the returned matrices

[android-developers] How to display the output fast?

2009-10-26 Thread DD
Hi, I need to display the sensors data on the phone, and I'm currently using ViewText.setText(). But it seems not fast enough. Since I'm using the FASTEST sampling rate for the sensors, the display just can't catch up with the sensors data changing. Also, I need to display the data as fast as

[android-developers] Re: Possible to calculate yaw,pitch,roll from x,y,z magnetic field values alone?

2009-10-24 Thread DD
). If you're interested in how to generate an attitude solution from two vector observations, you should look up the TRIAD algorithm for attitude determination. Cheers, Scott On Oct 12, 4:25 am, DD daviddiaofri...@gmail.com wrote: Hi, is it possible to calculate yaw,pitch,roll solely from x,y,z

[android-developers] Re: Possible to calculate yaw,pitch,roll from x,y,z magnetic field values alone?

2009-10-18 Thread DD
the mag alone to get the orientation(yaw, pitch, roll) so that the orientation readings are independent on the accelerations. Thank you very much. On Oct 12, 7:22 pm, RS rajeshs...@gmail.com wrote: DD, there are a few special cases that won't work: If mag a sensor's first axis (say x

[android-developers] Possible to calculate yaw,pitch,roll from x,y,z magnetic field values alone?

2009-10-12 Thread DD
Hi, is it possible to calculate yaw,pitch,roll solely from x,y,z magnetic field values obtained from the magnetometer, for example, according to physics? How? Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: How to register for multiple sensors

2009-10-11 Thread DD
), SensorManager.SENSOR_DELAY_FASTEST); ..._ On Oct 10, 11:09 pm, Lance Nanek lna...@gmail.com wrote: Why not just call the new method multiple times, once for each sensor you want to listen to, keeping the other arguments the same? On Oct 10, 7:42 am, DD daviddiaofri

[android-developers] Re: Mobile phone accelaration sensor

2009-10-10 Thread DD
Hi Mike, actually I am doing integrations on the acceleration readings obtained from the sensor, to implement dead reckoning . and yes, like you said, it is touchy. Then just wonder whether you have got better ways to do this? What did you mean by not a real-time OS? So is that to say, the

[android-developers] onSensorChanged: synchronized (this)?

2009-10-10 Thread DD
Hi, I have a pretty simple question. For public void onSensorChanged (int sensor, float[] values){synchronized (this) { what's synchronized (this) for...? I'm really new to Java...what's gonna happen if I dont have this? Thank you very much.!!

[android-developers] How to register for multiple sensors

2009-10-10 Thread DD
Hi, A simple question: How do I register for multiple sensors? I just switched from registerListener(SensorListener listener, int sensors, int rate) , which is deprecated, to registerListener(SensorEventListener listener, Sensor sensor, int rate) . Previously, I could use | to indicate multiple

[android-developers] Re: onSensorChanged: synchronized (this)?

2009-10-10 Thread DD
Thanks. Richard ! On Oct 10, 6:26 pm, RichardC richard.crit...@googlemail.com wrote: I wish could edit our messages ... I should have said something like: .. will block multilpe simultaneous threads changing the data  ... -- RichardC

[android-developers] How does Android compute yaw,pitch,roll???

2009-10-04 Thread DD
Hi, It seems that for onSensorChanged(), the orientation readings (yaw,pitch,roll) are not detected directly, but computed from the acceleration readings. Does anybody know how they do this calculation? is it by rotationmatrix..? May I know exactly the calculation process? Thanks!

[android-developers] Inconsistency on the definition of the sign of X acceleration?

2009-10-04 Thread DD
to the push toward the left) errr.why? THanks a lot! DD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: How does Android compute yaw,pitch,roll???

2009-10-04 Thread DD
that android.hardware only had the classes of Camera and SenorManager, and one interface of SensorListener... no SensorEventListener.. Also, getRotationMatrix is not recognized too... for which I already wrote another post to ask. I'm actually pretty new to Android, even Java..._ Thanks, DD

[android-developers] Re: How does Android compute yaw,pitch,roll???

2009-10-04 Thread DD
is tilted. My target now is just to get rid of G On Oct 5, 10:04 am, Rud rudmerr...@gmail.com wrote: See my blog for code to do the processing:http://mysticlakesoftware.blogspot.com/ Rud On Oct 4, 7:57 am, DD daviddiaofri...@gmail.com wrote: Hi, It seems that for onSensorChanged

[android-developers] why getRotationMatrix undefined for the type SensorManager???

2009-10-03 Thread DD
android.hardware.SensorManager; could anybody tell me why I got wrong? I'm a newbie. Thanks a lot! DD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Inertial Sensor on HTC Hero

2009-10-01 Thread DD
a lot! DD On Sep 27, 6:22 pm, LVMH lvmh...@gmail.com wrote: Does anyone work with sensors on Android have any go around to solve this problem? On Sep 25, 5:15 pm, LVMH lvmh...@gmail.com wrote: Hello, I am trying to develop an indoor inertial navigation system on the HTC hero