Gregary Boyles
Newbie
http://www.helloandroid.com/tutorials/simple-udp-communication-example
Great it tells me how to send and receive UDP messages.
But where is the rest of the required info - how to you connect your app with current android system wifi network connection.
Because I can send UDP messages all day long via this code but my Arduino device is never going to hear them.
My app reports that the udp sender has a local ip address of 127.0.0.1
How do I connect the UdpSocket to the system internet connection for crying out loud!
Where is the problem located? In DatagramSocket? In WifiManager? In ConnectionManager?
This whole system seems impossibly complicated! Spagahetti code!
Great it tells me how to send and receive UDP messages.
But where is the rest of the required info - how to you connect your app with current android system wifi network connection.
Because I can send UDP messages all day long via this code but my Arduino device is never going to hear them.
My app reports that the udp sender has a local ip address of 127.0.0.1
How do I connect the UdpSocket to the system internet connection for crying out loud!
Where is the problem located? In DatagramSocket? In WifiManager? In ConnectionManager?
This whole system seems impossibly complicated! Spagahetti code!