Search found 904 matches

by bangkok
Thu Jul 09, 2020 5:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Arrays with Android
Replies: 2
Views: 105

Re: Arrays with Android

Thoughts ? You made a little mistake somewhere :D I do use global arrays with android apps. no problem. To be sure : create a simple stack with just 1 global array, and 1 button to write it, and 1 button to read it. and compile for Android. Idea 2 : change your current stack. Do not set up the array...
by bangkok
Thu Jun 25, 2020 5:20 pm
Forum: Internet
Topic: mp3 Download via tsnetgetSync
Replies: 2
Views: 255

Re: mp3 Download via tsnetgetSync

Perhaps you should try :

Code: Select all

   put tData into URL ("binfile:/home/michael/test.mp3")
(binfile = binary file)

I do not see how the tsNetGetSync command could "reduce" the quality of a downloaded file (mp3 or any other type of file).
by bangkok
Wed Jun 24, 2020 8:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: First Time Android Woes
Replies: 4
Views: 286

Re: First Time Android Woes

INCLUSIONS You checked "MySQL". Just to be sure : have you checked as well the line "database", bellow ? STEP2 Replace put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult with put "hv-par5-031.clvrcld.net" into tDatabaseAddress put revOpenData...
by bangkok
Tue Jun 09, 2020 8:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Trouble Writing to a Google Sheet
Replies: 26
Views: 1097

Re: Trouble Writing to a Google Sheet

Try to add

Code: Select all

libUrlSetSSLVerification false
before your POST

(notice that the URL has "https")

Which version of LC do you use ?
by bangkok
Mon Jun 08, 2020 12:29 pm
Forum: Internet
Topic: Get FileList on Remote PC via SFTP
Replies: 24
Views: 1437

Re: Get FileList on Remote PC via SFTP

The new version of tsNet available here :

https://quality.livecode.com/show_bug.cgi?id=22638

solves the problem (tested on Windows 10)

Bug report here :

https://quality.livecode.com/show_bug.cgi?id=22746
by bangkok
Sat Jun 06, 2020 3:04 pm
Forum: iOS Deployment
Topic: My app is smaller with Livecode 9.6 !
Replies: 7
Views: 533

Re: My app is smaller with Livecode 9.6 !

Code: Select all

on preopenstack
  set the fullscreenmode of this stack to "show all"
end preopenstack

It should be

Code: Select all

on preopenstack
  set the fullscreenmode of this stack to "showAll"
end preopenstack
no space.
by bangkok
Fri Jun 05, 2020 10:48 am
Forum: Off-Topic
Topic: A small PR rant
Replies: 12
Views: 805

Re: A small PR rant

I concur with "examples/demos". Much better than any "lessons" even with screenshots. Stacks that focus on a theme (datagrid, SQLlite DB, sending email, resizing, scrolling, interface tricks with drag and drop, etc.) and stuff inside. Several cards. I did that with datagrid for instance : http://for...
by bangkok
Tue Jun 02, 2020 12:41 pm
Forum: CGIs and the Server
Topic: rest api call example on livecodeserver
Replies: 6
Views: 341

Re: rest api call example on livecodeserver

Ok, HostM is fast. :D

So yes it's possible to get LC Server Indy.

"To proceed with this, simply email a copy of your LiveCode Indy receipt to clientcare.7883119@hostm.com and we will be able to upgrade your hosting account for you."
by bangkok
Tue Jun 02, 2020 10:28 am
Forum: CGIs and the Server
Topic: rest api call example on livecodeserver
Replies: 6
Views: 341

Re: rest api call example on livecodeserver

keliko wrote:
Tue Jun 02, 2020 7:16 am
tsnet can use livecode server?
Oops. It seems... no (on HostM)

I did a :

put tsNetVersion()

error message...

I just opened a ticket to ask.
by bangkok
Tue Jun 02, 2020 5:54 am
Forum: CGIs and the Server
Topic: rest api call example on livecodeserver
Replies: 6
Views: 341

Re: rest api call example on livecodeserver

Pseudo code : and provided you have the string {"username":"cooldude6","password":"p_n7!-e8","phone":"415-392-0202"} in tPostData put "X-Parse-Application-Id: APPLICATION_ID"&cr into tHeader put "X-Parse-REST-API-Key: REST_API_KEY"&cr after tHeader put "X-Parse-Revocable-Session: 1"&cr after tHeader...
by bangkok
Tue Jun 02, 2020 3:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Packaging a Standalone
Replies: 8
Views: 364

Re: Packaging a Standalone

InnoSetup (windows)

Perfect to create "install packages".

http://www.jrsoftware.org/isinfo.php
by bangkok
Tue Jun 02, 2020 1:28 am
Forum: Android Deployment
Topic: Android BarCode Scanner Widgets not working
Replies: 17
Views: 777

Re: Android BarCode Scanner Widgets not working

Just to be sure, try this apk. -created with a simple stack (LC Indy 9.6) -with just 1 barcode scanner widget -and a script to display the data scanned On my Samsung phone (android 7.1.1), it reads any barcode, included QR code, even on a computer screen like https://www.unitag.io/fr/qrcode https://...
by bangkok
Sun May 31, 2020 8:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Load an SQLite database into a data grid table
Replies: 2
Views: 209

Re: Load an SQLite database into a data grid table

Start with the basics : http://lessons.livecode.com/m/4069/l/565718-how-to-create-and-use-an-sqlite-database http://lessons.livecode.com/m/4071/l/7003-connecting-to-a-mysql-database Next step : put the data into datagrid. http://lessons.livecode.com/m/datagrid/l/7309-how-do-i-populate-a-data-grid-wi...
by bangkok
Sun May 31, 2020 2:00 am
Forum: Android Deployment
Topic: Barcode Scanner Widget issue
Replies: 5
Views: 379

Re: Android BarCode Scanner Widgets not working

I am developing an android application that needs to read the information from a QR Code. I am using the Android Barcode Scanner widgets, it lifts the camera well inside the application but it does nothing, the barcodeDetected messages do not run. See : https://quality.livecode.com/show_bug.cgi?id=...
by bangkok
Sun May 31, 2020 1:59 am
Forum: Android Deployment
Topic: Android BarCode Scanner Widgets not working
Replies: 17
Views: 777

Re: Android BarCode Scanner Widgets not working

Which version of LC do you use ?

A bug related to QR Code was fixed recently in LC 9.6 dp 4

Bug report here :
https://quality.livecode.com/show_bug.cgi?id=22609

So that' s the first thing to check.

Go to advanced search