Hi,

I am trying to open PDF/DOC/XLS format using INTENT and Openoffice is
default viewer.

I have defined following properties to launch my PDF/DOC

Intent intent = new Intent(Intent.ACTION_VIEW);
            intent.setData(uri);//PDF path
            intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
context.startActivity(intent);

but even after setting FLAG_GRANT_READ_URI_PERMISSION OpenOffice is
comming with menu that has "Save" option and  allowing saving of my
PDF file to /sdcard.

Is there is any way to force other application not to save any of data
called through Intent.

Thanks in advance
Neeraj

-- 
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