How to open pdf file inside the app

I made an offline apps and I have 20-30 pdf file in kb size… but when I used web view to open them it’s doesn’t work…

Is there any extensions or blocks to open pdf file inside the app…?

Thanka

Check this.

1 Like
2 Likes

i used following…

and its give following output

and

output

this work…

but not completely…pdf taking time to load, files are blurry and colored also…

my pdf size around 300kb with 14-16 pages.

my device has android v12

thanks…

by the how to use following blocks

when i input the value(startpage, endpage) its show me popup message “invalid index” and when i enter 0 in both (startPage, endPage) its show me folllowing output

my pdf extension offers a property Quality for that… App Inventor Extensions: Pdf | Pura Vida Apps

Set the quality in dpi to render the pdf page. Default is 72 dpi.

usually the index starts with 1…
Taifun

1 Like

i already said value 1 is not working

1 Like

how to get this extension…

Please read the large green box on the bottom of my webpage

Taifun

Post the aia (or better a small test aia).

PDFOpen.aia (387.0 KB)

1 Like

1 Like

yeah, this is work but pdf are blurry not high quality and background color is different from default(color).

Try this one:

You can use “In app pdf viewer” extension created by deep host it’s working fine and you can load pdf direct from your app assests I’m using that extension in one of my Pdf app

thanks, but how to get thie extension…?

1 Like

Just search in Play store " Deep Host Extension" app download it and there you will find " In app pdf viewer Extension"

thanks…

i’ll back