Problem in creating Temporary File in android?
Posted
by Rajapandian
on Stack Overflow
See other posts from Stack Overflow
or by Rajapandian
Published on 2009-09-16T05:07:54Z
Indexed on
2010/04/16
20:13 UTC
Read the original article
Hit count: 158
android
Hi,
In my MediaPlayer application for streaming Video i am using the following code
File temp = File.createTempFile("mediaplayertmp", "dat");
while running it throws exceptions like
Parent directory of file in not
writable:/sdcard/
mediaplayertmp43912.dat
I dont how to handle this problem,and i want to know that when we execute that code means where the file will be created.any one knows the solution means please help with some code.
© Stack Overflow or respective owner