Hi, thanks for the reply. Also, I was wondering whether it is possible to stream audio to the AudioTrack class i came across in the cupcake development branch. If so, how can I go about bringing that functionality to the current version of the SDK.
Cheers, Earlence On Jan 13, 8:44 pm, Jean-Baptiste Queru <[email protected]> wrote: > And you should use Environment.getExternalStorageDirectory() to know > the path to the external storage instead of hard-coding "/sdcard". > > JBQ > > > > On Tue, Jan 13, 2009 at 7:37 AM, hmmm <[email protected]> wrote: > > > sorry, "/sdcard/..." > > > -----Original Message----- > > From: hmmm <[email protected]> > > To: [email protected] > > Date: Tue, 13 Jan 2009 18:35:23 +0300 > > Subject: [android-developers] Re: Accessing Files on the sdcard > > >> I guess it should be like File f("sdcard/myaudio.3gpp") then > >> FileInputStream(f) or just FileInputStream("sdcard/myaudio.3gpp"") > > >> -----Original Message----- > >> From: Tez <[email protected]> > >> To: Android Developers <[email protected]> > >> Date: Tue, 13 Jan 2009 07:25:59 -0800 (PST) > >> Subject: [android-developers] Accessing Files on the sdcard > > >> > Hi, > > >> > I have a couple of recorded voice files stored on the sdcard > >> > simulation of the emulator. I want to acces these files so that I can > >> > stream them over the network to another app of mine. > >> > How can I create a java File object with a file stored on the sdcard? > > >> > Cheers, > >> > Earlence > > -- > Jean-Baptiste M. "JBQ" Queru > Android Engineer, Google. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

