[android-developers] Re: Compass for android (orientation in 3D space)

2008-12-29 Thread DSmith

The easiest way is to use SENSOR_ORIENTATION (http://code.google.com/
android/reference/android/hardware/
SensorManager.html#SENSOR_ORIENTATION).  It does all the necessary
calculations on the magnetometer and accelerometer values, throws in
some low-pass filtering, and spits out azimuth, pitch, and roll.  The
calculations aren't perfect - you'll see some strange things at the
branch cuts, like the az spinning backwards through the entire range
when you raise the phone over your head, but it's pretty good for most
practical uses.
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: what is the widget platform Android supportted?

2008-12-29 Thread DSmith

Widget APIs are not yet available to developers.  Look for it in a
future Android release.
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: No Internet Connection Sharing?

2008-12-29 Thread DSmith

No such solution exists because no such API yet exists in Android.
Use tetherbot.
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Issue reagrding check out from SVN

2008-12-20 Thread DSmith

No point trying to run until you can compile.  Kinda like trying to do
origami with a tree - technically you've got the right ingredients,
but they aren't in the right form yet.

Why can't you compile?

--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: OpenGL Hardware Acceleration in G1

2008-11-15 Thread DSmith

Android supports OpenGL ES, which is a subset of the OpenGL API.

On Nov 14, 7:59 pm, Romain Guy [EMAIL PROTECTED] wrote:
 Yes. :)

 On Fri, Nov 14, 2008 at 10:39 AM, razialx [EMAIL PROTECTED] wrote:

  I have not been able to find anything definitive on this yet, despite
  searching.

  Does the G1 support hardware acceleration for OpenGL?

  Thank you,

  Tim

 --
 Romain Guywww.curious-creature.org
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: OpenGL Basics

2008-11-03 Thread DSmith

If you just want to get some animation running quickly, don't worry
about understanding GLSurfaceView: reuse it as is and concentrate on
understanding the CubeRenderer class.  You can even reuse most of that
class, just rewrite the drawFrame method to draw what you want.

DSmith

--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---