On Tue, Oct 30, 2012 at 8:01 AM, Jovish P <[email protected]> wrote:
> In our application we are storing few pdf files inside asstes folder(<1MB).
> Using Intent we want to open that pdf.  Is it possible ? If yes,  how to do
> that ?

It's hard to help if you don't provide enough information about your problem.

> What we tried :
>
> If we copy file from assets to sd card and then try to open using intent it
> is working.

What are you using to "open" the PDF files? Do you mean "view/display"
or "read the file". Android does not support PDF natively so I suppose
that you use either an external application or a PDF rendering
library.

> But we directly want to open it from assets folder.

Doesn't <some-context-instance>.getAssets().open(assetName) work for you?

-- 
"The flames are all long gone, but the pain lingers on"

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