Problem in creating Temporary File in android?
- by Rajapandian
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.