I believe this is a snippet from androidsnippets.org - why this isn\'t funcioning on Android 2.3? How to fix it?
Error
NickT says: "is going to give the same result of 3 for strings of length 6 and 7 (say)" I suppose that length of HEX string in that case is always EVEN number (see function appendHex)