This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

converting BCD to string

 
Komal Amaresh
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic