Runtime error while using pdf view extension by deephost and activity starter not working for viewing pdf

Post some screenshots about what are you saying.

I am getting this error can anyone help me

Also I have tried with activity starter to view pdf files but it’s working only in companion not in real devices.
is bug in active starter.
Should I Create other post about activity starter bug?
can anyone give me alternative way to view pdf file. or we can’t make pdf viewer app in kodular ? :thinking:

blocks (16)

this is because another app, which has been started using the activity starter will not be able to read files from the assets of your app

How to view a pdf document

Taifun

also this method is not working :thinking:

and you find the answer why it is not working also in that thread…


Taifun

so can you please help help me how can I show pdf without using extension, or can you give me aia file​:neutral_face:

Show us your blocks, because this are wrong

bild

1 Like

it does not look loke you followed the previous link?

How to view a pdf document

Taifun

blocks (19)
I again corrected my blocks and then tested the apk but did not work.

I checked that website, there are 2 ways to view the PDF, I have tried the first method which is not working.
And there is another method that does not work offline.

it is
file:///mnt/sdcard/...
can you see the 3 slashes?
Taifun

blocks (20)
Now I think all the blocks are correct but still not working

I feel that we cannot create PDF application in kodular. Because I have been trying for 2 days,I am tired Now. :unamused:

which error message do you get?
Taifun

I am not getting any error. and when I test it in companion then it works perfectly

do you use a custom package name?
see also

Taifun

I am not using custom package name

1 Like

ask for permission and try again…
this works for me


Taifun
2 Likes


I get this error when I use permission block