http API sendKey() question

Hi



I’m trying to do a simple remote app for android and it’s coming along rather well but I can’t seem to use the keyboard “space” key by using the sendKey() command.



If I send this to the server:

http://localhost:3000/xbmcCmds/xbmcHttp?command=sendKey%(0xF120)

I get an “Ok” back but nothing happens.



sendKey works just fine for Escape (1B) but that’s about it.



Any ideas?



The reason I want to do this is that I want to avoid having separate buttons for play and select in my project.

I can’t send both commands every time a a button is pressed because that comes with some unwanted behaviors (i.e. music starts playing when selecting a new menu option, I’ve tried to work around it by using ClearPlayList([playlist]) but it seems that clearplaylist() isn’t valid any more.





Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.