Qr decode extension offline problem

@vknow360 [quote=“vknow360, post:9, topic:55759”]
But you can replace external storage directory path from absolute path and use in the extension.
[/quote]

how to do this ?

for example : i used image picker to pick image from ( SD CARD ) ? , how to do that plz ?

Just replace /storage/emulated/0

2 Likes

@vknow360

Sorry for my many questions …

But how can I replace it as it is generated from extension .

For example, if you picked image from the main memory without any modifications by me, the path will be like this …

/storage/emulated/0/storage/emulated/0/QR.png

and if i replaced /storage/emulated/0 the path will be like this … /storage/emulated/0/QR.png

and i will not can replace it this time …

** sorry for my english **

bild

2 Likes

Which component are you using?
Path should be like this:
/storage/emulated/0/QR.png unless you will pick file from
/storage/emulated/0/storage/emulated/0/ folder.

1 Like

@vknow360 I’m used your .aia …

when i tried to pick image from SD card by image picker , the result will be like that >>

path is : /storage/emulated/0/storage/D08E-901D/1.jpg

and when i tried to write the path manually >>

path is : /storage/emulated/0/D08E-901D/1.jpg

in this case , i need to delete “0” that be after emulated .

how can i to do that , plz ?

try using /qr.png

1 Like

@vknow360 i tried , and it worked …

but it worked because the qr.png in main storage not in sd card >>

i only want to decode images from sd card not from main storage

Try typing that

1 Like

Can you tell me path of file?

1 Like

@vknow360

/storage/emulated/D08E-901D/1.jpg

bild

2 Likes

Now I have two questions:
1.Have you more than one sdcard in your phone?
2.What is file’s path in File Explorer?

1 Like

@Boban not working because it delete from image path not from extension path

@vknow360 1- no , only one
2- /storage/emulated/D08E-901D/1.jpg

Try this one…

bild

Add a label and show us what you get

2 Likes

i tried it before :slight_smile:

@Boban see this

PM me your aia file…

1 Like

It’s confusing as you have mentioned multiple paths