Re: LC Server & Server Based Stack?

2017-01-22 Thread Rick Harrison via use-livecode
I really wish the copy to clipboard thing would have worked because it would have been a very simple solution for a personal application I wanted to work on for myself. I will endeavor to learn about sockets etc. even though that is more of a learning curve here. I would rather have found

Re: HTML5 and different editions

2017-01-22 Thread hh via use-livecode
I don't understand. Keith writes about the ability to make standalones, not about the license. I thought *every* edition of LiveCode can create HTML5 standalones? (I can't test because I have a HTML5 license). If not, that is possibly because Indy can set passwords to all standalones, what has to

Re: HTML5 and different editions

2017-01-22 Thread J. Landman Gay via use-livecode
On 1/22/17 5:07 PM, hh via use-livecode wrote: Keith M. wrote: HTML5 production is part of the LiveCode Community edition, which is fantastic. It's in the Business edition too, of course. The Indy edition, however, doesn't allow HTML5 production at all. In which version do you see this? I

Re: HTML5 and different editions

2017-01-22 Thread hh via use-livecode
Keith M. wrote: > HTML5 production is part of the LiveCode Community edition, which is > fantastic. It's in the Business edition too, of course. The Indy > edition, however, doesn't allow HTML5 production at all. In which version do you see this? I made close to all of my > 50 examples

Re: HTML5 and different editions

2017-01-22 Thread Graham Samuel via use-livecode
Makes sense to me Graham > On 22 Jan 2017, at 22:22, Keith Martin via use-livecode > wrote: > > HTML5 production is part of the LiveCode Community edition, which is > fantastic. It's in the Business edition too, of course. The Indy edition, > however, doesn't

Re: LC Server & Server Based Stack?

2017-01-22 Thread Mike Bonner via use-livecode
What richard said. Instead of the clipboard (which I suspect doesn't work because the lc server engine is not running in the same shell instance) The idea of using a file as an intermediary storage container would work, but sockets would be so much better. (Since this will be same machine

HTML5 and different editions

2017-01-22 Thread Keith Martin via use-livecode
HTML5 production is part of the LiveCode Community edition, which is fantastic. It's in the Business edition too, of course. The Indy edition, however, doesn't allow HTML5 production at all. Would it make sense to add the Community edition's capability to Indy, maybe with a nudge to encourage

Re: LC Server & Server Based Stack?

2017-01-22 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > Ok, so the server and my open LC stack are using > different engines or are different “instances”. If they > are on the same computer it seems to me that one > might be able to get the two to talk to each other > through the computer system’s clipboard in theory. > > I

Re: TextDecode JSON array

2017-01-22 Thread J. Landman Gay via use-livecode
On 1/22/17 1:26 AM, Peter TB Brett via use-livecode wrote: On 22/01/2017 03:22, J. Landman Gay via use-livecode wrote: Here's a test sample of some UTF8 I get back from a server: {"UserID":48,"UserName":"Eduardo Ba\u00f1uls","UserLoginName":"ebanu"} Hi Jacque, This is valid JSON (and also

Re: Boring but important - selling a download product for Windows

2017-01-22 Thread Graham Samuel via use-livecode
Well Roger, I agree with you - that’s why I went all the way with code signing and creating an installer. But the Norton Catch-22 ("not many people have used this software so we’re going to delete it until more people have used it…”) a small developer is in an impossible position, it seems to

Re: LC Server & Server Based Stack?

2017-01-22 Thread Rick Harrison via use-livecode
Hi Mike, Ok, so the server and my open LC stack are using different engines or are different “instances”. If they are on the same computer it seems to me that one might be able to get the two to talk to each other through the computer system’s clipboard in theory. I haven’t had much luck with

Re: could not encode class bundle

2017-01-22 Thread panagiotis merakos via use-livecode
Hi all, @bill I agree with you that sometimes the error messages are generic and not quite helpful. There is an enhancement request in BugZilla about it. @git.vb Thanks for the info. I did some investigation and this error is probably caused if you have Android API 24 Build Tools installed,

Re: could not encode class bundle

2017-01-22 Thread git.vb via use-livecode
Than you Panos, To summary the problem: He give me version not supported 52.0 while..: 1)LC show me jdk path 1.7.0_80 2) CMD show me 1.7.0_80 3)JAVA_HOME point to 1.7.0_80 So where he find this 52.0? It must be at least 51.0 Not 52.0 In other hand I saw in LC website that LC can run even

Re: could not encode class bundle

2017-01-22 Thread git.vb via use-livecode
Thank you panos, I have a stack trace with UnsupportedClassVersionError in com.android.dx.command.Main "Unsupported major.minor version 52.0 at at at sun.launcher.LanuncherHelper.checkAndLoadMain(LauncherHelper.java:482)"

Re: could not encode class bundle

2017-01-22 Thread prothero--- via use-livecode
Pianos, This kind of error message seems so useful that I wonder why it isn't in the IDE by default. One thing that I could wish for is more error messages and/or help for folks going through the app building process. Like, why isn't there an error message that warns the developer that they are

Re: could not encode class bundle

2017-01-22 Thread panagiotis merakos via use-livecode
My guess is that this error is related to the Android SDK. Which version of Android SDK Build Tools have you installed? To find the exact error, you can do the following: 1. Type in the msg box "edit the script of stack revsaveasandroidstandalone" 2. In the script editor window that just opened,

Re: could not encode class bundle

2017-01-22 Thread Mike Bonner via use-livecode
Does the error message happen to mention aapt.exe? On Sun, Jan 22, 2017 at 7:37 AM, git.vb via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all, > > Why is so difficult to make a simple android app? > > Why I get every time this error? What I need? To download all source > code and

Re: TextDecode JSON array

2017-01-22 Thread Trevor DeVore via use-livecode
On Sun, Jan 22, 2017 at 1:26 AM, Peter TB Brett via use-livecode < use-livecode@lists.runrev.com> wrote: > On 22/01/2017 03:22, J. Landman Gay via use-livecode wrote: > >> Here's a test sample of some UTF8 I get back from a server: >> >> {"UserID":48,"UserName":"Eduardo

Re: Boring but important - selling a download product for Windows

2017-01-22 Thread Roger Eller via use-livecode
I tend to disagree with the consensus to use zip files on Windows. Nothing screams UNPROFESSIONAL more than not having an installer that is standard for the platform you are installing to. ~Roger On Jan 22, 2017 8:06 AM, "Richmond Mathewson via use-livecode" < use-livecode@lists.runrev.com>

could not encode class bundle

2017-01-22 Thread git.vb via use-livecode
Hi all, Why is so difficult to make a simple android app? Why I get every time this error? What I need? To download all source code and debug it by myself? Why who did this message "could not encode class bundle" was not thinking to set a more useful message? Current environment: Win 7-64 Java

Re: Boring but important - selling a download product for Windows

2017-01-22 Thread Richmond Mathewson via use-livecode
How about downloading a zip file from a DropBox account? Richmond. On 1/22/17 2:59 pm, Graham Samuel via use-livecode wrote: Just to report on how this method worked for me: I chose to have a web page from which the zipped file is downloaded. This worked fine, but not without warnings. The

Re: Boring but important - selling a download product for Windows

2017-01-22 Thread Graham Samuel via use-livecode
Just to report on how this method worked for me: I chose to have a web page from which the zipped file is downloaded. This worked fine, but not without warnings. The browser of choice, Chrome, offered to discard the file, but this was easy to ignore; then either when the zipped file was an

Re: Boring but important - selling a download product for Windows

2017-01-22 Thread Graham Samuel via use-livecode
Thanks Scott - it’s great to think that I might have helped someone, even if only indirectly! Graham > On 22 Jan 2017, at 05:55, Scott Morrow via use-livecode > wrote: > > Graham, I'm glad you've been "wittering on". I code signed my first Mac > application

Re: Boring but important - selling a download product for Windows

2017-01-22 Thread Graham Samuel via use-livecode
Richmond, yes I can see that this is a good method if you are going to have very few customers. I would be surprised though if on a PC with Norton (and maybe other so-called virus checkers, I don’t know) if the user didn’t get some kind of squawk somewhere along the line, if not from Norton

Re: Using LC server to check for existence of mp3 on our web server?

2017-01-22 Thread Mike Bonner via use-livecode
Nice answer, thx for posting it. On Sun, Jan 22, 2017 at 4:13 AM, Tim Selander via use-livecode < use-livecode@lists.runrev.com> wrote: > Phil and Mike, Thanks for your pointers -- both look like they will work. > Also in continuing to poke around the web, I also found this function that >

Re: Using LC server to check for existence of mp3 on our web server?

2017-01-22 Thread Tim Selander via use-livecode
Phil and Mike, Thanks for your pointers -- both look like they will work. Also in continuing to poke around the web, I also found this function that works: function qrtHTTP_FileExists pURL breakpoint local tSocket, tPath, tHeaders, tCommand set the itemDelimiter to "/" -- extract host IP

Re: Using LC server to check for existence of mp3 on our web server?

2017-01-22 Thread Mike Bonner via use-livecode
If you have php on your second server, and don't have lc, you can do a check with php similar to what you're talking about. This is untested but.. If you have the following php file (perhaps named checkforfile.php) on the alternate server, and send it a get request containing the path to the

Re: Using LC server to check for existence of mp3 on our web server?

2017-01-22 Thread Phil Davis via use-livecode
Hi Tim, Here is a very simplistic way of checking for a file on your server. It assumes your mp3 files are in a 'programs' folder that resides in the 'document root' folder. This script as it is here would be in a .lc file on your server. You pass it a filename in the url and it tells you if

Re: Boring but important - selling a download product for Windows

2017-01-22 Thread AndyP via use-livecode
I use FastSpring as well..great system. I've also had the same problem with Windows installers downloads and now always zip exe files...it just works! - Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for

Re: Boring but important - selling a download product for Windows

2017-01-22 Thread Richmond Mathewson via use-livecode
Here's Richmond, the retro, reactionary pain in the b., and the way he sells software: First caveat: I do not sell my software in large quantities (anyone for Sanskrit?). Having "played" with the demo a potential customer has to contact me, and then put the fee into my PayPal account. The