- Jun 6, 2020
- 11,559
- 4,422
Hello All,
I have a problem that have no idea how to solve, for now.
I have a APP the reads some images from a SQLite database in B64 strings.
Some devices read and decode the image with no problems whatsoever, but others crash the App with a SQLITE error 'cursor to big to fit in row'.
Even with a Try..Catch doesn't "catch" the error. If i place a lenght condition in the query, it works, but I only want to do that if the device hasn't enough memory., and to set a boolean (LowMemoryDevice ) var to control this.
How can I solve this problem ? Any ideas ?
Below the query. imageb64 is the image coded in a B64 string.
B4X:
I have a problem that have no idea how to solve, for now.
I have a APP the reads some images from a SQLite database in B64 strings.
Some devices read and decode the image with no problems whatsoever, but others crash the App with a SQLITE error 'cursor to big to fit in row'.
Even with a Try..Catch doesn't "catch" the error. If i place a lenght condition in the query, it works, but I only want to do that if the device hasn't enough memory., and to set a boolean (LowMemoryDevice ) var to control this.
How can I solve this problem ? Any ideas ?
Below the query. imageb64 is the image coded in a B64 string.
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید