[android-developers] Re: Android 2.0 SDK is here!
感谢,最近翻墙无术了。。。 On Oct 28, 9:39 am, dan raaka danra...@gmail.com wrote: The https site throws errors and hence used http site, however it shows about the Google addon and not the SDK platform android, as seen in the screenshot inhttp://developer.android.com/images/sdk_manager_packages.png Any ideas .. why ? -Dan On Tue, Oct 27, 2009 at 6:35 PM, xii stan stan@gmail.com wrote: Great Work! android 2.0 But I can not visit this website! I am in Shen Zhen in China!!! Does any one could help me! Thanks a lot On Wed, Oct 28, 2009 at 8:44 AM, Bonifaz bonifaz.kaufm...@gmail.comwrote: This sounds great. I was fevered waiting for Bluetooth RFCOMM. Thanks so much! Multi-touch is also awesome. --~--~-~--~~~---~--~~ 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: access /dev/graphics/fb0 from JNI FAILED
Thank you all for your kindly help. I've know the rules of developing on android platform. These are considered dirty in android developing. Maybe I have to find another way around. --~--~-~--~~~---~--~~ 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] How android translate kernel input eve nts to userland input events?
If I paste on the wrong group, please warn me. Hello,I‘m now learning how android handles linux input events from kernel raw input events to the userland level KeyEvent and so on. And I want to handle input events in native language. I've do some experiments on handling events using NDK but the touch screen events are very hard to handle(when I touch the screen, It generates a lot of kernel events). I've read the eventhub class in framework base dir in the android source repo. And I now I know how android collects linux kernel raw events using eventhub class by reading from /dev/input/event* , but I still have no idea how it translates these raw events into the userland logic input events like KeyEvent. The file keyinput service only wrappers eventhub to JNI functions but there are no translation. So please give me some hints on the kernel event and userland event translation process. Thanks in advance. --~--~-~--~~~---~--~~ 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: How android translate kernel input events to userland input events?
Thanks for your help. I know that I can get root privilege only on my dev phone, and I will not try to really handle these events by myself. On Oct 23, 11:55 am, Dianne Hackborn hack...@android.com wrote: You can't handle input events in native code, the framework takes care of that and you will break things if you fight with it (and can't anyway because you shouldn't have permission to open the driver). You can look at EventHub.cpp and KeyInputQueue.java to see how the framework transforms the raw driver events into the MotionEvent and KeyEvent objects your app receives, but you can't do anything like that in an application. On Thu, Oct 22, 2009 at 8:37 PM, ZaichengQi vml...@gmail.com wrote: If I paste on the wrong group, please warn me. Hello,I‘m now learning how android handles linux input events from kernel raw input events to the userland level KeyEvent and so on. And I want to handle input events in native language. I've do some experiments on handling events using NDK but the touch screen events are very hard to handle(when I touch the screen, It generates a lot of kernel events). I've read the eventhub class in framework base dir in the android source repo. And I now I know how android collects linux kernel raw events using eventhub class by reading from /dev/input/event* , but I still have no idea how it translates these raw events into the userland logic input events like KeyEvent. The file keyinput service only wrappers eventhub to JNI functions but there are no translation. So please give me some hints on the kernel event and userland event translation process. Thanks in advance. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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] access /dev/graphics/fb0 from JNI FAILED
I'm trying to access android framebuffer device /dev/graphics/fb0 from JNI function compiled by android NDK 1.5r1. I wrote a JNI funtion from my test module using fbfd = open(/dev/ graphics/fb0, O_RDWR), but the errno from errno.h returns me EACCES. ps: I logged the module using android/log.h and see the native function is correctly loaded. When I compile an excutable using the same function, I can get the framebuffer file descriptor. So how can I access /dev/graphics/fb0 from davlik JNI? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---