Updated version of the code provided @ http://gaut.am/making-an-ocr-android-app-using-tesseract/