aspose file tools
The moose likes Java in General and the fly likes converting BCD to string Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "converting BCD to string" Watch "converting BCD to string" New topic
Author

converting BCD to string

Komal Amaresh
Ranch Hand

Joined: Oct 06, 2008
Posts: 67
Hi,

I' am trying to retrieve the imei number of a blackberry device.

The method getIMEI() I' am using returns a byte array in BCD format. I want to convert the value to a string. I' am unable to do that.
the byte array displays a length of 15, but i' am unable to get the value passing the array of bytes as a parameter to a string object nor am i able to retrieve it using byteArrayInputStream .

Please help me in resolving the issue.

Thanks in advance.

regards
Komal
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: converting BCD to string
 
Similar Threads
String to byte[] Help needed- Urgent
byte array to String
how to send a byte array
Displaying byte array as image using javascript
Retrieving an image from SQL Server database