wood burning stoves 2.0*
The moose likes Java in General and the fly likes converting BCD to string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
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://aspose.com/file-tools
 
subject: converting BCD to string