I have got a problem for reading datas in a txt file (Nokia 6131). I explain.
My txt file contains thist :
Now I've created an InpoutStream and I try to read the datas like hexadecimal values. It means that for the first value I want a0, next is 32, then 01, etc
Now I'm lost. I tried to read 2 bytes (with dataIn.readByte()) and set the most significant bits with the 1 byte read, and the least with the second byte. But I didn't succeed.
InputStream fileData = getClass().getResourceAsStream("/data/lafon.txt");
DataInputStream dataIn = new DataInputStream(fileData);
Could someone help me please.