Hello,
i am reading a byte[] from a web service and saving the file in data/
data/package/files with success. I can see the file in the emulator
ddms. but when i try to open the file from code
Uri path = Uri.fromFile(wordFile);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(path, "application/msword");
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

i get an error permission denied. i cant seem to find a way to save
the file and open it with no errors. on android 2.1 this works like a
charm, but when using the same code in android 3.0 it doesn't. Any
clue why this happens?

thanks in advance for the help..

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