Google TV USB-UIRT commands - Android Software/Hacking General [Developers Only]

I have a cheap USB IR receiver that came with a small remote, which I bought for my HTPC setup (that looks like this). I never got around to using it with my HTPC (Win7), but since I bought a Sony NSZ-GT1, I thought I will give it a try, and was surprised that it was even got recognized (for those who are not aware, this setup comes with a RF remote, so you can't control it from multi-function remotes such as Logitech Harmony). I got only a few buttons to work reliably, mainly the arrows for navigation and OK for selection, but a few other buttons were getting relayed to my Dish receiver via the IR blaster. I was even able to wake it up using the remote, which is great. Since the remote only has a limited set of buttons, my guess is that Google TV already has support for a lot more commands that my remote doesn't know how to emit. I am planning to do some more experimentation with this, perhaps add a Logitech Revue as a device to my harmony and see how compatible those commands are with this device. If anybody has already tried something like this and had success, I would love to hear more.

Related

[Q] remote control app

I was wondering it there an app that will let me make my phone into a universial remote or even just a remote to control my converter box bc i kinda lost that remote.
vamp6x6x6x said:
I was wondering it there an app that will let me make my phone into a universial remote or even just a remote to control my converter box bc i kinda lost that remote.
Click to expand...
Click to collapse
Unless your phone has InfraRed port(Which I doubt android phones have since its old), no.
My buddy uses Unify4life from his Blackberry. It uses bluetooth to transmit to a small receiver that relays infrared to his whole home theater. It controls everything he has. I’m sure the Android world will get something similar soon.

[Q] Are there any remote controls for an android phone?

Hi guys-
I currently use my ipod as my primary mp3 player, and I have it connected to my home stereo. I LOVE having it on the dock, and I can use the remote control to change songs from in the kitchen while I'm doing stuff. I would like to switch out to using my phone, but I don't want to lose the ability to use the remote. It is a pain in the ass to run back into the living room every time I want to skip a song. I'm getting a new phone soon, so I was wondering if there are any android phones that you can use with a remote control? I REALLY don't want an iphone, but I'm considering it because I can use my ipod dock. Also, when I google remote for android phone, I only get results for apps that let you use your android phone as a remote control, which is not what I want. The few that I have seen also have headphones and built in mic. Seems like they are more designed for hands free phone operation while in the car. Not exactly what I'm looking for...
Thanks!
Edit: I Finally found this: http://www.examiner.com/technology-...emote-control-for-android-powered-smartphones
The list of compatible phones is quite short, though.
Has anyone tried it? Or has anyone used a different remote that you would recommend?
^
Does anyone know of an i/r remote that can control our android phones?
my daughters ipod charging dock came with an i/r remote that allows her to change songs from a distance with the remote. if only the dock would charge her ipod instead of giving a "this device is not a supported accessory" error... i hate apple!
i have a whole house audio system with keypads in all of the bedrooms that can transmit i/r commands back to a device to change channels/songs/etc. i have it setup to change songs on the ipod from anywere in the house which is fantastic, but the ipod won't charge on the dock .
i would love to replace the ipod with my anroid phone, but i have not seen a charging dock that also has an i/r sensor. it would be absolutely fantastic to have this option, and if anyone has any recommendations, i'd love to hear them.
thanks.

Emulate an Iphone USB interface to a car radio?

I recently purchased a car that has a USB interface for the radio. My wife's Iphone fully integrates with it, of course, and via the radio's interface but the Samsung only mounts as a connected drive.
I have read other thread where people were able to force their Samsung into car dock mode by modifying a USB cable. Is there anyway to just do that in software?
you misunderstand what car mode is.
Good luck! I switched back to my iPhone for this reason alone. I listen to a lot of podcasts and I couldn't get this to work via the USB interface and I don't have bluetooth on my head unit. I can't seem to get the newest update to see if that works either. Would love to know if someone has a solution that doesn't require making your own cable.
yo sleze..what model car if i may ask?
i made my own auxiliary input for my car(i know its not a big feat) with an old dsl filter a soldering gun and some resistors and capacitors.. i might be interested in creating a usb interface for my car and then maybe i can give you some insight .. big maybe
well you will never get the headunit to command the phone, android simply doesn't support anything like that. but you can get audio over USB which is triggered by shorting a couple pins through a resistor. ill have to look up that thread but there may already be a dongle or cable out there to do this. it may not be say "android carmode" but if you find the name of the USB standard that they use to trigger it you can find the appropriate cable or dongle.
isnt there a usb headset available that can stop/start music and next track functionality ..if so you could (in theory) make a usb interface that would allow the head unit or in my case steering wheel control to work similarly?
no it wont command the phone. the framework and apps don't have an interface for that. plus the headunit would need special drivers if the phone had that capability. the issue with android is too many manufacturers do things different so unless google comes out with that on a nexus and tells maunfacturers the way it needs to be implimented I don't see any hope.
there might be a way to echo the commands through adb if you have a computer in your car. but I guess you'd have to know how the music app works for that.
we All know apple has the accessories market down pretty good. even though some older accessories don't work with the newest hardware. that's the one thing apple is good for, a wide accessory market.
now if you have a Bluetooth controler and it uses the right protocol to work with thw samaung bluetooth stack then you might be able to map keys to certain functions with an app or simple configuration file editing. but as far as USB goes I don't think android is designed to host USB input devices. there is limited otg usb support on certain special galaxy s and nexus 1 and nexus s kernels but nothing native.
maybe some 3rd party root app could eventually be developed but I haven't heard of one yet.
besides all that, who knows if the head unit will know to go into audio over USB mode in the first place, even if you get the phone in that mode, will the headunit be looking for USB storage and an iPhone interface only? was it designed to accept USB audio other than an iPod interface?
well with my car BMW mad a usb interface for ipod/iphone.. i hate mac so scratch that.. i also have a usb interface(i can control radio/nav functions via carputer) that is designed to work with I-BUS (intelligent input bus) which is what some BMW's used for audio/nav integration. some newer models actually come with a usb input that was designed to work with most media players..so i thought maybe with some time/frustration/rum..i might be able to make it work..
mejori said:
well with my car BMW mad a usb interface for ipod/iphone.. i hate mac so scratch that.. i also have a usb interface(i can control radio/nav functions via carputer) that is designed to work with I-BUS (intelligent input bus) which is what some BMW's used for audio/nav integration. some newer models actually come with a usb input that was designed to work with most media players..so i thought maybe with some time/frustration/rum..i might be able to make it work..
Click to expand...
Click to collapse
It still to my understanding that on BMW iDrive system will have full integration with iOS. We had a 2010 5 series at home with all the bell and whistles on it, and even then it would only display song names. With my iPod we got full library options, podcast too. Android will only be able to be used as a mounted devices.
Sent from my SAMSUNG-SGH-I997 using xda premium
I used to have an iPhone and installed this kit http://usaspec.com/product.php?ProductID=18. After switching to android I just use a 2.5mm to RCA cable to plug in to the same unit. Not worried too much about integrating with car controls - I also use a phone mount. Does your head unit have any AUX IN connectivity? Maybe on the rear? If so just play audio through the headphone jack. There's always the lighter socket RF adapter option too, but audio quality with those things can be lame.
Samsung-SGH-I997 Infused 2.3.3
yeah the headphone amp on the infuse has pretty good fidelity too. the headphone Jack might not be as convenient as a single USB that also charges the phone but I'd you want to use the playlists and 3rd party apps like Pandora or Google music its the best way. audio over USB needs the dock or special cable to trigger but I don't know which headunits will support that.

[Q] SGH-T779 and the IrDA

Hello,
I've recently purchased an SGH-T779 T-Mobile edition of the Samsung Galaxy Tab 2 10.1, and I have one issue I wanted to inquire about.
The tablet has the IrDA port, and yes, it comes with Peel Smart Remote, but I really am not liking that software, at all. First time I used it, it would force close, a lot, just trying to change channels. After a factory reset (after having done something semi-stupid and try to install Xposed Framework which caused a boot lock), it's been working a little better, and hasn't yet, crashed, but the interface is lacking, a /lot/ of functionality, controls, and just isn't very useful.
Now, I should mention, I do have a Logitech Harmony One remote which I primarily use, and I love it. I also have a full entertainment center setup. SmartTV, Yamaha AV, BluRay, etc..
What I'm looking for is if there's ANY decent remote control software that could actually facilitate the IrDA port properly. LG, maker of the SmartTV I have, has a WiFi based soft remote for my TV which is really good, but it doesn't let you turn on the TV, or mingle with the Yamaha AV receiver which manages my HDMI inputs and audio volumes and such.
So, any suggestions? I've done a little looking on the play market, but not finding much actual software that works with IrDA directly. I tried Dijit, but it seemed to require an external device to handle IrDA.
Thanks,
Psi-Jack

Remotes and Controllers that work

REMOTES
Amazon Fire TV - Voice Remote - WONT PAIR
Amazon Fire TV Stick - Remote - WORKS
Logitech Harmony Smart Control - Reported by Matt112211
CONTROLLERS
Ouya Wireless Controller - Works but doesn't work with all Android TV games
Mad Catz C.T.R.L.R - Works but doesn't work with all Android TV games
Nexus Player GamePad - Obviously Works but wanted to add to list
Nyko Playpad Pro - Reported by defconoi
GameStop Tablet Wireless Game Controller V2 - Reported by Matt112211
USB ADAPTERS
May Flash N64 Controller Adapter for PC USB - Works, using it alongside my Mupen64 Emulator
The NP works with Bravia sync and the Sony tv remote. You can navigate with the arrows, play, pause etc. I figured this out by accident.
mejdam said:
REMOTES
Amazon Fire TV - Voice Remote - WONT PAIR
Amazon Fire TV Stick - Remote - WORKS
CONTROLLERS
Ouya Wireless Controller - Works but doesn't work with all Android TV games
Mad Catz C.T.R.L.R - Works but doesn't work with all Android TV games
Nexus Player GamePad - Obviously Works but wanted to add to list
USB ADAPTERS
May Flash N64 Controller Adapter for PC USB - Works, using it alongside my Mupen64 Emulator
Click to expand...
Click to collapse
Xbox 360 Wireless controller: works with the official wireless PC adapter. I've tested 4 controllers. Button mappings aren't the same as Bluetooth HID. R/L bumpers act as the R/L triggers. R/L triggers act as the X/Y axis of the right analog stick (mouse simulation). Other discrepancies.
Nexus Player Gamepad - Not perfect either. Uses standard Bluetooh HID mappings, but lacks a proper start/select button. Does not work properly with Soul Calibur.
jaykresge said:
Xbox 360 Wireless controller: works with the official wireless PC adapter. I've tested 4 controllers. Button mappings aren't the same as Bluetooth HID. R/L bumpers act as the R/L triggers. R/L triggers act as the X/Y axis of the right analog stick (mouse simulation). Other discrepancies.
Nexus Player Gamepad - Not perfect either. Uses standard Bluetooh HID mappings, but lacks a proper start/select button. Does not work properly with Soul Calibur.
Click to expand...
Click to collapse
Nyko Playpad Pro works perfectly, got 2 of them for $12 at gamestop:
http://www.gamestop.com/android/accessories/nyko-play-pad-pro-tablet-controller/104098
Another Controller...
Two things to add to the list of things that work....
* The Gamestop Red Samurai. It is listed on their site as "Tablet Wireless Game Controller V2", here: http://www.gamestop.com/android/accessories/tablet-wireless-game-controller-v2/104425 I like it because it is $12 and has a rechargeable battery. I have a pair of these. I have only had issues in one game, but I have not tried too many of the games with this controller. Warning, when I went into the store, the two employees there had no idea what I was talking about, I brought up the web page, showed them the product and that they had it. I have been to two game stops that had it, and it is always in the back room, very odd...
For Remote:
* Logitech Harmony Smart Control. This is the fairly current one, it has a little black WiFi enabled emitter and a simple remote. I was able to get it to talk with my Nexus Player and I can do everything that I can do on the regular remote. Works great.
Matt112211 said:
Two things to add to the list of things that work....
* The Gamestop Red Samurai. It is listed on their site as "Tablet Wireless Game Controller V2", here: http://www.gamestop.com/android/accessories/tablet-wireless-game-controller-v2/104425 I like it because it is $12 and has a rechargeable battery. I have a pair of these. I have only had issues in one game, but I have not tried too many of the games with this controller. Warning, when I went into the store, the two employees there had no idea what I was talking about, I brought up the web page, showed them the product and that they had it. I have been to two game stops that had it, and it is always in the back room, very odd...
For Remote:
* Logitech Harmony Smart Control. This is the fairly current one, it has a little black WiFi enabled emitter and a simple remote. I was able to get it to talk with my Nexus Player and I can do everything that I can do on the regular remote. Works great.
Click to expand...
Click to collapse
I believe the high-end Harmony (ultimate?) can also connect via bluetooth and registers as a bluetooth keyboard, which is pretty sweet.
ktownhero said:
I believe the high-end Harmony (ultimate?) can also connect via bluetooth and registers as a bluetooth keyboard, which is pretty sweet.
Click to expand...
Click to collapse
if you test it and can confirm i'll add it to the list.
mejdam said:
if you test it and can confirm i'll add it to the list.
Click to expand...
Click to collapse
harmony smart and harmony ultimate
both use the exact same hub
just different remote
all communication is done at the hub
the smart is working for me (with a workarround tutorial posted in the harmony forum)
(basically you add a windows pc and tell it you have a bluetooth keyboard, then map the keys in the activity)
http://forum.xda-developers.com/nexus-player/accessories/android-tv-gamepads-default-button-t2976555
The NES30 bluetooth controller works perfectly.
drilus said:
The NES30 bluetooth controller works perfectly.
Click to expand...
Click to collapse
I'm having issues connecting with mine. How did you get it to connect?
I want to use it for snes roms.
bloodyarmour said:
I'm having issues connecting with mine. How did you get it to connect?
I want to use it for snes roms.
Click to expand...
Click to collapse
I had to clear it's state. Power it on. Then press and hold the select button for 3 seconds. Then after that click the NES30 option on the nexus player to pair the device. It should work after that.
Ok I tried that last night and it would pair but then unpair a minute or 2 later. It would work and then I could load up a rom. However, 1 minute into the game it would unpair. It is a brand new controller.
drilus said:
I had to clear it's state. Power it on. Then press and hold the select button for 3 seconds. Then after that click the NES30 option on the nexus player to pair the device. It should work after that.
Click to expand...
Click to collapse
bloodyarmour said:
Ok I tried that last night and it would pair but then unpair a minute or 2 later. It would work and then I could load up a rom. However, 1 minute into the game it would unpair. It is a brand new controller.
Click to expand...
Click to collapse
I haven't noticed it disconnecting. I'll use it for a longer period and let you know my results.
Matt112211 said:
For Remote:
* Logitech Harmony Smart Control. This is the fairly current one, it has a little black WiFi enabled emitter and a simple remote. I was able to get it to talk with my Nexus Player and I can do everything that I can do on the regular remote. Works great.
Click to expand...
Click to collapse
I'm having a couple of issues with the button mapping. My play/pause aren't fulling working. How did you set this up? Did you pick Windows PC or what bluetooth device did you assign the controller for?
Thanks
pchtc said:
harmony smart and harmony ultimate
both use the exact same hub
just different remote
all communication is done at the hub
the smart is working for me (with a workarround tutorial posted in the harmony forum)
(basically you add a windows pc and tell it you have a bluetooth keyboard, then map the keys in the activity)
Click to expand...
Click to collapse
I must find this thread. could you point me in the right direction?
Goines said:
I'm having a couple of issues with the button mapping. My play/pause aren't fulling working. How did you set this up? Did you pick Windows PC or what bluetooth device did you assign the controller for?
Thanks
Click to expand...
Click to collapse
Actually, I finally got it. WindowsPC then used the MediaCenter button for home.
KerryWood34 said:
I must find this thread. could you point me in the right direction?
Click to expand...
Click to collapse
im not sure i fell on it randomly through a google search
---------- Post added at 12:12 PM ---------- Previous post was at 12:10 PM ----------
Goines said:
Actually, I finally got it. WindowsPC then used the MediaCenter button for home.
Click to expand...
Click to collapse
yes thats correct
you can also map all the buttons in the harmony app
i have stop ff rw and a bunch more working
only one i cant seem to map is the letter (C)
as you need that in xbmc for contect menu to schedule a recording or delete one
OUYA Controller
went out and bought an ouya controller based on this thread
the description of it working with some games as exceptions is a bit misleading
its very flaky, disconnects frequently, sends incorrect button presses randomly, and just stops sending commands out of no where. as an example the trigger is used for gas in a car game, every 5-10 seconds you need to release and pull again or the car stopps as the trigger acts like its not connected.
now before you blame the ouya controller or the batteries
i have connected it to my nexus 72013, my nexus 5, my nexus 7 and my nexus 4
it works perfectly on all of them
and the nexus 5 and nexus 7 2013 are on lolipop 5.0
so the issue is with the nexus player rom
my nexus player itsself is not defective
all other bt devices (remote, keyboard, mouse) work fine without disconnect
to anyone thinking of buying an ouya controller based on this thread
dont waste your money
just wait for the asus controller to arrive
(too bad they dont sell them in stores, i hate online orders always 2-3 weeks to arrive)
Also the "measy rc11 air mouse" works very well (I have one that I used on a mini PC mk808)

Categories

Resources