File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
Similar Threads
byte array to String
how to send a byte array
Retrieving an image from SQL Server database
Displaying byte array as image using javascript
String to byte[] Help needed- Urgent