On 8/3/09, Umair Akbar <[email protected]> wrote:
>
> *Hey, acquaintances h r u *
>
> *Break these bogs @ very fascinating*
>
> *I hope u enjoy this bogs*
>
> * *
>
> *www.safteytips007.blogspot.com*
>
> *www.wonderfulbwp.blogspot.com <http://www.wonderful-bwp.blogspot.com/>*
>
> *                   www.technicaleducationbwp.blogspot.com*
>
>
> On 8/3/09, pierre <[email protected]> wrote:
>>
>>
>> Hi,
>>
>> I don't understand how this can happen (it has just happened once,
>> works properly other times) :
>> - /sdcard/mydir/ is an existing directory
>> - myRecord.3gp doesn't exist, of course.
>>
>>
>> ERROR :
>> java.io.FileNotFoundException: /sdcard/mydir/myRecord.3gp
>> at org.apache.harmony.luni.platform.OSFileSystem.open
>> (OSFileSystem.java:231)
>> at java.io.FileOutputStream.<init>(FileOutputStream.java:96)
>> at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
>> at java.io.FileOutputStream.<init>(FileOutputStream.java:147)
>> at android.media.MediaRecorder.prepare(MediaRecorder.java:364)
>>
>> CODE :
>> recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
>> recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
>> recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
>> recorder.setOutputFile(pathToMyRecord);
>> try {
>>    recorder.prepare();
>>    recorder.start();
>>      }
>> ...
>>
>>
>> I did notice some other errors when using sdcard files, is this a know
>> sdcard problem ?
>>
>> >>
>>
>

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