通过控制在 ServerDevice 上运行的应用程序。在另一台设备上运行的controllerApp

发布于 2024-12-20 11:15:57 字数 347 浏览 4 评论 0原文

我有 2 个应用程序:ServerApp 和 ControllerApp。每个应用程序都在不同的 Android 设备上运行。 ServerApp 有一个按顺序显示图像的区域(在 ImageView 中)。 ControllerApp 包含两个按钮和一个 ImageView。两个按钮是上一个和下一个按钮,它们将使用蓝牙导航 ServerApp 的屏幕。我需要在 ControllerApp 的 ImageView 部分上显示 ServerApp 上显示的当前图像。

我想我需要一些套接字编程。我是安卓新手。我尝试使用 INTENT.SEND 然后开始一个新的活动,但仍然不确定如何实现上述内容。请提供一些想法来帮助我实现这一点。提前感

谢克里希纳

I have 2 application : ServerApp and ControllerApp. Each of theses application run on different android devices. ServerApp has an area where images are displayed sequentially (in an ImageView). ControllerApp contains two buttons and a ImageView. two buttons are previous and next buttons which shall navigate the screen of the ServerApp using bluetooth. I need to show the current image being shown on the ServerApp on the ImageView portion of the ControllerApp.

I think I would need some socket programming. I am new to android. I tried using INTENT.SEND and then starting a new activity but still not sure how to implement the above. Please help me implementing this by giving some ideas. Thanks in advance

Krishna

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文