* * *

Author Topic: LAMW - using jDBListView - error linking  (Read 619 times)

arirod

  • New member
  • *
  • Posts: 15
LAMW - using jDBListView - error linking
« on: June 03, 2018, 08:43:18 pm »
Hello!

I drag only the "jDBlistView" component on the form, when I run it it returns the error message from the Grade.

Can you help?
« Last Edit: June 03, 2018, 08:45:06 pm by arirod »

jmpessoa

  • Hero Member
  • *****
  • Posts: 1150
Re: LAMW - using jDBListView - error linking
« Reply #1 on: June 03, 2018, 11:28:03 pm »
Hello, Ari!

We have a "deprecation"  issue...  I will try some solution..
 
Can you put here:

"minSDK" ?
"targetSDK" ?

Edited: [you can try a rapid fix..]

Go to LAMW framework  "......\java\lamwdesigner\jDBListView.pas"  and change the line 90:


   ColorDrawable dvdr = new ColorDrawable(this.getResources().getColor(R.drawable.black));

to:

       ColorDrawable dvdr = new ColorDrawable(0xFF000000);  //  <<-------------

« Last Edit: June 03, 2018, 11:55:55 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

arirod

  • New member
  • *
  • Posts: 15
Re: LAMW - using jDBListView - error linking
« Reply #2 on: June 04, 2018, 05:53:07 am »
jmpessoa
Thank you so much!

Your approach has solved my problem!
I can continue the work ..

About your question, it is in attached image.

Thank you,

Ari

 

Recent

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