Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Android and the fly likes Android equivalent of javax.xml.bind.DatatypeConverter? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android equivalent of javax.xml.bind.DatatypeConverter?" Watch "Android equivalent of javax.xml.bind.DatatypeConverter?" New topic
Author

Android equivalent of javax.xml.bind.DatatypeConverter?

W Bird
Greenhorn

Joined: Aug 19, 2012
Posts: 1
Is there an equivalent to javax.xml.bind.DatatypeConverter on Android? I need to convert a String of hex to a byte array, like this:


The result of this should be an array of 16 bytes.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Android equivalent of javax.xml.bind.DatatypeConverter?
 
Similar Threads
Byte to String problem
Differnce between new String(Byte[]) and byte[].toString()
problem base64 encoding the 3 hex bytes E2 80 A9
writing byte array into a file
Bit wise ,shift Operators practical usage