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

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to