android - Open pdf in adobe reader from https -


this gives me toast message error: document not opened:

intent adobeintent = getpackagemanager().getlaunchintentforpackage("com.adobe.reader"); if (adobeintent != null) {     adobeintent.setdataandtype(uri.parse("https://www.adobe.com/enterprise/accessibility/pdfs/acro6_pg_ue.pdf"), "application/pdf");     startactivity(adobeintent); } 

and working fine:

intent adobeintent = getpackagemanager().getlaunchintentforpackage("com.adobe.reader"); if (adobeintent != null) {     adobeintent.setdataandtype(uri.parse("http://www.adobe.com/enterprise/accessibility/pdfs/acro6_pg_ue.pdf"), "application/pdf");     startactivity(adobeintent); } 

am missing parameter or not possible?


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -