tags:

views:

52

answers:

1

Ref: http://stackoverflow.com/questions/2883355/how-to-render-pdf-in-android/

I have a bytestream with PDF contents and want to display the same in my android app. Is there a way I can do that without saving it as a physical file? For security reasons: I want the user to be able to just view the PDF and not store it in the phone memory or SDCard.

Does google doc viewer has the ability to take bytestream and render it? Or any other app that is installed in the android phone?

+1  A: 

You cannot push "a bytestream" (presumably a byte[]) to another application. While there may be ways you can have another application pull the bytes to render it, any application will be able to do that, not just your PDF viewer, which will defeat your security goals.

CommonsWare