I'm trying to get my android app to talk to my java server using a secure socket (where I'm going to exchange the person's username and password and verify it, in non plain text).
How do I go about doing something like this? Source code example on the android (client) side would be great. I can create the server side after seeing how the client side is done.