Hi everybody,
I'm beginner android develeper. And I have some questions. I hope you can help me
I tried to run file browser application. I got code from one site . I have - I cannot open files. I think it happens because I have to set right mime type to Intent. BTW this code don't work:
Can anybody explain me how fix this problem?
I'm beginner android develeper. And I have some questions. I hope you can help me

I tried to run file browser application. I got code from one site . I have - I cannot open files. I think it happens because I have to set right mime type to Intent. BTW this code don't work:
Code:
Intent i = new Intent(android.content.Intent.ACTION_VIEW );
i.setData(Uri.parse("file://" + file.getAbsolutePath()));
startActivity(i);