Communicating between Android phone and Android TV -


does android have built-in communication apis lets native android app running on phone communicate native android app running on android tv? solution can think of android tv app creates socket , client app on phone connect socket.

edit: i'm looking solution no user interaction required setup communication. bluetooth requires user pair devices. nfc requires being close device.

does android have built-in communication apis lets native android app running on phone communicate native android app running on android tv?

you have same options pair of android devices:

  • direct ordinary sockets, if 2 devices happen on same wifi lan segment or otherwise directly reachable, , comfortable security ramifications of having open socket connection

  • wifi direct (where available)

  • bluetooth

  • indirect communication through internet-hosted facilities (e.g., fcm) or possibly locally-reachable server not on internet (e.g., webrtc)

  • nfc, though few android tv devices have nfc support

about thing can think of might more unique android tv offer infrared (ir) receiver, have no idea how apps can tap that, , few android devices have ir transmitter.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -