简体   繁体   English

您可以使用多部手机来控制同一个Android TV装置吗?

[英]Can you use multiple phones to control the same Android TV unit?

If I have a Nexus Player, and connect to it with more than one phone ( Using Android TV Remote Control ), is it possible to distinguish between each controlling unit in the code? 如果我有Nexus Player,并且用多部电话连接到它( 使用Android TV遥控器 ),是否可以区分代码中的每个控制单元?

(It would make for a cool way to do multi-player games without the need for expensive game pads - friends can just use their phones) (这将是一种无需使用昂贵的游戏手柄即可进行多人游戏的好方法-朋友们只需使用手机即可)

Yes, you can do this. 是的,您可以这样做。 Each input device is given a unique identifier when connecting to an Android device (including the Nexus Player). 连接到Android设备(包括Nexus Player)时,每个输入设备都会获得一个唯一的标识符。 Refer to the documentation here . 请参阅此处的文档。 I believe there are already multiplayer games on the Nexus Player which accomplish this (seen here ). 我相信Nexus Player上已经有多人游戏可以完成此任务(请参见此处 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 同一款Android应用程序可以用于手机,平板电脑和Google TV吗? - Can the same Android App be used for mobile phones, tablets and Google TV? 在无root用户的情况下,如何以编程方式控制Android OS手机和平板电脑中的内部数字电视调谐器? - How can I control, programmatically, the internal digital tv tuner in Android OS Mobile Phones, and Tablets, in unrooted user case? 在Eclipse中为Android开发时使用多部电话 - Use multiple phones when developing for Android in Eclipse 我们可以创建在 Android 电视、平板电脑和 Android 手机上运行的应用程序吗? - Can we create application which run on Android TV ,tablet and Android Phones? 我可以为 Android Mobile 和 Android TV 应用程序使用相同的 package 名称吗? - Can I use same package name for Android Mobile and Android TV apps for play store? Android TV/FireOS 电视音量控制 - Android TV/FireOS TV volume control 您可以在手机之间移动SQL数据库并使用吗? - Can you move mobile sql database between phones and use it? 在多部手机上进行Android测试? - Android Testing on multiple phones? 垂直列表,如 android 电视中的 android 手机 - Vertical list like android phones in android tv leanback 我可以使用相同的插件为Android手机和平板电脑开发吗? - Can I develop for Android Phones and Tablets using the same plugin?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM