Git Product home page Git Product logo

anymote-protocol's Issues

Anymote and key "KeyEvent.KEYCODE_TV"

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

Search alwasy brings up Global Search

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 error

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

Allow custom IR Codes

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.