Re: sideloading updates to mobile

2024-02-21 Thread Andrew at MWCM via use-livecode
Sideloading to iOS itself is fairly easy, even easier with Jacque’s wonderful 
tool AirLaunch (which allows you to post a link online for the end-user to 
visit and install from w/o being on-site). The biggest hurdle I have found is 
that you must first obtain the UDID of the specific device you want to side 
load to AND THEN create a new Provisioning Profile in the Apple Developer 
portal which includes that test device before you build. 

Without going through that process first you can build and submit to Apple 
using TestFlight which makes the update available to non-UDID obtained devices 
but is subject to the standard Apple approval process (which has taken between 
4 hours and 2 weeks for me to pass over the years).

- Andrew Bell

> anyone screw around with sideloading updates to mobile?
> it should be pretty straightforward, but i haven't messed with it, yet.
> one of our apps runs on single-app-mode ios devices. so, we could pay for
> mdm to update it, or we could sideload the updates.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Installing mySQL on Windows

2023-07-03 Thread Andrew at MWCM via use-livecode
The installer itself is 32bit but it will give you 64bit binaries. I had to 
upgrade my 5.7.x to the latest version first, but then I could add the x64 
version of 8.0.

—Andrew Bell

> 
> Yes, and as you will note, those are 32 bit installers. I was hoping there 
> was a 64 bit installer. There ARE 64 bit binaries, but no MSI.
> 
> Bob S
> 
> 
> On Jun 23, 2023, at 11:55 AM, Andrew at MWCM via use-livecode 
>  wrote:
> 
> Just installed it last week on a Windows Server 2019 VM using the installer 
> from https://dev.mysql.com/downloads/installer/
> 
> -Andrew Bell


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Installing mySQL on Windows

2023-06-23 Thread Andrew at MWCM via use-livecode
Just installed it last week on a Windows Server 2019 VM using the installer 
from https://dev.mysql.com/downloads/installer/

—Andrew Bell
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android and USB footswitch

2023-05-31 Thread Andrew at MWCM via use-livecode
You can open local PDFs in a LiveCode app by loading them into the Browser 
widget. Do you plan on compiling with the PDFs as part of your app (in the 
Resources folder) or trying to add to the app after the fact?

—Andrew Bell

>>> Since PDFs are not accessible via "mobilepickmedia" are there ANY other 
>>> ways to add 
>>> some PDFs later without having to download them from some URL?
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-03-01 Thread Andrew at MWCM via use-livecode


> andrew,
> ok, now i'm curious:
> do you also do deep linking into your app, itself?
> I've thought about doing that, but I've never tried to figure out how.

No deep linking INTO (but I think that is covered at 
https://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes 
) but I 
do have deep linking OUT of another app project (Florida On Tap) that opens the 
Untappd app if a user has it installed and goes to a specific section of their 
app.

-- Andrew Bell
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Andrew at MWCM via use-livecode
> 
> Date: Tue, 28 Feb 2023 10:14:37 -0500
> From: Mike Kerner 
> To: How to use LiveCode 
> Subject: Re: On mobile: mergAVRequestMediaAccess "video" and
>   androidRequestPermission "android.permission.CAMERA"
> Message-ID:
>   
> Content-Type: text/plain; charset="UTF-8"
> 
> this isn't an uncommon problem.
> what other apps on ios do is throw up a separate dialog that directs the
> user to Settings->Privacy and Security->whatever (in your case, both
> "Camera" and "Microphone"), and tells the user to return to try again when
> that setting is changed.

Here is a code-block with deep links that I use in an iOS app to do pretty much 
the same thing, except for push notifications instead of camera access after 
the user declines the initial acceptance pop-up. You’ll need to change the path 
to your specific app bundle and update the root from NOTIFICATIONS_ID to 
something else like CAMERA (not 100% certain):

on mouseUp
   put "To enable Push Notification Settings go to your iOS device settings..." 
& RETURN & RETURN &"Settings -> Indiana On Tap -> Notifications" & RETURN & 
RETURN & "...then select Allow Notifications." into tMessage
   answer tMessage with "Good to know" and "Take me there!"
   put it into tReply
   if tReply = "Take me there!" then
  launch url 
"App-Prefs:root=NOTIFICATIONS_ID=com.midwestcoastmedia.indianaontap" // 
iOS 10+
  if the result is "no association" then
 launch url 
"prefs:root=NOTIFCATIONS_ID=com.midwestcoastmedia.indianaontap" // iOS 9
  end if // the result is "no association"
   end if // tReply = "Take me there!"
end mouseUp

—Andrew Bell
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Move command on iOS

2018-08-03 Thread MWCM via use-livecode
Are you testing in iOS 12? This is the exact problem I’m having (that Monte 
just patched today). 

Sounds like it should be fixed in 9.0.1.rc2

--Andrew Bell
--Sent from my iPhone

>>> 
> From: "J. Landman Gay" 
> To: LiveCode Mailing List 
> Subject: Move command on iOS
> Message-ID: 
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Anyone else having trouble with the move command on iOS? I'm sliding a 
> group into view, which works the first time, and after that it starts to 
> move and then immediately jumps to its destination without any 
> animation. It works fine in the IDE.
> 
> AccleratedRendering is true and the group layermode is "dynamic". I 
> don't have an actual phone to try it on, so maybe this is a simulator 
> problem?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Search a multidimensional array

2018-04-20 Thread MWCM via use-livecode
I tried to be a good developer and search the list before posting: 
multidimensional array search turned up some posts from 2014 but most “sort 
array” searches only returned single dimensional array options. 

I just started using encodedArrays on a recent project and fell in love with 
the simplicity. They have worked for all my previous efforts, but I’ve never 
had more than ~300 keys to deal with so a simple repeat loop always worked fast 
enough. 

I’ve used MySQL database queries in the past with success (thanks to the 
awesome API that HostM has provided), but this particular data set isn’t stored 
in an online database and offline access is required due to client 
circumstances. Before Livecode I’d never dealt with databases at all, so I’m an 
SQLlite virgin. Looks pretty straight forward though. 

--Andrew Bell
--Sent from my iPhone

> On Apr 20, 2018, at 12:10 PM, use-livecode-requ...@lists.runrev.com wrote:
> 
> Andrew, you don't peruse this list much, do you? :-)
> 
> A recent thread has been going on about just this issue. The upshot is that 
> one pass through the array is obviously needed for the sqLite conversion, but 
> after that multiple queries can be done much more efficiently. I have code 
> already written that converts an array to a memory sqLite database. Once you 
> do that, you can index on the columns you query most often. Contact me off 
> list and I will send it to you. 
> 
> As an aside, why not just use an sqLite database out of the gate? And to the 
> rest of the list, there should probably be a way to import a file based 
> sqlite database into a memory database and then back again for speed. 
> 
> Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-14 Thread MWCM via use-livecode
I have an issue that isn’t exactly the same but may be related. Seldom do I 
work on two monitors, but my display configuration is constantly changing.  My 
primary development machine is a 15” Retina MacBook Pro. The main project I 
work on is a large stack (iPhone 7 native resolution) stack that I work with at 
a scaleFactor of 0.5 so it fits on my internal Retina display and doesn’t take 
too much screen real estate on the external. 

When on-the-go, I use the Retina display in the “almost largest display” 
setting (not the far right biggest resolution option and not the middle 
recommended option). 

When in the office I work docked (laptop closed) and connect the laptop to an 
external keyboard/mouse and external 4K display (via mini DisplayPort) and 
sometimes also a 1080i (via HDMI). When docked, I NEVER use the built-in 
display.

Every time I launch that stack, the top of the stack is off the top of my 
screen. Doesn’t matter what display setup I’m using, I always have to open the 
stack inspector and change the Y position of the stack so the whole thing 
appears on my screen. 

--Andrew Bell
--Sent from my iPhone

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Android build executable on test device fails

2018-01-13 Thread MWCM via use-livecode

> Date: Sun, 14 Jan 2018 09:15:48 +0900
> From: Nicolas Cueto 
> To: How to use LiveCode 
> Subject: Re: Android build executable on test device fails
> Message-ID:
>
> Content-Type: text/plain; charset="UTF-8"
> 
> The problem is on 8.1.8.
> 
> Any idea what the subject of that thread was?
> 

I was hoping I would be able to get something useful as I had a similar problem 
but the user found the problem object on their own. 

http://lists.runrev.com/pipermail/use-livecode/2018-January/244253.html

--Andrew Bell
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android build executable on test device fails

2018-01-13 Thread MWCM via use-livecode

> Testing on an Android device, the "Standalone builder progress" window
> shows first "Building classes" and then for a brief moment "Building
> executable", after which an error window reads "Unable to build app for
> testing: could not open module file".
> 
> Searched the forums but no mention at all of this problem.
> 
> --
> Nicolas Cueto
> 

Someone else on the list had this problem within the week, but had a different 
subject for the thread. I believe their issue was some code or widget lurking 
around without proper inclusions. 

What version of Livecode are you compiling with? I’ve had the same problem 
recently with a stack that I’ve tried to compiler in 8.1.8. I fear I opened 
this in 9dp11 to see the new dataGrid2 in action and saved the stack without 
backwards compatibility. This isn’t strictly Android as I was building for iOS 
when the error manifested. 

—Andrew Bell

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: use-livecode Digest, Vol 172, Issue 15

2018-01-06 Thread MWCM via use-livecode

> Looks like the FillInData handler in your row template script has an error
> in it. Maybe some data isn?t what the script expects? Check line 79 and see
> if there might be an error there.
> 
> -- 
> Trevor DeVore
> ScreenSteps
>> 

Nailed it. I have a sub-routine that tries to use an image thumbnail for each 
row and this new image had some weird naming issues so it didn’t load properly. 
I need to wrap a try statement around it and use a fallback. Thank you Trevor!

-Andrew Bell

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode