Tag Archives: usb

A simple java socket client

This is part two of my example of communicating between android and a pc over usb. This shows a simple java client based on this oracle tutorial and I use it to test communication between android and the PC. Here’s the code: package com.rga.vzw; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.Socket; import

Read More