I am attempting to build an on screen keyboard for Google TV using the Anymote protocol. Sending keys listed here works fine:
http://code.google.com/p/anymote-protocol/source/browse/proto/keycodes.proto
How can I send keys without keycodes like an ampersand? On the Google TV remote, I hit the left shift then #. Is it possible to emulate this?
Have you tried the Data event: https://developers.google.com/tv/remote/docs/anymote
Related
How to handle re-prompt or inactivity for display enabled devices in google action. I had already used the provided event actions_intent_NO_INPUT, this just work for smart speakers, doesn't work on display enabled devices namely phone and smart display.
You can't. As you noticed yourself, NO_INPUT works for smart speakers only.
How can I get notifications on bluetooth device (like smart watch) when there is an SMS or iMessage using Message Access Profile.These things are already implemented in smart watches like pebble.I would like to know how can I achieve this using ios sdk.
I posted couple of question on SMS,iMessage notifications using MAP in iPhone.Here are the links to those questions
How to use Message Access Profile (MAP) in iPhone
You don't do anything to get MAP support — it's tied in to the push notification system. Any notification will get sent over MAP to any paired Bluetooth devices that implement it. (I think if they have a MAP paired device, the user can set which apps send MAP in notification settings.)
There are apparently some bugs at the moment, according to the Pebble team — sometimes you have to toggle the notifications switch for each app off then on again before it starts pushing them.
You can use CoreTelephony framework.But you must user some private api.And I have some demo code for this. https://github.com/edison0951/AppNotifyBySMSDemo. And the finally solution is MAP.
I'm writing a Web app for Google TV and want to make use of the colour keys on the remote control for navigation.
I'm not getting any input from the keys in response to onkeypress or onkeydown events, does anyone know if it is possible to use these keys for input in Web apps? I have seen the keys used in apps on Google TV but I suspect these may be Android apps. I can get input from the keyboard keys and the D controller without any difficulty.
Thanks in advance,
Gordon.
The color key's are not currently supported within web applications. Chrome does not receive key events from the remote for the color keys.
These color keys are designed for universal remote functionalities on TV. Since there are no desktop equivalents to them, Chrome does not pass any keycode for them.
In general for available keys and keycodes, use the keycode tester here:
https://developers.google.com/tv/web/docs/implement_for_tv#keyboard
Anyone have a reference to the keycodes for sony remote, I have play and stop working but need pause keycode, play pause seems to be referencing the same keycode but the buttons are seperate on the remote
Here are the media keycodes:
https://developers.google.com/tv/android/docs/gtv_controlguide#MediaKeys
The controls are mapped to similar Android keys. The corresponding key codes can be found here: https://developer.android.com/reference/android/view/KeyEvent
Please also note Google TV guidelines for building TV navigation.
If you need to know which keycode a specific key on your remote has I can recommend using KeyMapper which is free, available for Google TV and allows you to remap almost any hardware key to another function. It also shows you what keycode is triggered by a key.
Is there any way in the iPhone SDK (not a jailbroken API, this needs to be AppStore-Compliant), to get the state of a connected wireless keyboard? e.g. which keys are pressed and which aren't? I have searched for this with google, but I am coming up short.
Any help would be greatly appreciated!
Not really. You can tell whether a keyboard is connected or not, but you won't get callbacks for corded shortcuts. There is clearly a way to do this, because Pages supports keyboard shortcuts (Cmd-Z, etc), but it's not in the public SDK.