Search found 926 matches

by bangkok
Sun May 10, 2020 11:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 10093

Re: Encryption and SQLite

Hello. A few comments, after using your stack. if you use an online SQL editor such as : https://sqliteonline.com/ You will see that the field "result" has indeed content.... Binary (but the word "salted" is clearly visible). Screen 1 If you use DB Browser for SQLite (software) "result" looks "empty...
by bangkok
Thu May 07, 2020 1:23 pm
Forum: Talking LiveCode
Topic: Shared Hosting (Solved)
Replies: 58
Views: 28770

Re: Shared Hosting

Hi, I tried using base64encode/decode to encrypt the data sent to the server from and app and vice versa. Any reason why im getting an error output? App side on mouseup ---- sending -------- set httpheaders to empty put "select * from dishes" into tSQLQuery put "query="&urlencode(tSQLQuery) into tS...
by bangkok
Tue May 05, 2020 11:51 am
Forum: Talking LiveCode
Topic: Shared Hosting (Solved)
Replies: 58
Views: 28770

Re: Shared Hosting

Do you have any comments on Bangkok’s way of establishing a secure connection? I know as compared to the API it will not be as secured but it’s still a secure way? No it's not. It was just an example to show you the mechanism. For 2 reasons : -queries sent by the app to the .lc webpage are not encr...
by bangkok
Mon May 04, 2020 2:00 pm
Forum: Talking LiveCode
Topic: Shared Hosting (Solved)
Replies: 58
Views: 28770

Re: Shared Hosting

Thanks for the codes but however does this establish a connection with the database securely so that I can perform my SELECT, INSERT and UPDATE queries? Because the main reason for this thread is for me to find a way to communicate with the database in a secure way for the benefits of security. No ...
by bangkok
Mon May 04, 2020 10:43 am
Forum: Talking LiveCode
Topic: Shared Hosting (Solved)
Replies: 58
Views: 28770

Re: Shared Hosting

I don’t get what you mean I can have a simpler system/web page to receive a POST. How do I go around doing it? In your app (Windows, MacOS or Android), create a button with this script : on mouseup set httpheaders to empty put "select * from mytable" into tSQLQuery put "query="&urlencode(tSQLQuery)...
by bangkok
Mon May 04, 2020 4:06 am
Forum: Talking LiveCode
Topic: Shared Hosting (Solved)
Replies: 58
Views: 28770

Re: Shared Hosting

Thanks for the recommendations, I have checked with hostm customer service and realise I can get the package without a domain name. I’ll probably try to use it for a month to see how it goes. How about hosting a local host website to connect with hostm services? Any idea? And also after subscribing...
by bangkok
Fri Apr 24, 2020 12:52 am
Forum: Android Deployment
Topic: Barcode scanner for android
Replies: 4
Views: 4063

Re: Barcode scanner for android

Does anyone know if there is a free barcode scanner for android? If the previous answer about the android widget (that uses the back camera of your phone to scan barcodes) is not enough : -few android terminal have built-in barcode scanner. and those equipment emulates the android keyboard. therefo...
by bangkok
Tue Apr 21, 2020 7:17 am
Forum: Mac OS
Topic: Re: Windows -> MacOS : file format ? [SOLVED]
Replies: 32
Views: 17013

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

bwmilby wrote:
Tue Apr 21, 2020 3:27 am
or simply

Code: Select all

chmod +x AppName.app/Contents/MacOS/AppName
Thank you.

And it's working now (see my first post : stack compiled on windows for mac, then directory copied onto the Mac via file sharing, and then the chmod instruction and then double click to open/launch the app).
by bangkok
Sat Apr 18, 2020 3:33 pm
Forum: Talking LiveCode
Topic: Alternatives for Web deployment
Replies: 9
Views: 4920

Re: Alternatives for Web deployment

Could Livecode Server be the proper solution ? Or a desktop app created with your LC Indy... and connected to... the web, via a dedicated and secured web server ? Afterwall... what is a "web deployment" ? :D Perhaps a mix of both. As for Livecode Server and/or the mixed solution... there are hosting...
by bangkok
Thu Apr 16, 2020 11:15 am
Forum: Internet
Topic: HTTPD library
Replies: 3
Views: 3712

Re: HTTPD library

Thanks a lot Richard for your detailed answer. I think the HTTPD Library is perfect to "fire up" quickly a little socket/web server on a local network. It's simple as well with regular Livecode commands/functions (the most complicated would be to work on the "headers"). For that matter, it would be ...
by bangkok
Wed Apr 15, 2020 12:30 pm
Forum: Internet
Topic: HTTPD library
Replies: 3
Views: 3712

HTTPD library

I've got a question regarding the new "HTTPD library" (LiveCode 9) It's super handy to create a server, with just a few lines : on mouseUp httpdStart "NewRequest", 12345, "My Server" launch url ("http://localhost:" & it) end mouseUp on NewRequest pSocketID, pRequest httpdResponse pSocketID, 200 end ...
by bangkok
Mon Apr 13, 2020 4:13 pm
Forum: Android Deployment
Topic: Sending smtp email on android device
Replies: 2
Views: 3204

Re: Sending smtp email on android device

Have you tried the new command : mimeEncodeAsMIMEEmail pBody,pFrom,pTo,pCc,pSubject,pAttachmentA ? Anyway. With LC 9.5.1, Windows 8, stack with just : mimeEncodeAsMIMEEmail pBody,pFrom,pTo,pCc,pSubject,pAttachmentA put tsNetSmtpSync(tURL, tSender, tRecipient, it, tResponseHeaders, tBytes, tSettings)...
by bangkok
Fri Apr 10, 2020 12:35 pm
Forum: Internet
Topic: Demo DropBox Library (LC 9)
Replies: 5
Views: 7930

Demo DropBox Library (LC 9)

A little stack using the DropBox Library (LC 9) (synchronous mode) to : -display all the files of your DropBox -double clic to download a file from your DropBox -upload a file to your DropBox Remember : LC's library is using "access token". You need to create an "app" in order to generate this "acce...
by bangkok
Thu Apr 09, 2020 8:35 am
Forum: Mac OS
Topic: Re: Windows -> MacOS : file format ? [SOLVED]
Replies: 32
Views: 17013

Re: Windows -> MacOS : file format ?

Err . . . How about: Code on any platform: compile on target. 8) Or . . . Never believe completely what is written on the box. :wink: Yes, I got it now ! :D As long as people know it (" compile on target "), then I believe we can live with it. As I wrote, i'm totally lost with my new MacBook Air (l...
by bangkok
Wed Apr 08, 2020 4:00 am
Forum: Mac OS
Topic: Re: Windows -> MacOS : file format ? [SOLVED]
Replies: 32
Views: 17013

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

Hello, i'm totally newbie with MacOS. I managed to connect my Windows laptop to my MacBook Air, with file sharing "SMB" Here is my question : on Windows, I compile a very simple stack for MacOS. Then I copy the whole directory to the MacBook, using SMB file sharing. When I try to launch the app on t...

Go to advanced search