C chag616 Member Licensed User Mar 20, 2021 #1 When I want to load a broken image: B4X: ImageView.Bitmap=LoadBitmapResize(dir, fileName,Activity.Width,Activity.Height,True) the result is: B4X: java.lang.RuntimeException: Error loading bitmap. and the app is collapsed. How to solve this problem(skip the broken image),thanks!
When I want to load a broken image: B4X: ImageView.Bitmap=LoadBitmapResize(dir, fileName,Activity.Width,Activity.Height,True) the result is: B4X: java.lang.RuntimeException: Error loading bitmap. and the app is collapsed. How to solve this problem(skip the broken image),thanks!
TILogistic Expert Licensed User Longtime User Mar 20, 2021 #2 Dim xui As XUI ImageView.Bitmap=xui.LoadBitmapResize(...) Click to expand... Upvote 0
TILogistic Expert Licensed User Longtime User Mar 20, 2021 #4 upload a small project to help you Upvote 0
C chag616 Member Licensed User Mar 20, 2021 #5 oparra said: upload a small project to help you Click to expand... Thank you! Attachments testView.zip 207.3 KB · Views: 130 Upvote 0
C chag616 Member Licensed User Mar 20, 2021 #7 It's not really. But I hope the app can skip it, not try to load it oparra said: jejeje: Not Image: View attachment 110073 Click to expand... Upvote 0
It's not really. But I hope the app can skip it, not try to load it oparra said: jejeje: Not Image: View attachment 110073 Click to expand...
TILogistic Expert Licensed User Longtime User Mar 20, 2021 #8 test: use: Attachments testView2.zip 115.8 KB · Views: 123 Upvote 0
C chag616 Member Licensed User Mar 20, 2021 #9 oparra said: test: use: View attachment 110075 Click to expand... Anyway,thanks Upvote 0