removed @AndroidView example and improved the getData() method by using
ByteStreams.copy()