This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using wired Ethernet from Android app on AM3517 EVM

Other Parts Discussed in Thread: AM3517

I need my Android app to communicate to the outside world over wired Ethernet, using the built-in Ethernet port of the processor.  I'm working with Android 2.3.4 on an AM3517 EVM.  The Android build is standard, as delivered by TI.

Using straight Linux, the Ethernet communications is easily done by enabling the eth0 port in Linux, and then from Java using various classes from java.net, such as DatagramSocket, DatagramPacket, etc.

But for Android, I've seen no documentation on how to do this.  So, for starters, I did the same from an Android app that I did under Linux.  But, I get 'java.net.SocketException: Permission denied'.

At this point, I'm not sure if 1) we're trying to do something Android doesn't support, or 2) I need a config change somewhere, or 3) I need to rebuild Android with additional capability, or 4) I need to use different java classes than I would normally use in a non-Android app.

Any suggestions are appreciated on how to make this work.

Thanks,
Ron