android java to .NET socket
Stable Release
Simple android client in Java that transfers a single file over a wireless network to an IP:Port over a socket to the server coded in C# or VisualBasic.NET. The client currently clicks a photo using the camera intent.
Communication is only from client to server. Before sending the image, the clients sends the word "HEADER" (without quotes) followed by a newline, then the exact size of the file to be sent in bytes followed by another newline and then the contents of the file. Following this, the connection is closed.
To test connectivity, the client opens and closes a connection without sending any data.
Binaries for the server and the client can be downloaded from releases. The client is also available on Google Play.