webkey on android tv

82 views
Skip to first unread message

jonlisty

unread,
Jun 13, 2012, 4:47:55 AM6/13/12
to androi...@googlegroups.com
Hello,

We want to use webkey for a novel but interesting use...  We are a small corporate TV channel broadcasting in hotels across Asia.  We want to be able to 'broadcast' our 30 minute program, on a loop, all day, and to be able to easily update the show on a daily basis.  One way I am looking at doing this is using a small Android TV box (namely the Mele A1000) with dropbox/dropsync to automatically distribute the new shows every day.  But we need Webkey to work to be able to remotely administer the boxes in each hotel...  But it doesn't work!  It's the final hurdle!  Webkey installs on the client and I can view the desktop in my browser, but clicks and buttons do not reach the client - I can see the screen but I can't control it.

Any ideas?

Cheers guys, Webkey is a great program.  I'll credit it in our show if I manage to get this system working!

Jon

Móra Péter

unread,
Jun 14, 2012, 12:11:39 AM6/14/12
to androi...@googlegroups.com
Hi Jon,


First of all, we are happy that you want to use our app. Could you
send me the output of the following address?

http://the_address_of_a_TV_set/TOUCHTEST

Usually I don't require access to users' phones, but these are TVs
:), do you have a TV which is I could test remotely? Please send it to
my email address instead of this mailgroup :)

Some tecnnical details:
- the keyboard keys are injected two different ways. On <4.0 we can
create a device with a special name (../../../../bin/Webey), which
makes the system to use our special character set. This way we can
inject all special characters, like öüóőúéá. It doesn't work with 4.0
ICS, on which we can only inject the English letters by creating a new
device. The hardware buttons are tough. Some phones only accept a
button press (for example KEY 24 on Samsung Galaxy II is VolUp), if it
comes from a specific device (in this case sec_key device). We can
search for these keys by listening on the devices while the buttons
are pressed.
- touch: Webkey makes an intelligent (containing a lot of exception
for various phones) guess which is the touchscreen device. Maybe
that's not good for your TV. There is an other possible way to inject
touches: we can also create a new mouse device (which on some phones
creates an actual mouse icon).


Best wishes,
Peter

Jian Wu Chen

unread,
Jul 9, 2013, 10:23:38 AM7/9/13
to androi...@googlegroups.com
I got the same problem. I'm using a small android TV dangle mk809ii. I can view the remote screen. I can send the keys such as home, back. The problem is tough input. Seems the touch send with wrong offset. So if I click one icon. It'll launch another application. Here is the touch test result.

this is icrecreamsandwich
using uinput for mouse, type = 1
searching for touch device, opening /dev/input/event0 ... device name is rk29-keypad
searching for touch device, opening /dev/input/event1 ... device name is rkxx-remotectl
searching for touch device, opening /dev/input/event2 ... device name is Memsart Virtual Accelerometer
searching for touch device, opening /dev/input/event3 ... device name is Memsart Virtual Gyroscope
Please use the touchscreen on the phone for a while.
it's ice cream sandwich
touchfd read failed.
touchfd read failed.
touchfd read failed.
touchfd read failed
Reply all
Reply to author
Forward
0 new messages