Qr decode extension offline problem

@Boban no it have not any spaces >>

i will send to you the aia also , can i do that ?

Your aia doesn’t tell me much however, may I ask do you have folders named

  • storage
  • emulated
  • 0

if so the code above wont work

That’s why a suggested this so we can see your path

1 Like

ok i will do it now

@Boban @vknow360

see that plz , the first label is the image path

and the second label is the final path

in this case we need to delete /0/storage

Unfamiliar with that path is your phone rooted

1 Like

@Boban my phone is not rooted…

The problem in the extension because it have a defult path in thier source… Do you understand me?

what happens when you use /1.jpg as path?

1 Like

noting because this will search in main storage…
But the image in sd card not in the main storage…

Do you know! If i tried /1.jpg
The path will be like that : /storage/emulated/0/1.jpg

And this is right… If was the file in main storage…
But the file in sd card, that is mean the path will be : /storage/emulated/sdcard/1.jpg

That is required from you @vknow360 to delete " /0 " from your extension source… Plz…

Do you understand me?

Are you even able to load image from that path in a image component

1 Like

Yes…

I only want from you @Boban @vknow360 to understand that the problem from extension not blocks…

The extension dont allow to decode images from sd card

any Solution, plz ?

i want to delete /0 from extension defult path

@Boban @vknow360 @DevYB @Peter @Taifun

Why don’t you temporarily copy the file to /storage/emulated/0 and delete it from the directory once done reading the QR code?

@Vishwas i want to make app make user can pick qr code from sd card and main storage

afaik the image picker is only able to pick from the internal sdcard
also your path to your external sdcard does not seem to be correct…
you can find out the correct path after using the AvailableStorageDirectories method from the file extension App Inventor Extensions: File | Pura Vida Apps

Taifun

1 Like

3 posts were split to a new topic: TaifunFile.AvailableStorageDirectories method does not provide external sdcard on huawei y7 prime 2018 . android 8

@Taifun I just want to delete " /0 " from the default path generated by the extension, from the source code …

This is, of course, with the permission of its owner @vknow360

which device / Android version are you using for your tests?
you should have received 2 directories, the internal and the external…

@vknow360 might want to think about adding this feature into the extension

Taifun

1 Like

huawei y7 prime 2018 . android 8 @Taifun i have received only 1 directories , the internal …

i wish it @vknow360

Thanks @vknow360 :blush:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.