How can i store recorded file to internal memory in android?
<p>I am recording users voice to external memory.But In case, user is not having SD card in phone.Recorded files should get saved to internal memory.</p>

<pre><code>static final String PREFIX = "record";
static final String EXTENSION = ".3gpp";

if (file == null) {
                File rootDir = Environment.getExternalStorageDirectory();
                file = File.createTempFile(PREFIX, EXTENSION, rootDir);
            }
</code></pre>

<p>How can i save the same file to internal memory?</p>

<p>thanx in advance!!!!</p>
