10-05-2012 11:22 AM
A customer of ours needs to display very large jpgs (about 8000 x 5000 px), that are scrolled and zoomed using touch gestures.
To my very surprise, the performance doing this using a scroller is quite nice
BUT unfortunately the app crashes sometimes when loading the picture. (about 15% chance of doing so)
Debugger gives no infos at all, simply quits debugging.
Does anybody have an idea what might be causing this or how to avoid this?
P.S. tested this on several machines and different TabletOS Versions, incl. 220.127.116.112
Solved! Go to Solution.
10-05-2012 11:36 AM
10-05-2012 11:47 AM
Wow, incredible, how fast this forum is, thanks for that.
Thought about the tile idea as well, but did not do this up to several reasons:
- The file is not loaded from a remote server but from local store, thus loaded in a few ms.
- The view defaults to a "totale", zooming just far enough out, so that all tiles would be visible at the same time.
BTW: Does anybody know a component htat will do this out of the box? Seemed to me a little too much work just to try and see,,,
I'll try profiling, though, and post the results later.
10-05-2012 12:00 PM
10-05-2012 12:03 PM
10-15-2012 05:08 AM
Sorry it took me to long to respond, but I had other issues to be dealt with first
Using the Profiler showed up a memory leak in the image's viewer skin.
So it was a memory issue.
I has to set BimapImage's source value to null before destroying the view manually, although I had no other references to it.
Somewhat strange, but doing this fixed my problem.
It could reappear obviously using a single even larger image, but I guess one has to accept some limitations on a mobile device in some way.