Related
Hello guys,
I want to write an app that registers my android phone as a HID through bluetooth to my PC. I have found many descriptions how I can connect a bluetooth keyboard or mouse to an android phone but no working solution doing generally the opposite.
The most helpful so far was groups.google.com/group/android-developers/browse_thread/thread/73f03a22963b356d, but as you can see there also isn't any solution provided.
So is it currently even possible doing this with android? Could there be a way using the underlying BlueZ with the NDK?
Any hints and help would be much appreciated.
I'm currently working on something related, which is connecting an android phone to a PS3.
You can look in /system/etc/bluetooth, notably the main.conf file, in which you'll find a Device class definition. I yet have to try to change it, to see if it changes the way the device is recognized by others
Hope this will help.
I ordered a OTG cable, wireless mouse, and blue tooth keyboard last week. I would really like to increase the functionality of my Nexus Q, but I have a few questions.
1) Once CM10.1 is flashed onto the Nexus Q, is there a way to revert back to original stock functionality?
2) I've read in some forums of users pairing their Sony GoogleTV remotes via bluetooth to the Nexus Q. I have a Vizio Co Star, has anyone tried pairing this remote to their Nexus Q after flashing CM10.1?
3) The only app I have seen mentioned running on the Q with CM10.1 is XBMC. What other apps are working (Netflix, Hulu Plus, Plex,....)?
Thanks!
dts924s said:
I ordered a OTG cable, wireless mouse, and blue tooth keyboard last week. I would really like to increase the functionality of my Nexus Q, but I have a few questions.
1) Once CM10.1 is flashed onto the Nexus Q, is there a way to revert back to original stock functionality?
2) I've read in some forums of users pairing their Sony GoogleTV remotes via bluetooth to the Nexus Q. I have a Vizio Co Star, has anyone tried pairing this remote to their Nexus Q after flashing CM10.1?
3) The only app I have seen mentioned running on the Q with CM10.1 is XBMC. What other apps are working (Netflix, Hulu Plus, Plex,....)?
Thanks!
Click to expand...
Click to collapse
When you flash to cyanogen your Q is basically a normal android device. Like a tablet or a phone. So if it can be paired with your phone it can be paired with the Q.
Netflix and angry birds and everything work fine if you can get them on. Some are blocked from being installed by the store. At least they were when i tried.
If you want to revert back you flash the factory image.
https://developers.google.com/android/nexus/images#tungsten
Boot into bootloader
flash the image.
wipe cache and data one way or the other(preferably while flashing. I think its -w)
I'll do step by step if you need it. There are a lot of places that will give you the feel of it though.
Thanks! How has been your experience been with it? What kind of setup are you using (wireless mouse, keyboard, or bluetooth remote)? I'm thinking about trying flash CM10.1 tomorrow and input you could give would be great!
Sv: [Q] Questions about installing CM10.1 on Q
I only used a USB Mouse when setting up the device. In my opinion you can't set it up without a mouse.
But it can use the android soft keyboard. So you won't need a physical keyboard.
Now I have installed Tablet Remote on my phone and on the Q to navigate which app I want to open.
And when XBMC is open I use the official XBMC remote.
Actually I am considering installing Tasker on the Q to automatically launch XBMC when booting. Cause thats more or less the only app I am using.
Sendt fra min GT-I9300ZSEMA1
NinjaOne said:
I only used a USB Mouse when setting up the device. In my opinion you can't set it up without a mouse.
But it can use the android soft keyboard. So you won't need a physical keyboard.
Now I have installed Tablet Remote on my phone and on the Q to navigate which app I want to open.
And when XBMC is open I use the official XBMC remote.
Actually I am considering installing Tasker on the Q to automatically launch XBMC when booting. Cause thats more or less the only app I am using.
Sendt fra min GT-I9300ZSEMA1
Click to expand...
Click to collapse
You are right. Its impossible to setup without a OTG cable and usb mouse.
I just received my new Tronsmart T428 from Geekbuying on Monday
The biggest problem I'm having though is getting any bluetooth keyboard or mouse to actually work on it. I can pair them all up - but they don't work.
I can pair them to my Nexus 7 and they work just fine (both the T428 and the N7 are running 4.2.2)
Kind of defeats the purpose of having it attached to the TV if I can't actually control anything without sitting within USB tethered range.
That being said - it works great with the Synology apps (DS Video/DS Audio) to get my media to the TV.....haven't tried xbmc yet but that's next up after I get this BT thing figured out....
Argent36 said:
I just received my new Tronsmart T428 from Geekbuying on Monday
The biggest problem I'm having though is getting any bluetooth keyboard or mouse to actually work on it. I can pair them all up - but they don't work.
I can pair them to my Nexus 7 and they work just fine (both the T428 and the N7 are running 4.2.2)
Kind of defeats the purpose of having it attached to the TV if I can't actually control anything without sitting within USB tethered range.
That being said - it works great with the Synology apps (DS Video/DS Audio) to get my media to the TV.....haven't tried xbmc yet but that's next up after I get this BT thing figured out....
Click to expand...
Click to collapse
I'm having the same issue with the Tronsmart T428. I can pair them to my Asus TF700 and they work fine. Any remidies to fix the issue?
I haven't found a solution yet - I was trying to roll back the firmware to 4.1.1 to see if that would fix it - but having problems finding the appropriate drivers to get it to work.
so basically - this is a really cool Android computer - that I have to sit next to my TV to use (wired mouse)
It's an awesome computer I agree. I'm downloading the 4.1.1 firmware as I speak. Have to see if I can get it to flash...
Good luck with that let me know if you manage to figure it out!
UPDATE: I managed to get it backdated to 4.1.1 - video playback is choppy (dropped frames?) but my BT keyboard/mouse works now..
I did get an email back from geekbuying finally...
hi frend
thanks for telling us the troubles u met
pls reset it to the factory first.
if it is the same , pls wait for days.
next week there will be a firmare of ROCKCHIP. to solve that troubles
after we get it ,we will upload to our blog
thanks for ur waiting in advance
anna
Click to expand...
Click to collapse
so maybe this new firmware will fix it
I managed to get 4.1.1 installed as well. I didn't notice the choppy video using BS Player but it did fix my bluetooth problem although the bluetooth connection doesn't seem to be very strong. I can be 10 feet away from it and it won't hardly work. Wonder if my wifi is interfering wth it since the router is on the other side of the wall. Glad to hear rockchip is supposed to release an update.
On my note 10.1 after my keyboard is paired I have to go into the connection and check a box to enable it
Sent from my SPH-L900 using xda app-developers app
neudof said:
On my note 10.1 after my keyboard is paired I have to go into the connection and check a box to enable it
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
There was a box to enable they keyboard but it was already checked...so it should've worked but it didn't. 4.1.1 solved the problem...must be a hardware/software issue somewhere.
Since on Android 4.1 it can work, so it must be a system problem, hope they can release a new firmware soon to fix it.
except that, a really little cool device!
GeekEric said:
Since on Android 4.1 it can work, so it must be a system problem, hope they can release a new firmware soon to fix it.
except that, a really little cool device!
Click to expand...
Click to collapse
I read somewhere that google replace in android 4.2.2 the bluez stack by a broadcom stack. It mean that some devices are not compatible anymore. Aparently broadcom will be better, but in the mean time some of us will have to use 4.2.1 and below to make our devices working. Broadcom will support bluetooth 4.0 and will be less power draining. I ckecked om google code and there lot of devices reporting not working anymore, we will have to wait until further upgrade.
Firmware May 30 fix
The new firmware relase May 30 fix the bluetooth issue :laugh:
Bluetooth 2.1 SSP works with MK908 V3 if you recheck the option
neudof said:
On my note 10.1 after my keyboard is paired I have to go into the connection and check a box to enable it
Sent from my SPH-L900 using xda app-developers app
Click to expand...
Click to collapse
I'm using my kernel (based on marvin) without any changes regarding bluetooth and Finless 1.6 system img.
Bluetooth 2.1 devices with SSP pairing work if after pairing you select de device and do check&uncheck&check the input device checkbox.
Hi there! I bought a Tegra Note7 which is equipped with Tegra4 Chipsets.Now I want to play games with DualShock3 via SIXAXIS CONTROLLER. The thing is that the app worked very well on my Moto Droid Bionic,but it did not work on my Tegra Note7. When I clicked "start" with every necessary steps done and the screen displayed address of bluetooth and listening for controllers,the "bluetooth" icon did not appear on the top status bar. So the DS3 controller was continuous flashing its 4 red lights,then no other things took place.
I have restored original android 4.3 rom,no changes. Could*you*please*tell me how to work it out? Thank you!
Before I rooted tablet I was able to plug ps3 controller in and was able to map buttons m8 I also used sixaxis enabler and everything fine until rooted then lost all ps3 controller mappings there's very little info on this subject I asked before ,something to do with Bluetooth drivers !
Sent from my TegraNote-P1640 using XDA Premium 4 mobile app
How about open your eyes, read old threads, use the search function. this issue has been discussed a hundred times now..
e: for the lazy ones..
http://forum.xda-developers.com/showthread.php?t=2633221
http://forum.xda-developers.com/showthread.php?t=2541873&page=3
cars10k said:
How about open your eyes, read old threads, use the search function. this issue has been discussed a hundred times now..
e: for the lazy ones..
http://forum.xda-developers.com/showthread.php?t=2633221
http://forum.xda-developers.com/showthread.php?t=2541873&page=3
Click to expand...
Click to collapse
Yeah,you are right.It does has been discussed for 100 times.,but no one exactly figure it out.
generalradec said:
Yeah,you are right.It does has been discussed for 100 times.,but no one exactly figure it out.
Click to expand...
Click to collapse
There's really nothing to figure out. The bluetooth stack on the stock ROM just doesn't work with PS3 controllers. Until someone can make a custom ROM with some sort of changes to bluetooth (or until Nvidia releases a ROM with decent bluetooth support), it's just not going to work, and there's nothing we can do to change that.
rchrdcrg said:
There's really nothing to figure out. The bluetooth stack on the stock ROM just doesn't work with PS3 controllers. Until someone can make a custom ROM with some sort of changes to bluetooth (or until Nvidia releases a ROM with decent bluetooth support), it's just not going to work, and there's nothing we can do to change that.
Click to expand...
Click to collapse
Thank you for your definite answer! Anyway I now understand what is going on with Tegra Note7, and I have substituted DS3 for wamo pro2 .I hope it can function on my device via bluetooth.
generalradec said:
Thank you for your definite answer! Anyway I now understand what is going on with Tegra Note7, and I have substituted DS3 for wamo pro2 .I hope it can function on my device via bluetooth.
Click to expand...
Click to collapse
The 4.4 Update is supposed to address controller usage.
e8hffff said:
The 4.4 Update is supposed to address controller usage.
Click to expand...
Click to collapse
Yeah,wamoPro can work on TN7 via BT now.But there is a pity for Sixaxis controller still not functioning in TN7.
I've had some success using the USB/BT Joystick Center app with an otg cable and a Bluetooth dongle.
Sent from my TegraNote-P1640 using Tapatalk
PS3 SixAxis controller - USB/BT Joystick Center
yes USB/BT Joystick Center GOLD worked wired with PS3 sony.
H T T P jaredmorgs.github.io/#FAQ_PS3_Sixaxis
Wireless PS need dongle CSR bluetooth
Ragnorok64 said:
I've had some success using the USB/BT Joystick Center app with an otg cable and a Bluetooth dongle.
Sent from my TegraNote-P1640 using Tapatalk
Click to expand...
Click to collapse
Please send Link of bluetooth dongle and USB-BT apk version
anilmaurya said:
Please send Link of bluetooth dongle and USB-BT apk version
Click to expand...
Click to collapse
Not 100% sure what you're asking for but hopefully this is it.
http://www.ebay.com/itm/321254758547?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
https://play.google.com/store/apps/details?id=com.poke64738.usbjoygolddemo
https://play.google.com/store/apps/details?id=com.poke64738.usbjoygold
I can't get it to work as consistently on my tablet as Better DS3 works on my PC though.
rchrdcrg said:
There's really nothing to figure out. The bluetooth stack on the stock ROM just doesn't work with PS3 controllers. Until someone can make a custom ROM with some sort of changes to bluetooth (or until Nvidia releases a ROM with decent bluetooth support), it's just not going to work, and there's nothing we can do to change that.
Click to expand...
Click to collapse
Any Idea if this is actually possible? sitting with a rooted TN7 which I spent a while figuring out how to root (not particularly learned in android atm) and pretty pissed off that my dreams of having a nice practical ghetto shield without cables have been crushed.
admiralaverage said:
Any Idea if this is actually possible? sitting with a rooted TN7 which I spent a while figuring out how to root (not particularly learned in android atm) and pretty pissed off that my dreams of having a nice practical ghetto shield without cables have been crushed.
Click to expand...
Click to collapse
It's technically possible, but there has been almost no developer interest in this device. There are no custom ROMs available, and there's only one alternative kernel available, though I never did try a Sixaxis with that kernel... I do know that it broke support for my Moga, so that's not exactly promising. I'll have to give the Sixaxis a try here in a bit.
rchrdcrg said:
It's technically possible, but there has been almost no developer interest in this device. There are no custom ROMs available, and there's only one alternative kernel available, though I never did try a Sixaxis with that kernel... I do know that it broke support for my Moga, so that's not exactly promising. I'll have to give the Sixaxis a try here in a bit.
Click to expand...
Click to collapse
Assuming you mean shaky156 kernel I can confirm that it doesn't help the bluetooth issue
Just tried the latest version of Sixaxis with the latest OTA. And it seems to finally work on the built in blutooth stack without a usb dongle!
I know the nexus player has usb, so the controller can be plugged in, however im not sure if it will work wirelessly or even at all for that matter. I am planning on buying a nexus player, and want to see if i can skip out on buying a controller for it.
Thanks
NickM_27 said:
I know the nexus player has usb, so the controller can be plugged in, however im not sure if it will work wirelessly or even at all for that matter. I am planning on buying a nexus player, and want to see if i can skip out on buying a controller for it.
Thanks
Click to expand...
Click to collapse
The PS3 controller can be used on most any other rooted android device if you use the Sixaxis Controller app from the Play store. This does require root, however, so we'll have to wait for root before verifying that the PS3 controller will indeed work on the NP. I am near certain it will since it works great on the Nexus 7 and 10.
Once we have root, we can verify support with this checker app:
https://play.google.com/store/apps/details?id=com.dancingpixelstudios.sixaxiscompatibilitychecker
If it says yes, you'd purchase and install this:
https://play.google.com/store/apps/details?id=com.dancingpixelstudios.sixaxiscontroller&hl=en
I doubt there'd be a leanback interface for the app before root comes, but it'd most likely work as is.
The Sixaxis Controller app for Android doesn't seem to work with Android 5.0 anymore.
I tried it with my Nexus 7 (2012) running rooted stock 5.0, using SuperSU 2.23, and it errors out.
Looks like it's gonna have to be updated for Lollipop, so it might be a no-go for the Nexus Player for a while.
The sixaxis controller app just got updated to support lollipop, so I'm gonna try it tonight and I'll report back.
brandon_edge1994 said:
The sixaxis controller app just got updated to support lollipop, so I'm gonna try it tonight and I'll report back.
Click to expand...
Click to collapse
It works!!! Was getting some settings crashes and the app took a bit to pair but seems to be working ok now.
ggrammer said:
It works!!! Was getting some settings crashes and the app took a bit to pair but seems to be working ok now.
Click to expand...
Click to collapse
I wasn't able to get my Nexus Player to pair my controller, but I ended up just using my Nexus 7 to pair it. It's a pain to get it to work, but it seems to be working great on mine too.
brandon_edge1994 said:
I wasn't able to get my Nexus Player to pair my controller, but I ended up just using my Nexus 7 to pair it. It's a pain to get it to work, but it seems to be working great on mine too.
Click to expand...
Click to collapse
After pairing, what can you use your Nexus 7 as?
Oh. I just used my Nexus 7 to pair the controller with the Nexus Player. I didn't pair the Nexus 7 with the Nexus Player. I actually tried to do that, but I couldn't get the Nexus player to recognize the Nexus 7.
Grabbed a dualshock 4 ps4 controller today during BF sale. Paired with Nexus Player like a champ, haven't had time to check the touchpad functionality though but I am enjoying this controller for my gaming. I am going to try to pair both the DS3 and DS4 and see how they work together
ggrammer said:
Grabbed a dualshock 4 ps4 controller today during BF sale. Paired with Nexus Player like a champ, haven't had time to check the touchpad functionality though but I am enjoying this controller for my gaming. I am going to try to pair both the DS3 and DS4 and see how they work together
Click to expand...
Click to collapse
To clarify, does the DS4 pair with the NP out of the box, or does it require root and an app? As dumb as this question sounds, my understanding is that the DS4 pairs with Bluetooth enabled PCs much more easily than the DS3 did, so I'm wondering if Android treats it any differently.
jaykresge said:
To clarify, does the DS4 pair with the NP out of the box, or does it require root and an app? As dumb as this question sounds, my understanding is that the DS4 pairs with Bluetooth enabled PCs much more easily than the DS3 did, so I'm wondering if Android treats it any differently.
Click to expand...
Click to collapse
Truth be told I didn't even try it straight to the NP I used sixaxis right away. It works great. The new sixaxis app sometimes finds my DS3 as a fake controller other times it works fine but the DS4 always pops in fine. the touchpad is tweaky at best so i tend not to use it but this will be extremely handy once it is fixed properly.
Just tried it straight Bluetooth. The NP sees it as a Bluetooth controller but fails at pairing it. Tried multiple times but the NP just hangs. I really wish the Bluetooth stack in Android would finally support these devices (DS4, wiimotes, etc) properly...
ggrammer said:
Just tried it straight Bluetooth. The NP sees it as a Bluetooth controller but fails at pairing it. Tried multiple times but the NP just hangs. I really wish the Bluetooth stack in Android would finally support these devices (DS4, wiimotes, etc) properly...
Click to expand...
Click to collapse
I'm not sure that's a failing of Android. It's Nintendo/Sony using proprietary software with their hardware. Windows won't recognize them 100% without 3rd party software as well, as far as I remember.
jaykresge said:
I'm not sure that's a failing of Android. It's Nintendo/Sony using proprietary software with their hardware. Windows won't recognize them 100% without 3rd party software as well, as far as I remember.
Click to expand...
Click to collapse
The android bluetooth stack has gone through a few changes over the last couple of version which have wreaked havoc on third party accessories.
ggrammer said:
The android bluetooth stack has gone through a few changes over the last couple of version which have wreaked havoc on third party accessories.
Click to expand...
Click to collapse
While this is correct, it doesn't change the fact that Nintendo and Sony use proprietary software with their hardware, thus negating whatever bluetooth stack is being used.
That said, prior to Android 4.3, the Bluetooth stack used on your Android device was up to the OEM, and it differed from device to device. With Android 4.3, Google told OEMs which BT stack to use. This is to help with compatibility and consistency.
I read in another thread that you cannot have both sixaxis (for PS3 / PS4 controller etc) and the remote working at the same time. Wonder if anything can be done about that?
jaykresge said:
While this is correct, it doesn't change the fact that Nintendo and Sony use proprietary software with their hardware, thus negating whatever bluetooth stack is being used.
That said, prior to Android 4.3, the Bluetooth stack used on your Android device was up to the OEM, and it differed from device to device. With Android 4.3, Google told OEMs which BT stack to use. This is to help with compatibility and consistency.
Click to expand...
Click to collapse
The wii remote doesn't use "proprietary software" that negates the bluetooth stack. it connects to pc bluetooth stacks fine. in fact android can detect the wii remote it just won't pair with it. cyanogen had actually included support for wii remotes in CM11 as long as your kernel supports wiimotes (most kernels just a downported driver).
This article http://lwn.net/Articles/597293/
has some interesting info on the bluetooth stack change.
jaykresge said:
I'm not sure that's a failing of Android. It's Nintendo/Sony using proprietary software with their hardware. Windows won't recognize them 100% without 3rd party software as well, as far as I remember.
Click to expand...
Click to collapse
I am able to pair my DS4 with with my Droid Turbo running 4.4.4 w/ no 3rd party software. Although it could be possible that Motorola modified the BT stack to allow this? It also paired w/ my old OPO and N5 both running CM11s. It would not pair w/ the N5 running vanilla KK. It doesn't seem like it's too hard to include whatever it is to make the DS4 compatible with android but for some reason Google doesn't include it out of the box. My DS4 also pairs w/ my MS Surface 2 Pro on Windows 8.1 with no special drivers or software.
brandon_edge1994 said:
Oh. I just used my Nexus 7 to pair the controller with the Nexus Player. I didn't pair the Nexus 7 with the Nexus Player. I actually tried to do that, but I couldn't get the Nexus player to recognize the Nexus 7.
Click to expand...
Click to collapse
How did you get the Nexus 7 to pair your PS3 controller with the Nexus Player? Could you let us know how you pulled it off?
I've side-loaded the Sixaxis controller app onto my nexus player and can't get it to connect. It did once, but crashed instantly and deleted my NP remote from the 'remote & accessories' menu lol. Causing me to resort to a factory reset to get it back.
I can pair the controller with the N7, no problem, NP just doesn't want to work. Any guidance would be appreciated
I think you may have been able to use a phone/tablet with the android tv remote app to re-add the stock remote. Not sure but worth a try over a FR.
JDthree said:
How did you get the Nexus 7 to pair your PS3 controller with the Nexus Player? Could you let us know how you pulled it off?
Ive side-loaded the Sixaxis controller app onto my nexus player and cant get it to connect. It did once, but crashed instantly and deleted my NP remote from the remote & accessories menu lol. Causing me to resort to a factory reset to get it back.
I can pair the controller with the N7, no problem, NP just doesnt want to work. Any guidance would be appreciated
Click to expand...
Click to collapse
Open the Sixaxis app on the nexus player and start it, and it'll show the Mac address of the nexus player. If you open it on your nexus 7 and connect the controller with a USB OTG cable, and click pair inside the sixaxis app, it'll prompt you to enter the Mac address, and it'll have the nexus 7's Mac address by default. Change it to the Mac address displayed on the nexus player. Once that's done, disconnect it and click the PS button. It should connect to the nexus player instead. I got it to work well, but I had the same issue and my nexus player remote stopped working, so I haven't looked into it any further.