Search found 223 matches
- 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: 11313
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: 11313
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: 3863
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: 16677
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: 16677
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: 4754
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: 16
- Views: 20708
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: 16
- Views: 20708
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: 16
- Views: 20708
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: 16
- Views: 20708
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: 16
- Views: 20708
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: 16
- Views: 20708
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...
- Mon Apr 06, 2020 2:48 am
- Forum: Android Deployment
- Topic: Storage permissions & API call
- Replies: 13
- Views: 10081
Re: Storage permissions & API call
Thanks. I think that I've worked out how I can achieve what I want. A Livecode Builder Library utilising the Foreign Function Interface to execute a Java script that will return the file path to the Android Downloads folder. Now all that I need to do is teach myself LCB, the FFI & Java
- Sat Apr 04, 2020 12:20 am
- Forum: Android Deployment
- Topic: Storage permissions & API call
- Replies: 13
- Views: 10081
Re: Storage permissions & API call
Hi Jacque Thanks for trying, but if I try - put specialFolderPath("external documents") & "/Download" into tPath set the defaultFolder to tPath Then the result is "can't open directory" LC dictionary - 'If you set the defaultFolder to a folder that doesn't exist, the result is set to "can't open dir...
- Fri Apr 03, 2020 10:39 pm
- Forum: Android Deployment
- Topic: Storage permissions & API call
- Replies: 13
- Views: 10081
Re: Storage permissions & API call
Thanks Bogs & Jacque More detail - what I'm trying to achieve is to allow my app to read files that are already in the Android DOWNLOADS folder. I.E. (1) someone sends Android user an email with type XYZ attachment, (2) user opens this email using Gmail, (3) user hits the Gmail download attachment b...