Image takes time to load

Same with me to.
Transitional take canvas - background image.

im also caught this error since this days, before it not take such time to load images. nearabout 20 to 25 sec it takes to load images from the assets and then after images from internet loads fast… is there any solution?

same here… Takes time to load than unusual… images are save in assets but same concern provided above

2 Likes

anyone knows how to report it…?

1 Like

im also caught this error since this days, before it not take such time to load images. nearabout 20 to 25 sec it takes to load images from the assets and then after images from internet loads fast… is there any solution?

2 Likes

Apparently there is a bug with the image component. It doesn’t matter where the images come from (assets, external storage). The loading of the images takes between 4 and 83 seconds. Tested on various devices with Android 8, 9.

Note: I repeated these tests again later in the evening and found that the results could hardly be reproduced. The delayed display of the image was still there, but minimal. This morning, however, the problems could be reproduced again. I have no idea what exactly was / is the cause. I suspect it is related to the stability / quality of the WiFi. When the WiFi is diabled, the problems do not arise. (No internet is required in my test APK.)

To work around this issue (bug) (until there is a fix), you have 2 options:

  1. Place the image(s) in an arrangement as a background image
  2. disconnect WiFi (using Taifun’s WiFi extension: App Inventor Extensions: WiFi | Pura Vida Apps)

Check this APK: imageLoad_bug.apk (4.9 MB) (Note: enable WiFi on your device !)
Note: There are no issues at all in AI2: imageLoad_AI2.apk (3.4 MB)

Here is one of my tests (Galaxy Note8 Android 9, Galaxy A3 Android 8):

Screen1:

Screen2:

5 Likes

Nice testing @bodymindpower.

3 Likes

There is no need to answer once and once again.
The bug is already fixed for next release.

3 Likes

Thanks for taking your time for all the testing.

I’ve found systematically that I have the slowest load speeds for the images between midnight and noon (i’m in South América), don’t know if it’s maybe a server issue and most of Kodular apps are in the other side of the world (India). I don’t know. Just a thought.

1 Like

It would be nice to communicate this to the audience…

1 Like

A post was split to a new topic: Sharing payed extensions

I can’t find a clue anywhere that the problem has been fixed.
By the way, I would also be interested in what exactly causes the problem.

Looks like there are two topics about the same issue.

1 Like

Bug had nothing to do with internet connection or else.
Reason: The image was loaded async while the whole process was in another async method.

Yes, that’s annoying.
Thanks for the hint, I will test it.

1 Like

Ok, thanks. But why do I have no issues if the WiFi is disconnected?

I checked the app on the Beta server and everything seems to be fine now.

3 Likes

Anyone get the solution? :pensive:

Yes. I have the solution for you.
Be patient and wait for the next release. I already told that the bug is fixed for next release.

2 Likes

OK thanks for your hard working :metal:

2 Likes