Search found 200 matches

by KimD
Thu Apr 09, 2020 12:34 am
Forum: LiveCode Builder
Topic: Getting started with Java bindings
Replies: 7
Views: 237

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...
by KimD
Wed Apr 08, 2020 6:07 am
Forum: LiveCode Builder
Topic: Getting started with Java bindings
Replies: 7
Views: 237

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 ;-)
by KimD
Wed Apr 08, 2020 5:32 am
Forum: LiveCode Builder
Topic: Getting started with Java bindings
Replies: 7
Views: 237

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
by KimD
Tue Apr 07, 2020 12:11 am
Forum: LiveCode Builder
Topic: Getting started with Java bindings
Replies: 7
Views: 237

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...
by KimD
Mon Apr 06, 2020 2:48 am
Forum: Android Deployment
Topic: Storage permissions & API call
Replies: 8
Views: 320

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 ;-)
by KimD
Sat Apr 04, 2020 12:20 am
Forum: Android Deployment
Topic: Storage permissions & API call
Replies: 8
Views: 320

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...
by KimD
Fri Apr 03, 2020 10:39 pm
Forum: Android Deployment
Topic: Storage permissions & API call
Replies: 8
Views: 320

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...
by KimD
Fri Apr 03, 2020 4:21 am
Forum: Android Deployment
Topic: Storage permissions & API call
Replies: 8
Views: 320

Re: Storage permissions & API call

Update
I've solved my first problem with - androidRequestPermission "android.permission.WRITE_EXTERNAL_STORAGE"
Still stymied on how to make an Android API call using LC.
by KimD
Fri Apr 03, 2020 12:18 am
Forum: Android Deployment
Topic: Storage permissions & API call
Replies: 8
Views: 320

Storage permissions & API call

Two questions relating to an ongoing battle with the Android downloads folder: 1) If I make the assumption that the downloads folder is located at /storage/emulated/0/download, then my app is currently working on my Android test device; but only if I first go into My Test Device > Settings > Apps > ...
by KimD
Sun Mar 22, 2020 11:16 pm
Forum: iOS Deployment
Topic: Application Loader - "No suitable application records were found"
Replies: 8
Views: 1198

Re: Application Loader - "No suitable application records were found"

Another thing that I do - I start by uploading to Apple a version of my app without a custom Plist. Only after I've got that working do I try uploading the version with the custom Plist.
by KimD
Sun Mar 22, 2020 11:10 pm
Forum: iOS Deployment
Topic: Application Loader - "No suitable application records were found"
Replies: 8
Views: 1198

Re: Application Loader - "No suitable application records were found"

Hi Simon Sorry, but I only have the vaguest recollection of this issue now. From what I can remember, for me the problem was caused by me having a mis-match between: 1) developer.apple.com website > Certificates, Identifiers & Profiles > Identifiers > Register an App ID - I'd pay particular attentio...
by KimD
Fri Nov 22, 2019 2:44 am
Forum: CGIs and the Server
Topic: put header "Status:400" fails
Replies: 4
Views: 704

Re: put header "Status:400" fails - CLOSED

Hostm got back to me (very quickly) with the following - "We can confirm that the issue with status code 400 is not LiveCode-specific, as we’ve tested it with other server-side languages with the same result on our servers. It appears to be have something to do with LiteSpeed, the web server that we...
by KimD
Thu Nov 21, 2019 8:22 pm
Forum: CGIs and the Server
Topic: put header "Status:400" fails
Replies: 4
Views: 704

Re: put header "Status:400" fails

Thanks for checking that. I'll try asking hostm.

Regards

Kim
by KimD
Wed Nov 20, 2019 12:39 am
Forum: CGIs and the Server
Topic: put header "Status:400" fails
Replies: 4
Views: 704

put header "Status:400" fails

I'm teaching myself to build a REST API using LC Server. I've got my prototype API running on hostm (which was very easy to get going). I'm testing using Postman. I've encountered a weird little problem. The below works fine - <?lc put header "Status:428" put "It all went South" ?> Postman receives ...
by KimD
Tue Nov 05, 2019 9:39 pm
Forum: iOS Deployment
Topic: Missing Info.plist key - NSLocationAlwaysUsageDescription
Replies: 7
Views: 3111

Re: Missing Info.plist key - NSLocationAlwaysUsageDescription

Same issue here.

I can easily add a NSLocationAlwaysUsageDescription to my info.plist, but it doesn't make any sense (to me) that I should need to because my app doesn't require any location data.

Seems odd, but mine is not to reason why...

Go to advanced search