thnks 4 reply
but it is not a solution i use clickatell gateway to send wallpaper ,,and u can'nt send the the path of u r wallpaper to that gate way,,so u hav to convert that wallpaper into hexadecimal string.. that why i want to convert image in to hex string which is also compatible with clickatell...