App Crashes on start

No need for that in this case.

It’s a good idea.
Can i make something like the images will load only in the portion that is visible to the user.
Example: When the user scrolls the images will automatically only on the portion that is visible to the user. And the images will load in the new visible portion and and disappears from the old visible portion. Something like this.

I’ll try all of the solutions that you guys mentioned. And then i’ll let you guys know if the problem is solved or not. Thank you.

I just got report from my testers. The app is working fine even on android 6.
The problem is with some mobile devices not with the android version.
Still i’ll apply some fixes and then report here. :slight_smile:

Yes, it is not a problem with the Android versions, but with the available memory.
But you should always adjust the required sizes / dimensions of the images.

1 Like

Why don’t you try using image utilities or webviewer to load images.

Yeah I am trying that.

I am trying that…
Plus i am facing problems with the save button and the share button. So if you can please guide me to solve that…It will be a great help. :slight_smile:

Where is the problem?

On the share button and save button on the “wallScreen”.
It is not saving the image in the device storage and it is not sharing. I explored the community for that case and added blocks accordingly but it is not working.

Your save & sharing blocks look fine.
You must ask for WRITE_EXTERNAL_STORAGE at Screen1 or wallScreen.

Try this one if it crashes on those devices

hey this extension can help you to achieve some part of the task, (load images when scrolled)
https://aix.colintree.cn/en/extensions/ScrollArrangementHandlers.html

I’ll look at it thanks.

I think you have just decreased the number of images that were loading on screen initialize.
The app opens but crashes after a few seconds.

Actually the only thing I have changed is how things are loaded however, loading images of this size will of course be an issue

bild

I am working on it… Will let you know after i am finished.

Thank you all.
So the Problem was of suddenly loading high size/quality images on screen 1.
After adding low quality/less size images on screen 1 the problem was solved.
Thank you all for helping me out.
I am looking forward to learning more from you guys and other kodular users. :slight_smile:

1 Like

Are you still using same approach, 50 card view’s, images etc, if so the you should follow this suggestion

and dynamic card view

@Deepanshu_Arya does this work with dynamic components

As far as I tried, no. It was in case dynamic components are not preferred
It is limited to 3-4 components only and images is one of them

1 Like