Android的陀螺仪的例子吗?陀螺仪、例子、Android

2023-09-12 06:39:56 作者:我造你?我宣你i

我敢肯定,这已经在这里问了很多次,但都没有对陀螺仪的Andr​​oid开发Internet上的任何实例。由于陀螺令我着迷,我想这可能使一个pretty的好东西一起工作。我只是猜测三星Galaxy S有一个陀螺仪,对不对?我希望如此。再次,虽然,我的主要需要的是一个教程,甚至是一个不错的Andr​​oid程序设计教程/本书(不只是陀螺仪有关)。我学到的Java只为Android开发的目的。我已经知道C和一个小OBJ-C所以学习Java花了几个星期。所以,有更多的时间没有人知道任何真正好的教程/书籍Android开发(我找到了几个教程你管,但他们的质量是太可怕了,我不能跟着),也许一个好的陀螺仪教程Android和一有陀螺仪内置的Andr​​oid手机的列表。

I'm sure this has been asked here many times but, are there any examples on the Internet about gyroscope Android development. Because the Gyroscope intrigues me and I think it could make for a pretty good thing to work with. I am just guessing the Samsung Galaxy S has a gyroscope, right? I hope so. Again though, my main need is for a tutorial, maybe even a good android programming tutorial/book (not just gyroscope related). I learned Java just for the purpose of Android development. I already knew C and a little OBJ-C so learning Java took a few weeks. So, one more time does anyone know any really good tutorials/books for Android development (I found a few tutorials on you-tube but their quality were so terrible I couldn't follow along) and maybe a good gyroscope tutorial for Android and a list of Android phones that have gyroscope built-in.

推荐答案

是的,这一切都被问过,这是因为这么多的问题现在很难决定什么样的副本是在这里。请使用搜索框发布问题之前,并要求每个职位的一个单一的问题。谢谢你。

Yes, all this has been asked before, and it's hard now to decide what a duplicate of is, because of so many questions here. Please, use the search box before posting questions, and ask one single question per post. Thanks.

现在,来回答你的问题:

Now, to answer your questions:

书:

Good书开始Android开发 最佳的Andr​​oid 2.0开发的书? Good book for beginning android development Best Android 2.0 development book?

传感器:

Android的陀螺仪教程或样品code Android的加速度计 http://www.helloandroid.com/tutorials/using-android-phones-sensors http://stuffthathappens.com/blog/2009/03/15/android-accelerometer/ http://dansabin.com/2010/10/19/accelerometer-tutorial-for-android-1-6/ http://www.ibm.com/developerworks/opensource/library/os-android-sensor/index.html?ca=dgr-lnxw09Android-Sensors&S_TACT=105AGX59&S_CMP=grlnxw09 Android Gyroscope tutorial or sample code Android accelerometer http://www.helloandroid.com/tutorials/using-android-phones-sensors http://stuffthathappens.com/blog/2009/03/15/android-accelerometer/ http://dansabin.com/2010/10/19/accelerometer-tutorial-for-android-1-6/ http://www.ibm.com/developerworks/opensource/library/os-android-sensor/index.html?ca=dgr-lnxw09Android-Sensors&S_TACT=105AGX59&S_CMP=grlnxw09

SGS:

是的,它具有加速计和罗盘传感器:http://www.phonearena.com/phones/Samsung-Galaxy-S_id4522

Yes, it has accelerometer and compass sensors: http://www.phonearena.com/phones/Samsung-Galaxy-S_id4522