LAMW: jSpinner on Android 4.4.2 lazarus / 43-Android ---------------------------------------------------------------------- c4p · 2017-06-18 20:47 Can someone try the jSpinner component on Android 4.4.2 as it crashes whenever you click it, either it is my install or the recent svn upgrade breaks it on 4.4.2? Works fine on Android 5.0.1. ---------------------------------------------------------------------- jmpessoa · 2017-06-18 21:13 Hello c4p! I dont have a 4.4.2 here... just 5.0.1, too... But I will try some solution! Thank you! [EDITED] OK. I fixed some check index range  in "Spinner.java" template ---------------------------------------------------------------------- c4p · 2017-06-19 20:35 Hmm still the same ---------------------------------------------------------------------- jmpessoa · 2017-06-19 20:44 Can you get some logcat? There is a  logcat entry in menu "Tools" --> "[Lamw] Android Module Wizard" --> "ADB Logcat" --> "Logcat -d" Run it after a App "crash" .... ---------------------------------------------------------------------- c4p · 2017-06-19 22:21 This looks like the error: I/BufferQueue(  134): [Application Error: myapp.project.app](this:0xb734afe8,id:357,api:2,p:686,c:134) new GraphicBuffer needed I/GLConsumer(  134): [Application Error: myapp.project.app](this:0xb73856f0,api:2) [void* android::GLConsumer::createImage(EGLDisplay, const android::sp&, const android::Rect&)] I/BufferQueue(  134): [Application Error: myapp.project.app](this:0xb734afe8,id:357,api:2,p:686,c:134) new GraphicBuffer needed I/BufferQueue(  134): [Application Error: myapp.project.app](this:0xb734afe8,id:357,api:2,p:686,c:134) [queue] fps:1.67, dur:1195.17, max:972.59, min:222.58 I/GLConsumer(  134): [Application Error: myapp.project.app](this:0xb73856f0,api:2) [void* android::GLConsumer::createImage(EGLDisplay, const android::sp&, const android::Rect&)] ---------------------------------------------------------------------- jmpessoa · 2017-06-19 22:28 QuoteI/GLConsumer(  134): [Application Error: myapp.project.app](this:0xb73856f0,api:2) [void* android::GLConsumer::createImage(EGLDisplay, const android::sp&, const android::Rect&)] Are you using some jImageView? ---------------------------------------------------------------------- c4p · 2017-06-19 22:44 Don't think so, I may have dropped the component on at some point and removed it, but not using it. I will check tomorrow, got my dev box off now and heading to bed. zzzzzzzz ---------------------------------------------------------------------- c4p · 2017-07-15 10:34 Only a month later! I tried this with a fresh project with only the jSpinner on and it still crashes on 4.4.2, fine on 5.0.1. Maybe someone else can confirm? ---------------------------------------------------------------------- carl_caulkett · 2017-07-15 10:53 That was a long sleep ;-) ---------------------------------------------------------------------- c4p · 2017-07-15 11:04 Yup. ---------------------------------------------------------------------- jmpessoa · 2017-07-15 21:20 Hi c4p! You woke up!  We have a good news! The bug was fixed! [just get the fixed "jSpinner.java" template from github..] Thank you! PS. I have done some test with android 4.3 [S3] and 5.01 [S4] ---------------------------------------------------------------------- c4p · 2017-07-16 16:40 Excellent stuff, many thanks! Been working and holiday....not sleeping