Android 使用Usb调试模式如何与PC通信

我现在想通过Android系统自带的adb实现个功能
是想实现个这样的功能,Android 与PC通过usb连接,
在PC上有个界面输入:123abcd 然后马上在Android程序的界面显示刚才输入的内容,这个应该怎么实现那 高手给个思路啊

建议使用socekt连接传递数据

参考 http://blog.csdn.net/hsp1990/article/details/21978327