Storage permission is needed to proceed

it creats makeroid directory in my mobile but when I install this app in other mobile it never creat any makeroid directory

1 Like

Is created when using companion for you to be able to test your app, it’s not needed when installed on other device

Provide us with blocks and screenshot of assets you have in your project

That won’t work on other devices if your files are in assets.

First you would have to copy/create files/folder to storage from assets then use that code.

Community search copy files from assets

How to do so ? Please SUggest some blocks

For the moment I can’t, but you can start by clicking on the link I provided and do some reading.

See e.g. here:

(now it’s possible to copy files from assets, since the last Kodular update)

what is that text.txt file?

File which will be copied from assets to external storage.

1 Like

It is just a simple example to show how it works.

1 Like

hi I want to open pdf file in adobe reader which is stored in assets

Bonan has already given best and correct solution:

I use this code it shows error 2103

See here:

Show your blocks.

Are you sure that File component can read from PDF file?

yes it read from pdf file

See e.g. here:

grafik

1 Like