Dianne, thanks for your reply. Can I have a touch screen as an external HID (without add / modify any driver) in the same way like mouse and keyboard? Thanks.
Regards, Prabudas S. On Tuesday, 7 August 2012 03:41:29 UTC+5:30, Dianne Hackborn wrote: > > Currently the only way, outside of test environments, to deliver input > events to the platform is throw a kernel input device. So your USB device > must report itself as a HID device (a keyboard, trackpad, mouse, or game > controller) which the kernel understands how to interact with and will > generate the appropriate low-level events from the input device. > > On Mon, Aug 6, 2012 at 6:18 AM, Prabudas <prabu...@gmail.com> wrote: > >> Hi, >> >> I am working on an external HID device for android 4.0 devices. The >> device will have a touchpad and hardware buttons to replicate the touch >> screen and android buttons(Home, back and menu). To make this device work >> with any android 4.0 device, I do not want to modify the build or root the >> device. All I can do is, I can write an app (service) which can interact >> with this device through USB (using accessory mode v 1.0). So, from that >> app, I want to create the necessary events based on the message from USB. >> This can be very easy in android 4.1 with accessory mode 2.0. But, I need >> this for 4.0. Please help me on this. Thanks in advance. >> >> …Prabudas >> >> -- >> 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 > > > > > -- > 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