hedoluna/microbridge

How can we receive data from the arduino?

GoogleCodeExporter opened this issue · 3 comments

Hello Inopia,,

nice work..:)
it's work with Samsung ACE GT-S3850!!


if I want scenario ARDUINO -> USB SHIELD -> ANDROID
How can we receive data from the arduino?
Thanks! 

-Han

Original issue reported on code.google.com by suntzu...@gmail.com on 24 Apr 2011 at 1:58

I try to listen tcp port using server socket..
but I always fail.
when I connect using putty
I get some error message
ADB EVENT FAILED connection=[tcp:1234]

this some of my code to listen tcp port, 
 try {
              ServerSocket server = new ServerSocket(port);
              Log.d ("Tagserver()","run on port 1234");
              while (true)
              {
              Socket client = server.accept();
              }
            } catch (IOException ex) {
              Log.d ("Tagserver()","test.....");
            }

there's something wrong with my code ?

Sorry,if my question is very silly. I'm newbie in socket programming!!!

thanks,

-han

Original comment by suntzu...@gmail.com on 26 Apr 2011 at 9:38

Hello. This facility is for reporting bugs. Please don't abuse it by asking for 
help with your projects. Thank you.

Original comment by inopia.s...@gmail.com on 19 Jan 2012 at 9:44

  • Changed state: Invalid
[deleted comment]