I'm saving captured fingerprint image into my SQLite db as a byte array cos it really small size wise like this.
byte[] template = new byte[....];
Then i log and get a value like [B@41d25378. That's what's sent it my sqlite db in a blob column.
The problem now is that when i retrieve this value from my db,
byte[] photo = cursor.getBlob(cursor.getColumnIndex("fingerprint"));
i log the value and its totally different [B@420447f8 but this is what i want [B@41d25378. As such, i'm unable to match finger print as what is being returned is different. How can i get the same byte[] value back.
I've tried using strings too but can figure out a way to get an exact match back. Thanks in Advance...