tnaffh / anymote-protocol Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/anymote-protocol
Automatically exported from code.google.com/p/anymote-protocol
With the following java code :
sendKeyEventGTV(KeyEvent.KEYCODE_TV);
public void sendKeyEventGTV(final int keyEvent) {
// create new Thread to avoid network operations on UI Thread
new Thread(new Runnable() {
public void run() {
if(anymotetv != null)
anymotetv.sendKeyPress(keyEvent);
}
}).start();
}
I get the following error in logcat :
12-26 16:58:04.420: E/AndroidRuntime(7573): java.lang.NullPointerException
12-26 16:58:04.420: E/AndroidRuntime(7573): at
com.google.anymote.Messages$KeyEvent$Builder.setKeycode(Messages.java:1598)
12-26 16:58:04.420: E/AndroidRuntime(7573): at
com.google.anymote.device.DeviceMessageAdapter.sendKeyEvent(DeviceMessageAdapter
.java:128)
12-26 16:58:04.420: E/AndroidRuntime(7573): at
com.example.google.tv.anymotelibrary.client.AnymoteSender$MessageSenderThread$1.
handleMessage(AnymoteSender.java:319)
12-26 16:58:04.420: E/AndroidRuntime(7573): at
android.os.Handler.dispatchMessage(Handler.java:99)
12-26 16:58:04.420: E/AndroidRuntime(7573): at
android.os.Looper.loop(Looper.java:137)
12-26 16:58:04.420: E/AndroidRuntime(7573): at
com.example.google.tv.anymotelibrary.client.AnymoteSender$MessageSenderThread.ru
n(AnymoteSender.java:350)
and my app is finishing.
Other keys (KEYCODE_MEDIA_PLAY_PAUSE, ...) doesn't do that and are OK with my
remote Google TV (Sony NSZGS7B box).
Tested on Motorola Xoom with Android 4.1.2, build JZO54K
libs :
anymote.jar
bcprov-jdk15-143.jar
polo.jar
protobuf-java-2.2.0-lite.jar
Original issue reported on code.google.com by [email protected]
on 26 Dec 2012 at 10:41
On the vizio co-star if you press the Search button on the remote, you get the
apps Search Dialog if it has the ability to search within the app. If you long
press the search, you get the Global Search dialog.
However, with the anymote-protocol you always get the Global Search dialog and
never get the option for the in app search dialog.
What is needed is a way to send the in app search or trigger an in app search
dialog.
Expected behavior, similar to vizio costar.
Tested this with both chromemote, able remote, and google tv remote.
Original issue reported on code.google.com by [email protected]
on 10 Mar 2013 at 8:39
make on the cpp after configure and supplying all requirements:
*** No rule to make target `/src/gtest-all.cc', needed by `gtest-all.lo'. Stop.
Original issue reported on code.google.com by [email protected]
on 30 Sep 2012 at 8:04
I have a Sony NSZ-GS7/GX70 and have found a couple of features missing.
One such feature is to allow me define my own custom IR codes and then to allow
me to invoke them in some way.
Ideally then I would like to be able to invoke these IR codes from a remote
control app.
In may case I need to be able to switch inputs on the AV amp. For TV I have a
separate channel than for sound coming from the Google TV.
Any help/advice would be much appreciated.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2012 at 9:41
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.