The only way to achieve this I now is to create a world writable
directory in the internal memory like this:
context.getDir("soundfiles", Context.MODE_WORLD_WRITEABLE);
And then write to this dir.Best, Piotr On Feb 28, 5:29 pm, Dimitry Hristov <[email protected]> wrote: > I'm looking for a way of making TextToSpeech.synthesizeToFile save > output to internal memoryl instead of /sdcard. I've read the > docs:http://developer.android.com/intl/fr/resources/articles/tts.html, then > had a quick look at the SDK source code. Found out that SDK TTS > functions are using the PICO Text to Speech from libttsespeak.so, > didn't go any further yet. > > Anyone ever synthesized a text to a File and did it to internal memory, > (like a FileOutputStream), not to /sdcard? > > I want to be able to publish the saved wav through a Content Provider. > And being dependent on the presence of /sdcard does not seem the > ''proper'' way to me. Or am I wrong? -- 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

