the code for looking up other devices through android network and server access