Error when opening pdf

which means, you have to use the AskForPermission method rom the Screen drawer and ask for android.permission.READ_EXTERNAL_STORAGE before using the snippet

let me know, if this works for you, so I can update the snippet

EDIT: another thing: your path from the screenshot will only work while working with the companion app or while using your development device, because the activity starter is not able to access the assets of your app...

therefore before using the activity starter you have to copy your file from the assets to another directory... the file extension can help you to copy the file..

I think, the best place would be to copy the file to the application specific directory, however this needs to be tested...
see also

Taifun

1 Like