Now i've a xml. I've a tag named as <check_Image>, in this tag i've converted the image in to Readable format. I need to be convert in to the corresponding image. Here with i've included the xml file....
Do you know how to read a file in bytes? You can then use Integer.toHexString to convert each byte to a two-character HEX string. Keep two things in mind though:
1) a byte is between -128 and 127, and you don't want to convert negative numbers to a HEX string. Add 256 to negative numbers first, thereby making the range 0 to 255 (0 and FF in HEX).
2) Integer.toHexString will return a one-character HEX string if the number is between 0 and 15 (0 and F in HEX). Don't forget to add that extra 0 before the HEX string.