Hi Dev. Team,
I want to create a spectral analyser but I'am new in this field . For
writing a content from a music file in an array I used this

        try {
            File file = new File(mFileName,
array_spinner[Getposition()]);
             file.createNewFile();
             InputStream  is = new FileInputStream (file);
             BufferedInputStream     bis = new BufferedInputStream
(is);
                     DataInputStream         dis = new DataInputStream
(bis);

                    while (dis.available() > 0)
                    {
                        dis.read(buffer,byteOffset,byteCount);
                    }
                     dis.close();

                     //write buffer into a text file

After that I wrote this buffer in a txt file for reading.

                    Text.setTxtDatei("test",buffer);

The problem is that the content is allways the same for every music
file.So it can not be the buffer of the stream.
So the question is how to get the buffer into the txt file ?

Yours,
Ron


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to