Search found 298 matches

by bwmilby
Fri Jun 19, 2020 5:01 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 1282

Re: Encryption and SQLite

Here's an updated stack that uses BLOB.
I updated the file to include the "binary" opening of the database.
by bwmilby
Fri Jun 19, 2020 3:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 1282

Re: Encryption and SQLite

If using the VARCHAR type, then your generalization is correct. Using base64encode/decode is a safe way to get binary data in/out of a VARCHAR field in the database. It isn't the only way to store the data though. You could use the BLOB type to avoid needing to convert, but I've not experimented wit...
by bwmilby
Thu Jun 18, 2020 6:20 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 1282

Re: Encryption and SQLite

You need to use base64encode for the binary data instead of textEncode. The data isn't always valid UTF-16 which is why it doesn't always decode properly. If you change the enc database field to always use base64encode/base64decode then it will work as you need. line 47: put base64Encode(tEncrypted)...
by bwmilby
Tue Jun 02, 2020 11:01 pm
Forum: Talking LiveCode
Topic: LC 9.6 & fullscreenmode & splashscreen
Replies: 16
Views: 711

Re: LC 9.6 & fullscreenmode & splashscreen

Did you try deleting the app from the phone/sim completely?
by bwmilby
Tue Jun 02, 2020 5:34 pm
Forum: Talking LiveCode
Topic: LC 9.6 & fullscreenmode & splashscreen
Replies: 16
Views: 711

Re: LC 9.6 & fullscreenmode & splashscreen

Sorry that my suggestion failed. That makes me want to dig deeper. I have not tried my mobile demo stack with the new launch screen yet. From the screen shot, it is weird. You can see that the scale is slightly different in addition to the black borders.
by bwmilby
Tue Jun 02, 2020 2:23 am
Forum: Talking LiveCode
Topic: LC 9.6 & fullscreenmode & splashscreen
Replies: 16
Views: 711

Re: LC 9.6 & fullscreenmode & splashscreen

I think you are seeing this because you have not specified an image for the splash. In the old way, the app would only recognize screen sizes where an image was included. Try including any of your old splash images and see if it is better. My thinking is that it fell back to the default size which g...
by bwmilby
Mon May 11, 2020 2:05 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 1282

Re: Encryption and SQLite

Larry, I've just now had the opportunity to download your test stack. Here are my observations: Since you do not provide a salt, a random salt is included whenever you encrypt. This salt value is combined with the key when performing the encryption. This is why each encrypted value that you see is d...
by bwmilby
Sun May 10, 2020 11:07 pm
Forum: Converting to LiveCode
Topic: Problem with resizing stack
Replies: 10
Views: 1557

Re: Problem with resizing stack

Going back to your initial post... not sure you really need to make multiple cards. You could easily use the card as a template and populate the data into the card on the fly. LiveCode is better suited to this type of model than having a bunch of cards to hold the data. If you still want to use the ...
by bwmilby
Wed Apr 22, 2020 1:48 am
Forum: Mac OS
Topic: Re: Windows -> MacOS : file format ? [SOLVED]
Replies: 32
Views: 2247

Re: Windows -> MacOS : file format ? [SOLVED]

Yeah, I had my syntax wrong. From the terminal it should be:

Code: Select all

open MyApp.app
But, if it isn't working with a double click, I doubt it would work from a command either. Most strange. Did you try doing a fresh copy to be sure some other permission didn't get changed unintentionally?
by bwmilby
Tue Apr 21, 2020 3:23 pm
Forum: Mac OS
Topic: Re: Windows -> MacOS : file format ? [SOLVED]
Replies: 32
Views: 2247

Re: Windows -> MacOS : file format ? [SOLVED]

./TestHello.app
by bwmilby
Tue Apr 21, 2020 3:27 am
Forum: Mac OS
Topic: Re: Windows -> MacOS : file format ? [SOLVED]
Replies: 32
Views: 2247

Re: Windows -> MacOS : file format ?

I did try it some time ago and it didn't work. I have not tried recently though. From what I understand, the actual binary needs the execute bit set (which is a couple of levels down in the package). Ok, just tested... In the terminal, need to navigate to the folder holding your app and... cd AppNam...
by bwmilby
Mon Apr 13, 2020 11:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: ordered Array
Replies: 41
Views: 2173

Re: ordered Array

An array with sequential numerical keys starting at 1 will emit the values in numeric key order when looping using a “repeat for each element tVal of tArray” construct.
by bwmilby
Mon Apr 13, 2020 10:23 pm
Forum: Developer Services Marketplace
Topic: Looking for Help with DataGrid or other possible solution
Replies: 6
Views: 888

Re: Looking for Help with DataGrid or other possible solution

Will your project contain more rows/columns than can be displayed on a single card? If not, then a DG is probably more than what you need.

Positioning elements inside each cell should be very easy with a behavior script that reacts to the group size change.
by bwmilby
Sun Feb 23, 2020 10:20 pm
Forum: iOS Deployment
Topic: Geometry Manager and iOS
Replies: 2
Views: 795

Re: Geometry Manager and iOS

One of my initial projects when getting into LiveCode was making GM and PM work on mobile. As I've worked on some additional projects, I'm beginning to think that in most cases using your own library or custom code would be easier. Geometry manager does work on iOS as long as you are using 9.0 or la...
by bwmilby
Wed Jan 29, 2020 1:14 am
Forum: Android Deployment
Topic: Default app Screen size in Android?
Replies: 2
Views: 936

Re: Default app Screen size in Android?

Create a button that will give you the screenrect directly from the device (or log it to a field when the stack opens). Sounds like the logical screen size is 1/2 or 1/3 actual. If that is the case, then just cut the stack dimensions to match and you will be fine. Anything vector should be rendered ...

Go to advanced search