Show us your blocks, because this are wrong
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
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.
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
Your app does not add READ or WRITE_EXTERNAL_STORAGE to the Manifest.
However, you need at least one component to add these permissions to the Manifest.
Otherwise, the permissions can neither be requested nor granted:
Solution:
Add e.g. the File component (as a dummy) in your app. Compile and try again.
Or add the needed permission manually to the Manifest.
Very Very Thanks to @Taifun and @bodymindpower .Now it is working . But I am confused . Whom to give a solution to? Because @Taifun helped me from the beginning to the end and I am using his logic for viewing pdf, but in the end 1 error came which @bodymindpower solved.
And thanks again to @Taifun and @bodymindpower
give it to @bodymindpower…
someone with an Android P device might want to test it to confirm…
Taifun
Yes, I totally agree.
When I answer questions here or in the AI2 forum, then this is mainly owed Taifun, who could also help me in so many cases where no one other knew an answer.
Almost everything I know about AI2, Kodular etc. and block coding I have learned from Taifun. Without him, none of my apps would have been created and published. Of course I have learned also from others, here in this forum. Now I give something back sometimes. But the honor is due Taifun.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.