I'm looking for a way to have my android wear device locally communicate with my android tv. I was hoping that I could use the wearable Message API, which doesn't seem to work on android tv (probably because the android tv doesn't pair with android wear).
Ideally I was hoping if this would be possible without having to relay messages through the mobile phone app.
Any suggestions? Thanks
You can't connect to any other device directly, for example through Bluetooth or Wifi.
All connections need to go through Google Play Services using Data Layer API or Channel API.
For that, all devices need to be paired using a Android Wear app. Theoretically you could install Android Wear app on the TV but I don't think it will be usable with the controller.
Related
Is there a way to create an app to recognize an android smartphone as a bluetooth gamepad?
Every app I found on the store is a client/server app but it's not what I need.
I am planning a new application that I would like to put on the smartwatch. I would like to have it usable also when there is no phone nearby. The app needs no Internet connection to work, could synchronize data to the phone later and I do not need anything from the phone while the app is running. However I could use the phone no problem to install the app.
I have googled, there are some foggy talks on a web that this is not possible, Android watch must always be connected to the phone for apps to run. How much is it true?
With Android Wear 2.0 it is possible to now develop standalone applications and thus eliminates the need for a mobile 'companion' completely.
Please follow this link for more information: https://developer.android.com/wear/preview/index.html
As I am aware, the current Android Wear version always requires a companion app for installation purposes etc. But with 2.0 this is no longer necessary. It would probably make sense for you to start developing with 2.0 now. That being said, it is still in a development preview and can officially run on only two smart watches (Huawei Watch and LG Watch Urbane 2nd Edition)
Wearable apps are run directly on wearables and don't require presence of a phone except for installation or phone-provided features (voice recognition, SMS, internet connection etc.)
Note that some features are wearable-provided or phone-provided depending on the hardware configuration of the watch/wearable (eg. GPS).
Yes, it is most definitely possible. As long as the wearable app doesn't require any functionality from the phone then it can operate as a standalone device. It will require a companion app on the phone to install the app on the wear device.
There are several wear apps that work without the need to be tethered to the phone, including Google Play music. There is the possibility of designing wear apps for hardware on only a few wear devices - I know that Ghostracer has standalone functionality using GPS, but it requires the wear device to have a GPS chip (it is designed for the Sony SmartWatch 3).
I want to connect a 3rd party bluetooth device to my Android Wear watch (Samsung Gear Live). I am trying to find documentation on how to do this but I am not having any luck. All the searches I do seem to think I want to attach to a phone.
Does anyone know of a good example that shows how to connect, for example, a bluetooth heart rate monitor (or other device) to the Android Wear so I can keep a history when the phone isn't present? Is this even possible? Would it be the same protocols as doing it from a phone/tablet?
#Ryan Tensmeyer, I think #Wayne Pieksarki's answer is now out-dated. I was able to create and run a stand-alone app that used BLE to connect to a third-party bluetooth device, namely, a wireless thermometer. I used a library called SweetBlue and tested the stand-alone app on an Android Wear Moto 360. It worked great -- no phone required!
It is not possible to connect 3rd party bluetooth devices to an Android Wear watch as you describe. You will need to pair your heart rate monitor with your phone, extract the data you want, and then use the Data Layer API to send the data to the wearable for display to the user.
EDIT: Android Wear devices now support the ability to pair with Bluetooth devices.
I'm posting my question here because I can't find any suitable answer to it.
I have an Android device that acts as a 'Google TV Board/Box' (linked to TV, network connection, Android OS, ...)
And I have multiple Android devices (smartphones and tablets).
I would like to be able to use the Chromecast application to cast the screen of a tablet (for example) to the 'Google TV board/box'.
I don't want to use an external Chromecast device as I have all the power needed directly from the board/box.
I heard about the Cheapcast application which emulate a chromecast device but I tested it and since Google change its politics regarding security certificates, I'm not able to make it works.
So my question is :
Is there any way to emulate a chromecast on an Android device
OR
Is there any way to make this possible wihtout emulating on an Android OS ? Maybe some king of API ?
Thank you for your time!
As you noticed, the official Cast SDKs on the sender sides validate that the Cast device they are talking to is a genuine device, hence you cannot emulate a Cast device if your sender is an using official Cast SDK.
I am trying to develop a multi-screen app for the Google TV platform using the Google TV emulator. So far, I have been unsuccessful in getting the Anymote connection to work.
The problem lies in the fact that every android emulator lies behind its own virtual firewall/router and is not on the same network as an external device/emulator. The multicast discovery phase in the protocol fails in such a situation. I have tried to use ADB redirections and have also tried multiple configurations such as using the remote control app on a device and even on an emulator on the same machine as the GoogleTV emulator but nothing seems to work and it fails to create a connection socket.
My question is: Has anyone successfully made a multi-screen app for the Google TV platform by using the GoogleTV emulator? If so, then please guide me in the right direction.
The Google TV emulator does not broadcast an Anymote endpoint via mDNS, so it presently cannot be used for developing multi-screen apps using Anymote. If you can provide the Google TV team with some information about what you're developing, using the form at http://goo.gl/tVw4i, we may be able to help you find an alternative to using the emulator for development.
Feature request filed at http://code.google.com/p/googletv-issues/issues/detail?id=15. Pease star it if it's important to you!
I could never get Anymote to work on the emulator. I did all of my development for my app, Able Remote, on the Google TV devices.
You may edit BroadcastDiscoveryClient to use unicast instead of multicast to do the discovery or you can even avoid the discovery completely and force your emulator address.
Haven't tried it yet, but seems possible.