ImagePicker not work

phone brand? android version? in companioni or apk?
make a small demo aia, and upload here.

honor 6x
Android 7
in apk
Sample___Project.aia (7.5 KB)

So just this doesn't work?

What is so special about the picture you are loading? Can you show an example of that? Pixel Size? MB size?

It's working for me.
Maybe it's a permission issue?
You can ask permission of ReadExternalStorage when Screen.Initialized.

Or you can use adb logcat to find what's the reason the app crash.

I tried the same program on HUAWEI Y6P and it worked but it doesn't work with honor 6x
In my program, I want to take an image from the user and it is saved in a tag, but when the ImagePicker does not work properly in honor 6x and exits, it is not possible to access the image, and I do not know in which phones this problem occurs.
I am looking for a way to make my app work on all android devices

I am new, how should I get permission from ReadExternalStor?

some how this is not possible, since some blocks have minSdk.
Huawei honor 6x is a real old. :grinning:

Companion or APK?
And if with APK, which Android version you are testing on?

Try this one: Sample___Project2.aia (7.5 KB)
Build the APK an try ...

Is there another way to get an image from the user's phone memory that works on all Android devices?

I tried the same program on HUAWEI Y6P and it worked but it doesn't work with honor 6x

Did you test with my aia (...Project2.aia) after building the APK?
Which Android version is running on the Honor 6x?


1 Like

Try this one:

and post a screenshot ...

see here

Now I tested with your aia on honor 6x and it worked
How to add access permission?

You already have the answer in previous post.

1 Like

Two options:

  1. Set DefaultFileScope to Legacy (in Designer)
  2. Use ActivityStarter

Everything else has already been explained in the links referred to here.

1 Like

Thank you very much for your help.

1 Like