Creating android app to remotely control my computer

别来无恙 提交于 2019-12-12 03:07:55

问题


I wish to control my computer remotely from my android mobile. I know that apps are available for the same. But what if i wish to develop one on my own? Kindly someone suggest the available API's to remotely control my pc from mobile and perform tasks, like shutting it down, opening various applications of my pc etc.


回答1:


available API's to remotely control my pc from mobile and perform tasks, like shutting it down, opening various applications of my pc

There are no "available API's to remotely control my pc from mobile and perform tasks, like shutting it down, opening various applications of my pc". You would write all of that yourself.




回答2:


You can use socket programming where your computer will be the server and your phone will be the client. You can connect to your computer using a TCP connection and a fixed port number. You need to write a program for both sides.

Once you are able to send a specific message from your android device to your computer. You should easily perform the necessary task (like shutting it down, opening various applications of my pc etc) on the server side.

There are a lot of android socket programming tutorials on the internet.



来源:https://stackoverflow.com/questions/10137746/creating-android-app-to-remotely-control-my-computer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!