Android application code dealing with Sockets, Media Player and Camera