External peripherals emulating keyboard input

by Jarek » Sat, 05 Dec 2009 02:44:28 GMT

Sponsored Links
 I am trying to develop a device which would attach to my Droid and
send keystrokes to it, but I need help understanding how the USB OTG
works. I have the basic pinout, but is there a reference and
instruction set guide anywhere, preferably with example code? Has
anyone had any luck developing similar peripherals?


Thank you for your time.


Other Threads

1. Ondraw not working for variable size rectangle

I am just trying to draw a rectangle whose height grows based on a
certain value. However it won't draw anything when I use this
variable. I think its some sort of clipping issue that I dont
understand. The ondraw belongs to a custom view (it simply extends the
View class)

THis works: (it draws a rectangle half the height of the screen

        protected synchronized void onDraw(Canvas canvas) {
                canvas.drawRect(0, 0, getWidth()-1, (float).

This does not work at all (_progress is a float that starts at 0,
progresses to 1, its a vertical progress bar)

        protected synchronized void onDraw(Canvas canvas) {
                canvas.drawRect(0, 0, getWidth(), (float)_progress*getHeight(),

There has to be a glaringly obvious reason for this, i have messed
around with the cliprect with no luck. Thanks



2. how to put checkbox , text and image button in a linear layout

No offense, but this is as basic as it gets. What have you tried? What are
you having trouble with?

TreKing - Chicago transit tracking app for Android-powered devices


3. android installer

4. How will the WAC affect android app development?

5. Rotating just the header?

6. Best Way To Implement An Activity That Lists Recipes

7. Phone Dialer Force Close Error