• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps how to convert sound(audio) to binary?

M0TRIX

Lurker
hello.

i was looking for a project(sample code) for converting sound to binary and binary to sound...!!
couldn't find it...

so if you have sample code.please share with me. or not help me with it

which steps do i need to code this program??
 
Java:
File file = new File("file.mp3");
byte[] fileData = new byte[(int) file.length()];
DataInputStream dis = new DataInputStream(newFileInputStream(file));
dis.readFully(fileData);
dis.close();
 
Back
Top Bottom