Page 1 of 1

build an LCB for android

Posted: Wed Sep 16, 2020 4:29 pm
by keliko
how difficult it is to build an LCB for android. I always fail to make LCB. I want to use the clipboard feature for android.
https://developer.android.com/reference ... ardManager

incomplete documentation and almost no tutorial on the internet about lcb livecode. makes me frustrating to build lcb.
I hope lcb can be done as easily as a livecode script.

:( :(

Re: build an LCB for android

Posted: Wed Sep 16, 2020 5:02 pm
by richmond62
What does "an LCB for Android" mean?

As far as I understand LCB is used for building add-ons for LiveCode.

Re: build an LCB for android

Posted: Wed Sep 16, 2020 5:41 pm
by Klaus
richmond62 wrote:
Wed Sep 16, 2020 5:02 pm
What does "an LCB for Android" mean?

As far as I understand LCB is used for building add-ons for LiveCode.
This MIGHT mean an add-on that works on the Android platform, not? 8)

Re: build an LCB for android

Posted: Wed Sep 16, 2020 7:03 pm
by richmond62
It MIGHT,

BUT it was BADLY PHRASED. 8)

Re: build an LCB for android

Posted: Thu Sep 17, 2020 4:02 am
by PaulDaMacMan
keliko wrote:
Wed Sep 16, 2020 4:29 pm
how difficult it is to build an LCB for android. I always fail to make LCB. I want to use the clipboard feature for android.
https://developer.android.com/reference ... ardManager

incomplete documentation and almost no tutorial on the internet about lcb livecode. makes me frustrating to build lcb.
I hope lcb can be done as easily as a livecode script.

:( :(
IMO, it's not all that difficult once you get the hang of it, debugging LCB on mobile (particularly Android since building for iOS is a lot like macOS) probably makes that a bit more difficult. Hooking into OS APIs with FFI is all about the binding strings and having some understanding of the API you're trying to use. Some of Apples API's have been extremely easy to use.
The LiveCode builder language itself is a lot like LiveCode Script but you have to type your variables.
The most frustrating thing for me has been hitting bugs in LCB.

Re: build an LCB for android

Posted: Fri Sep 18, 2020 6:04 am
by keliko
@richmond62
Sorry, my English is bad

@PaulDaMacMan
I hope I find a way.