Can you use an intent to launch Adobe Reader or the Docs Reader to open an specific PDF in an Android machine? -



Can you use an intent to launch Adobe Reader or the Docs Reader to open an specific PDF in an Android machine? -

on site targeting android os, there way create link cause os open pdf downloaded site? is, without requiring user manually open pdf?

edit: clarify, want implement similar on site:

<a href="adobe_reader/foo.pdf">click here open foo.pdf on android!</a>

this supposed link on site makes adobe (or another) launch foo.pdf, stored on android device.

they should. seek this:

intent intent = new intent(intent.action_view); intent.setdataandtype(path, "application/pdf"); startactivity(intent);

if app has registered able view pdfs (and both of should have), launch them. or other app installed claims able read pdfs.

android android-intent google-docs adobe-reader

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

How do you set up a perforce server to work over the internet? -

ios - Lagging ScrollView with UIWebview inside -