开发者

EchoServer, EchoClient in Android

开发者 https://www.devze.com 2023-03-09 15:00 出处:网络
I am trying to implement a simple EchoServer, EchoClient application with 2 Android Devices. But I have a major problem with the input methods in the Android.

I am trying to implement a simple EchoServer, EchoClient application with 2 Android Devices.

But I have a major problem with the input methods in the Android. In Java, the common Sy开发者_如何学运维stem.in input method is used but in Android I have no idea how to do it


In Android, System.in and System.out are not used. You can use Log.d("TAG", "MESSAGE") to print to the debug log.

A tutorial for creating a connection between phones is here, but if you haven't done any Android programming before, I suggest that you start by browsing through the Dev Guide.

0

精彩评论

暂无评论...
验证码 换一张
取 消