Hi All,
I need two things :
1) I want to open a file from open a file that is stored somewhere in android phone from my application. I am able to get the location of the fie but it is not opening.
This is what i have tried:
Intent myIntent = new Intent(android.content.Intent.ACTION_PICK,
Uri.parse("file:/" + aDirectory.getAbsolutePath())); // file://sdcard/Test/abc.txt
startActivity(myIntent);
2) In the same way if this file is opened in the phone, i want to close it using my application.
Please help me out.
Thanks
Jaya