Search found 42 matches

by rcmills
Mon Apr 25, 2022 3:17 pm
Forum: iOS Deployment
Topic: How do I change the textcolor of the selected text in a native iOS field?
Replies: 4
Views: 3975

Re: How do I change the textcolor of the selected text in a native iOS field?

I have this same problem. I would love to hear if anyone has been able to find a solution:)
by rcmills
Fri Aug 13, 2021 1:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: random number generator issue
Replies: 4
Views: 2978

Re: random number generator issue

Thanks much!

Yes, that works perfectly (of course!). I don't understand why the other method doesn't work. Just another of life's mysteries - lol.
by rcmills
Thu Aug 12, 2021 11:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: random number generator issue
Replies: 4
Views: 2978

random number generator issue

I was doing some simulations, and using the random() function, and got some results that I doubted. To do a quick test, I wrote the following simple test, and got these results on several successive runs: 997,997,997,996,998,991,997,997,996,995 1050,1048,1048,1051,1053,1047,1054,1053,1052,1051 1005,...
by rcmills
Tue Jul 06, 2021 3:23 pm
Forum: iOS Deployment
Topic: Exporting text from LiveCode in iOS
Replies: 20
Views: 12690

Re: Exporting text from LiveCode in iOS

It's frustrating that the clipboard is not supported in iOS :?
Any idea why? Is implementation ever planned by LC?
by rcmills
Thu Jun 10, 2021 11:11 pm
Forum: iOS Deployment
Topic: Browser Widget not working in iOS
Replies: 10
Views: 8457

Re: Browser Widget not working in iOS

After noticing the URL displayed in the widget via the Inspector in the IDE, I had the iOS app show me what that property was after loading. Turns out that in the iOS environmen, "set the URL to <filename>" code does not include the "file://" at the start, as the development environment does. So, af...
by rcmills
Tue Jun 08, 2021 9:05 pm
Forum: iOS Deployment
Topic: Browser Widget not working in iOS
Replies: 10
Views: 8457

Re: Browser Widget not working in iOS

I have finally succeeded in moving the pdf file to the documents folder in iOS, and verified it's size. Unfortunately, loading it from there into the Browser Widget still does not work. When checking for error, the result is empty, and I get "No error" in my dialog box, but the pdf does not load int...
by rcmills
Mon Jun 07, 2021 9:39 pm
Forum: iOS Deployment
Topic: Browser Widget not working in iOS
Replies: 10
Views: 8457

Re: Browser Widget not working in iOS

Thanks for the advice. My code now reads as below, but I'm still getting a zero bytes file. I checked that the pdf file in the resources folder is the expected size (21.4 MB). on movePDF put "The-Atlas.pdf" into pdfName put "binfile:" & specialfolderpath("resources") into eFolder put (eFolder & "/" ...
by rcmills
Mon Jun 07, 2021 1:03 pm
Forum: iOS Deployment
Topic: Browser Widget not working in iOS
Replies: 10
Views: 8457

Re: Browser Widget not working in iOS

I have tried the following routine to move the pdf file from the "resources" folder to the "documents" folder. It puts a file there, but it has zero bytes. What am I missing? on movePDF put "The-Atlas.pdf" into pdfName put specialfolderpath("engine") into eFolder put (eFolder & "/" & pdfName) into e...
by rcmills
Thu Jun 03, 2021 10:40 pm
Forum: iOS Deployment
Topic: Browser Widget not working in iOS
Replies: 10
Views: 8457

Re: Browser Widget not working in iOS

I got an empty result when I tried "answer the result". Isn't that supposed to mean that the "set URL" command was successful?

So, how do I move the pdf into the documents folder?
by rcmills
Wed May 26, 2021 9:47 pm
Forum: iOS Deployment
Topic: Browser Widget not working in iOS
Replies: 10
Views: 8457

Re: Browser Widget not working in iOS

Thank you, jacque. I only used the "answer file" for testing in the MacOS IDE. When the app runs on iOS, it bypasses that routine, and gets the filename in the "getPDFs" function (the pdf file is copied into the app using the Copy Files tab of the Standalone Application Settings). My problem is that...
by rcmills
Tue May 25, 2021 9:44 pm
Forum: iOS Deployment
Topic: Browser Widget not working in iOS
Replies: 10
Views: 8457

Browser Widget not working in iOS

I am trying to load pdfs into the browser widget for an iOS app. It works fine in the Mac IDE. I have included the browser inclusion, and have upgraded to LC 9.6.2 The documentation seems straightforward, but I'm having no luck. Here is my loader code: on mouseUp local tFile set the URL of widget "b...
by rcmills
Thu Feb 18, 2021 10:15 pm
Forum: Android Deployment
Topic: Android Studio - Additional JDK not needed (Solution to Java is none error)
Replies: 33
Views: 171420

Re: Android Studio - Additional JDK not needed (Solution to Java is none error)

I have set the visible of the button to find the JDK, using the command in the MessageBox as Bernard suggested, and tried using it to point to the jre folder in the contents of Android Studio.app on my mac. The dialog box which opens after clicking the button, however, grays out the Android Studio.a...
by rcmills
Tue Oct 27, 2020 8:48 pm
Forum: iOS Deployment
Topic: Support for iOS 13.3
Replies: 8
Views: 6871

Re: Support for iOS 13.3

Many thanks, Panos!

That got the job done. Now, I just have to readjust all the field sizes and margins...in all of my apps. Ugh!
by rcmills
Tue Oct 27, 2020 3:52 pm
Forum: iOS Deployment
Topic: Support for iOS 13.3
Replies: 8
Views: 6871

Re: Support for iOS 13.3

That sounds quite likely to be true. I forget how to do that. It has been quite a while since I first set that up.

Can I do it through Xcode? Or, is there a good reference you could point me to for doing it?

Thanks!
by rcmills
Tue Oct 27, 2020 2:45 pm
Forum: iOS Deployment
Topic: Support for iOS 13.3
Replies: 8
Views: 6871

Re: Support for iOS 13.3

Panos, I have tried to upload an app I wrote in LC 9.6.1 (build 15552) for iOS 13.0 (or later) to my new iPhone 12 Pro (running iOS 14.1), using Xcode 12.1 After the initializing of my iPhone by Xcode, the upload failed without giving any error message. The dialog box simply says "Unable to install ...

Go to advanced search