I need to display a set of PDF files from within my Android application. I'm trying to figure out the Android security system and whether or not content providers will work. It seems that calling grantUriPermission() would be a good idea, but I'm having problems figuring that out.
Do I need to get the list of available intents using something like queryIntentActivities()? If so, how can I pull package names out of the ResolveInfo object for passing to grantUriPermission()? Everything works fine if I push the PDF files to the sdcard, but that is not desirable for security purposes. I would like to keep the PDFs packaged inside the app and only expose access to them when necessary. -- 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

