* * *

Author Topic: LAMW: jSpinner on Android 4.4.2  (Read 301 times)

c4p

  • New member
  • *
  • Posts: 25
LAMW: jSpinner on Android 4.4.2
« on: June 18, 2017, 10:47:59 pm »
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

  • Hero Member
  • *****
  • Posts: 888
Re: LAMW: jSpinner on Android 4.4.2
« Reply #1 on: June 18, 2017, 11:13:56 pm »
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
« Last Edit: June 19, 2017, 12:51:29 am by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

c4p

  • New member
  • *
  • Posts: 25
Re: LAMW: jSpinner on Android 4.4.2
« Reply #2 on: June 19, 2017, 10:35:01 pm »
Hmm still the same  :'(

jmpessoa

  • Hero Member
  • *****
  • Posts: 888
Re: LAMW: jSpinner on Android 4.4.2
« Reply #3 on: June 19, 2017, 10:44:55 pm »
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" ....
« Last Edit: June 20, 2017, 12:03:02 am by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

c4p

  • New member
  • *
  • Posts: 25
Re: LAMW: jSpinner on Android 4.4.2
« Reply #4 on: June 20, 2017, 12:21:46 am »
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<android::GraphicBuffer>&, 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<android::GraphicBuffer>&, const android::Rect&)]

jmpessoa

  • Hero Member
  • *****
  • Posts: 888
Re: LAMW: jSpinner on Android 4.4.2
« Reply #5 on: June 20, 2017, 12:28:05 am »
Quote
I/GLConsumer(  134): [Application Error: myapp.project.app](this:0xb73856f0,api:2) [void* android::GLConsumer::createImage(EGLDisplay, const android::sp<android::GraphicBuffer>&, const android::Rect&)]

Are you using some jImageView?
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

c4p

  • New member
  • *
  • Posts: 25
Re: LAMW: jSpinner on Android 4.4.2
« Reply #6 on: June 20, 2017, 12:44:28 am »
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

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus