Lazarus

Programming => Operating Systems => Android => Topic started by: juank1971 on September 18, 2020, 04:18:00 am

Title: Fill jscrollview with some components
Post by: juank1971 on September 18, 2020, 04:18:00 am
Hi.

It is possible to put some components inside a jscrollview component at run time,
for example listview, jtextview, jeditText jbutton .

Title: Re: Fill jscrollview with some components
Post by: jmpessoa on September 18, 2020, 05:12:58 am

listview, no!

and add LAMW component in run time is a hard task.... but possible.

[jScrollView  has direct support to Add Image and Text.... look for the methods:  "AddImage" and AddText]
Title: Re: Fill jscrollview with some components
Post by: juank1971 on September 18, 2020, 01:57:19 pm
Thanks .  And is possible modify the component fo add another for example maps or buttons
Title: Re: Fill jscrollview with some components
Post by: ADiV on October 05, 2020, 08:18:21 am

listview, no!

and add LAMW component in run time is a hard task.... but possible.

[jScrollView  has direct support to Add Image and Text.... look for the methods:  "AddImage" and AddText]

"Listview" if it is possible to add it to a scroll thanks to the "DisableScroll (true)" function that you create for this purpose.

You can see how it works in the options screen of my last application loaded in Google Play: https://play.google.com/store/apps/details?id=adiv.QRiBar.QRiBar (https://play.google.com/store/apps/details?id=adiv.QRiBar.QRiBar)
Title: Re: Fill jscrollview with some components
Post by: jmpessoa on October 05, 2020, 08:32:09 pm

Quote
my last application loaded in Google Play: https://play.google.com/store/apps/details?id=adiv.QRiBar.QRiBar

Nice!

Congratulations!!!
Title: Re: Fill jscrollview with some components
Post by: juank1971 on October 28, 2020, 05:38:26 am
I do not understand well,

I insert. in the form a jscrollbox and then I insert a jlistview into it?

And since I create the DisableScroll (true) function, I don't know which properties disable the scroll, I don't understand anything you tell me
And desabled scroll jlistview or jscrollview???
Title: Re: Fill jscrollview with some components
Post by: DonAlfredo on October 28, 2020, 07:54:58 am
Quote
You can see how it works in the options screen of my last application loaded in Google Play: https://play.google.com/store/apps/details?id=adiv.QRiBar.QRiBar
Question: which QRcode-library (or component) did you use for this very nice app ?
Title: Re: Fill jscrollview with some components
Post by: ADiV on October 29, 2020, 03:43:09 pm
Quote
You can see how it works in the options screen of my last application loaded in Google Play: https://play.google.com/store/apps/details?id=adiv.QRiBar.QRiBar
Question: which QRcode-library (or component) did you use for this very nice app ?

It works with 2 scan engines ZBar and ZXing to cover more barcodes and QR than other applications.
Title: Re: Fill jscrollview with some components
Post by: ADiV on October 29, 2020, 03:46:49 pm
I do not understand well,

I insert. in the form a jscrollbox and then I insert a jlistview into it?

And since I create the DisableScroll (true) function, I don't know which properties disable the scroll, I don't understand anything you tell me
And desabled scroll jlistview or jscrollview???

When you create a scroll, you can add multiple components, to add a listview you have to disable the scroll of the listview.DisableScroll(true), you can do it with listview.
Title: Re: Fill jscrollview with some components
Post by: jmpessoa on October 29, 2020, 10:55:11 pm

Hi, Don!

Some LAMW stuff is here:

jZbarcodeScannerView [android bridges]  and demo
jBarcodeGen [android bridges extra]     and demo
jcQRGen     [android bridges jCenter]   and demo
 
and

AppIntentDemoZXing1 demo
Title: Re: Fill jscrollview with some components
Post by: DonAlfredo on October 30, 2020, 06:46:35 am
@jmpessoa
Thanks. I have used the ZXing in the past. But the barcode scanner in the app by ADiV works much better !
So, that made me interested.
Will have a new look at the LAMW scan features !
Title: Re: Fill jscrollview with some components
Post by: DonAlfredo on October 30, 2020, 11:04:30 am
Wow. LAMW is so good.
Took me 5 minutes to build a perfectly working zbar scanner app from the demos.
Thanks very much.
TinyPortal © 2005-2018