Search found 211 matches
- Sat Dec 05, 2020 4:04 am
- Forum: Android Deployment
- Topic: Card slow to open - solved
- Replies: 0
- Views: 666
Card slow to open - solved
I normally post problems, but I thought that today I would share a learning. I had a card that was very slow to open on Android. I added extensive logging and found a 2600 milliseconds delay between: - the end of the previous card's closeCard handler; and - the start of the problem card's preOpenCar...
- Thu Sep 03, 2020 12:18 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can the void space within a group be made "Clickable"?
- Replies: 26
- Views: 2879
Re: Can the void space within a group be made "Clickable"?
Thanks all. Fascinating. Opaquer - Thanks for the card script idea. I can see how that would also work. Dunbarx - Thanks for the info about the "solidity" of a group. That certainly matches what I'm seeing. - Yes - I think that a group property that allowed void mouse clicks to be trapped would be u...
- Wed Sep 02, 2020 5:18 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can the void space within a group be made "Clickable"?
- Replies: 26
- Views: 2879
Re: Can the void space within a group be made "Clickable"?
Thanks Thierry. Yes - it would certainly be easy to do it by adding a group-sized object and layering it below everything else. I was just curious about whether LC might have a way of detecting clicks that occurred within the left/right/top/bottom bounds of a group, but not over an object of that gr...
- Wed Sep 02, 2020 5:00 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can the void space within a group be made "Clickable"?
- Replies: 26
- Views: 2879
Re: Can the void space within a group be made "Clickable"?
Thanks Kelly I may not have explained this properly. The following answers "Hi" if I click on an object located within group "XYZ" On MouseUp // Stored as a script of Group "XYZ" Answer "Hi" End MouseUp But if I click on the empty space between two objects located within group "XYZ", then it doesn't...
- Wed Sep 02, 2020 4:01 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can the void space within a group be made "Clickable"?
- Replies: 26
- Views: 2879
Can the void space within a group be made "Clickable"?
I've been playing around with mouse message handlers where the script is located on a group control. I've discovered that a message is only sent to the group script if I click on an actual object within the group. If I click on the void space, the empty area between the groups objects, then the grou...
- Wed Aug 26, 2020 5:35 am
- Forum: Android Deployment
- Topic: "Could not compile service support class"
- Replies: 2
- Views: 1897
Re: "Could not compile service support class"
FYI I just got the Service Support Class error message. One moment I could compile for Android, then 10 minutes later I couldn't. I hadn't changed anything related to the Mobile Support settings. After restarting my computer (and making zero other changes) I could compile for Android again. "Have yo...
- Thu Aug 20, 2020 3:04 am
- Forum: Android Deployment
- Topic: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
- Replies: 25
- Views: 7809
Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
Thanks Sphere. I tried a variety of methods for solving this before stumbling upon this - https://quality.livecode.com/show_bug.cgi?id=22384 Following Panos instructions I had it fixed in a couple of minutes. I've now got an Android barcode scanner deployed onto my test device. It works great. VERY ...
- Wed Aug 19, 2020 6:32 am
- Forum: Android Deployment
- Topic: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
- Replies: 25
- Views: 7809
Re: Unable to locate Play Service dependency - BarcodeScanner issue [SOLVED]
Back to LC after a few months break. Same issue. I'm getting an "Unable to locate Play Service" error message when trying to create Android Standalone with the Barcode Scanner Widget. The error message goes away if I delete the widget. I'm not (yet) using any settings on the widget. Just adding the ...
- Tue Apr 21, 2020 1:58 am
- Forum: LiveCode Builder
- Topic: FFI - how do I get the value of an Android field/constant
- Replies: 0
- Views: 1707
FFI - how do I get the value of an Android field/constant
I just know that this is going to turn out to be incredibly easy, but I've spent a day working on it and got no where. Using the FFI, how do I get the value of a field (constant)? For example, for android.os.Environment (https://developer.android.com/reference/android/os/Environment), how do I retri...
- Wed Apr 15, 2020 3:48 am
- Forum: LiveCode Builder
- Topic: Getting started with Java bindings
- Replies: 12
- Views: 3664
Re: Getting started with Java bindings - Solved
Thanks Paul. You solved it. I had - Standalone App Settings > Inclusions > Search for required inclusions When I changed it to - Standalone App Settings > Inclusions > Select inclusions, and manually selected my new library It worked fine on my Android device. I should have thought of that. Doh! Tha...
- Tue Apr 14, 2020 4:19 am
- Forum: LiveCode Builder
- Topic: Getting started with Java bindings
- Replies: 12
- Views: 3664
Re: Getting started with Java bindings
Thanks Paul. Try & Catch don't seem to have been implemented in LCB. They don't appear in the dictionary and I get a compile error if I try to use them. I haven't worked with Log before. I've tried a few things, based on what I read in the dictionary, but I can't work out how to output what has been...
- Thu Apr 09, 2020 12:34 am
- Forum: LiveCode Builder
- Topic: Getting started with Java bindings
- Replies: 12
- Views: 3664
Re: Getting started with Java bindings
Thanks Paul. Yes - I'd also got to thinking that Windows must be unsupported, hence my questions 2 & 3. Given that I cut-n-paste the code from the extending LC guide, I'd have hoped that it would work on Android. I've currently got no idea how to even begin to debug this. I tried capturing "the resu...
- Wed Apr 08, 2020 6:07 am
- Forum: LiveCode Builder
- Topic: Getting started with Java bindings
- Replies: 12
- Views: 3664
Re: Getting started with Java bindings
Thanks. I've got about 1 day on each of LCB, FFI & Java. It's a steep learning curve. BTW - is there any LC Forum that you're NOT following 

- Wed Apr 08, 2020 5:32 am
- Forum: LiveCode Builder
- Topic: Getting started with Java bindings
- Replies: 12
- Views: 3664
Re: Getting started with Java bindings
Hi Bogs. Well, no other advice so far, but at least I've learnt how to create code blocks
Thanks. Kim

- Tue Apr 07, 2020 12:11 am
- Forum: LiveCode Builder
- Topic: Getting started with Java bindings
- Replies: 12
- Views: 3664
Getting started with Java bindings
I have a two (hopefully modest) tasks* that I'd like to use LCB + FFI + Java to achieve on Android. Knowing almost nothing about any of these three, I thought that I'd start with a very small training exercise. I had previously completed the LCB Hello World example. So: 1) I cut-n-paste the javauuid...