Lazarus

Programming => Operating Systems => Android => Topic started by: guaracy on September 19, 2021, 04:41:31 pm

Title: [SOLVED] Strange behavior with LAMW and jListView on Linux.
Post by: guaracy on September 19, 2021, 04:41:31 pm
I did a fresh install on Linux using LAMWManager-linux

All demos in ../demos/GUI/AppListViewDemo[n] works fine.
Almost all. AppListViewDemo7 does't work. I need to change line 61 in "unit1"

from: densidad := jCanvas1.Density.ToString.ToInteger;
to:   densidad := Trunc(jCanvas1.Density);


Problem:

If i start a new project and insert a jListView control on form i get an error when build "[LAMW] Build Android Apk an Run" (sorry, i cant tell you the error because in linux the terminal is suddenly closed). If i delete jListView, all works fine again.

but

if i open a demo e.g. AppListViewDemo5, and put another jListView on form, i can build and run the AppListViewDemo5 without problems.

Tanks
Title: Re: Strange behavior with LAMW and jListView on Linux.
Post by: jmpessoa on September 19, 2021, 06:10:03 pm
I will try some fix!

Thank you!

Edited: FIXED!

Now 'jListView.java" template is OK for "old" and "new" project!
Title: Re: Strange behavior with LAMW and jListView on Linux.
Post by: guaracy on September 20, 2021, 04:59:49 pm
Thank you.
TinyPortal © 2005-2018