Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建我想用来关闭我的电脑的应用程序。我想在WIFI中连接手机和电脑。但是我不知道如何将推荐发送到计算机以及计算机如何翻译此推荐并关闭计算机。你能告诉我如何开始以及创建这样的应用程序我应该知道什么吗?
您可以使用客户端/服务器范例来实现这一点。您需要开发一个作为客户端工作的安卓应用程序和一个作为服务器工作的电脑应用程序。
在服务器端,您需要等待两个命令: