This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
You can check whether a byte equals an 'A' by casting the byte[i] (but not the byte array) into a char: (char)byte[i] == 'A' [I]OR by casting the char into a byte: byte[i] == (byte)'A'
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt