Hello all.

I have an app on the market that records audio using the AudioRecord
class and saves it to the SD card.  Users wth the HTC One line of
phones are unable to record.

All it does is save a 1kb file to the SD card.  I am using the
following class to record:

http://i-liger.com/article/android-wav-audio-recording

Link to source:  http://i-liger.com/sites/default/files/ExtAudioRecorder.java


In my record activity, I init the extAudioRecorder object as follows:

 extAudioRecorder = new ExtAudioRecorder(true,                  AudioSource.MIC,
                                        44100,                                  
AudioFormat.CHANNEL_IN_MONO,
AudioFormat.ENCODING_PCM_16BIT);

I feel this should work on a newer phone.

I have NO idea why it creates the file and stops at 1KB and I dont
have an HTC One phone to test my app on.  Any help would be
appreciated.

-- 
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