I would guess that you failed to supply two arguments to Log.d(<tag>, <message>), or that you aren't looking for the message using logcat, but expecting it to show up somewhere else.
Otherwise, your question is too unclear to answer. You CAN use sockets to communicate with your computer. That, or any failure to do so, has nothing to do with what your app displays, and I have no idea why you mentioned it. You could try making your socket code work in plain Java on your computer, and then trying it on the phone. If you're using the emulator rather than a phone, be sure to read the documentation for the emulator. On Apr 7, 9:11 am, xlshe <[email protected]> wrote: > I want to make my phone communicate with computer with socket. I have > try many kinds of source in internet. None of them works. The phone > always display "HelloWorld <ActivityName>". Log.d() seems not work on > my phone, because, I have used that, but nothing was printed. Can > anyone help me? Thank you very very much. I am really very very > anxious to expect that work. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

