Re: Anyone using Livecode Server for sending PushNotifications?

2014-09-25 Thread John Craig
Hi, Matthias. Here's an old message on the subject.. http://article.gmane.org/gmane.comp.ide.revolution.user/175914/ the files mentioned in the post have been renamed to .lcx as LiveCode Server is now running on that machine. On 25/09/2014 08:21, Matthias Rebbe | M-R-D wrote: Hi, i am ne

Re: Does LC Have A touchLoc() Function?

2014-09-22 Thread John Craig
The last time I checked, a touchMove was always fired after a touchStart (so you can reliably pick up the initial position). TouchMove events can then track each individual touch id. I think mouseLoc always reported the position of the first touch. On 21/09/2014 21:09, Scott Rossi wrote: Do

Re: Usng an image to "disable" a group

2014-09-22 Thread John Craig
Hi, Pete. Try setting the group's traversalOn property to false when you cover it with the image. Does that solve the problem? On 20/09/2014 17:20, Peter Haworth wrote: I have a stack with a series of groups on it. I need to control the order in which data is entered into the groups. The o

Re: revDataFromQuery and DELETE FROM

2014-08-18 Thread John Craig
Peter's correct - use revExecuteSQL since no records are returned On 17/08/2014 19:20, Peter Haworth wrote: Hi Dan, What is the text after "revdberr"? Strange that the row is being deleted but here's a couple of things that come to mind. You've probably already checked that tTableName and ent

Re: Standard Library

2014-08-12 Thread John Craig
Agree - matchText and matchChunk would both benefit from the ability to specify an array to fill with matches - we don't always know exactly how many will appear .. http://quality.runrev.com/show_bug.cgi?id=11391 On 12/08/2014 02:12, Peter Haworth wrote: I've always kinda thought the return v

Re: delete specified text?

2014-07-23 Thread John Craig
Try; replace "Specific word" with empty in line X of fld "Y" I t would be rather jolly if delete "Specific word" from line X of fld "Y" could be implemented. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: Pending messages

2014-07-14 Thread John Craig
uy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/14/2014 11:34, John Craig wrote: Using Mark's example, another possible option is make the custom property a condition for the repeat;

Re: Pending messages

2014-07-14 Thread John Craig
Using Mark's example, another possible option is make the custom property a condition for the repeat; repeat until KK = 25 or the cClicked of btn "Cancel" is true set the vis of btn "B" to false wait 20 ticks with messages set the vis of btn "B" to true wait 20 ticks with mes

Re: Problem with filter and regex

2014-07-10 Thread John Craig
Which item delimiter are you using? For example, if it's a TAB, maybe you can specify a pattern ending with a tab, but disallowing any further tabs.. On 10/07/2014 14:42, Magicgate Software - Skip Kimpel wrote: I think I have found the cause of the issue, now I need to figure out how to solv

Re: [on-rev] libURL and https

2014-07-09 Thread John Craig
Hi, Scott. I couldn't post to an https URL with on-rev the last time I tried, but the workaround was to use wget via shell. The example below is for android push notifications and shows how to send headers as well as the post data. put "wget" && \ "--header=" & quote &

Re: Learning about server

2014-06-30 Thread John Craig
That looks like a pretty cool project ;) On 30/06/2014 04:04, RunRevPlanet wrote: Hi, I too love what can be done in LiveCode server. I have been busy working on a Web App development tool based around LiveCode Community Server for the past months. I hope to have the Beta up and running soon.

Re: LiveCode Server: start session problem

2014-06-26 Thread John Craig
imon Smith wrote: Hi John I am running the latest version - linux and windows and sessions are working fine for me. whats happening when you use start session ? Simon On Thu, Jun 26, 2014 at 1:12 PM, John Craig wrote: I decided to add some session code to my server project, but the followi

Re: Learning about server

2014-06-26 Thread John Craig
My take#2 at the url validation caused the uppercase problem. I've just updated it to take#3 - uppercase letters are welcome! Problem is I don't use regular expressions that often, so I get rusty - may take another few tweaks yet, but fingers crossed :) On 26/06/2014 12:41, Dave Kilroy wrote

Re: LiveCode Server: start session problem

2014-06-26 Thread John Craig
Simon Smith wrote: Hi John I am running the latest version - linux and windows and sessions are working fine for me. whats happening when you use start session ? Simon On Thu, Jun 26, 2014 at 1:12 PM, John Craig wrote: I decided to add some session code to my server project, but the follow

Re: LiveCode Server: start session problem

2014-06-26 Thread John Craig
took a punt on 6.7.0 DP4 - same problem . On 26/06/2014 12:12, John Craig wrote: I decided to add some session code to my server project, but the following command causes an error on 6.6.1 on Linux (community and commercial); start session LC 6.6.2 had another problem, which is why I

LiveCode Server: start session problem

2014-06-26 Thread John Craig
I decided to add some session code to my server project, but the following command causes an error on 6.6.1 on Linux (community and commercial); start session LC 6.6.2 had another problem, which is why I rolled back to 6.6.1. I've now also tried 6.6.0 and 6.5.2 - 'start session' also bombs th

Re: Learning about server

2014-06-26 Thread John Craig
not valid when using 8up.uk <http://elementarysoftware.com/beta/this=that/this=that-beta.html> And count me as interested in any LC Server book. — Scott Morrow On Jun 25, 2014, at 2:19 PM, John Craig wrote: ___ use-livecode mailing list use-live

Re: Learning about server

2014-06-25 Thread John Craig
rtened URL... Powered by LiveCode Community Server" It would hilite the URL, "http://8up.uk/M"; but not copy it. ~Roger Sent from my Android tablet On Jun 25, 2014 5:19 PM, "John Craig" wrote: I've created a url shortening service with LC server that I want to wr

Re: Learning about server

2014-06-25 Thread John Craig
ets reported as not valid when using 8up.uk <http://elementarysoftware.com/beta/this=that/this=that-beta.html> And count me as interested in any LC Server book. — Scott Morrow On Jun 25, 2014, at 2:19 PM, John Craig wrote: I've created a url shortening service with LC server that I

Re: Learning about server

2014-06-25 Thread John Craig
x of things to get it up and running - and I'll also add a captcha image to prevent robots... http://8up.uk On 10/06/2014 10:56, John Craig wrote: Any areas in particular that interest you? I was speaking to someone recently about writing a book on LC server - not sure how much interest

Re: SQL Join question

2014-06-21 Thread John Craig
I really should have started with '0, field2' in the example below - assuming field 1 is the primary key.. If you have an auto incrementing primary key 'id' as the first field in both tables... INSERT INTO tableA SELECT 0, field1, field2, field3, etc... FROM tableB _

Re: SQL Join question

2014-06-21 Thread John Craig
What database are you using? The following should work with MySL (and maybe others) If tableA was empty or both tables didn't have any overlapping primary key values, then this would work, but I'm assuming there's a primary key in there that would mess things up. INSERT INTO tableA SELECT *

Re: Nested Repeat loops

2014-06-21 Thread John Craig
You could wrap the repeats in a try structure - stick the following script in a button... on mouseUp try repeat with i = 1 to 10 repeat with j = 1 to 10 repeat with k = 1 to 10 put i && j && k wait for 2 millisecs with messages

Re: Handlers for reading/writing image density info in PNG/JPEG?

2014-06-13 Thread John Craig
Hi, Trevor. Check out http://splash21.com/downloads/sQuiRtGPL.zip There's a function in the library for creating PNG images and also the required functions for deflate compression and crc32 checksums - maybe those will help you getting started on the PNG side of things. :) On 12/06/2014 18

[ANN] MobGUI V1.27

2014-06-11 Thread John Craig
Now iOS distribution files can be automatically created and copied to a remote server after build with scp, ftp, sftp, etc. Android file transfer will be added next. http://forums.livecode.com/viewtopic.php?f=54&t=20747 ___ use-livecode mailing list u

Re: Learning about server

2014-06-11 Thread John Craig
Don't be sad - the reason for posting the topics was for feedback :D The security topic would appear naturally when talking about logging in, etc. (but a dedicated topic would be possible). A few examples that work nicely with LC... SSL connections for encrypting all traffic to/from browser

Re: Learning about server

2014-06-11 Thread John Craig
That's a pretty cool reference site - nice! B) On 10/06/2014 20:02, Simon Smith wrote: Hi Richard I would be happy to contribute to LCJ and it will be interesting to see what you have setup. Writing a book would be a mammoth task - and I for one, would not be certain just how large a target m

Re: Learning about server

2014-06-10 Thread John Craig
: Learning about server Hi John,, I would pre-order! Best regards, Marc Op 10-jun.-2014, om 11:56 heeft John Craig het volgende geschreven: Any areas in particular that interest you? I was speaking to someone recently about writing a book on LC server - not sure how much interest there would be

Re: Learning about server

2014-06-10 Thread John Craig
I wasn't thinking about writing "the big book of everything you can conceivably do with LiveCode Server" :D More like "The Hitchhiker's Guide To LiveCode Server"... with some suitably large, friendly message on the cover ... I still buy books - I'd rather leaf through a hard copy after staring

Re: Learning about server

2014-06-10 Thread John Craig
Any areas in particular that interest you? I was speaking to someone recently about writing a book on LC server - not sure how much interest there would be, but here is the current list of possible topics; Basic .lc server scripts Sessions Basic logging in and out with sessions SQL primer Serv

Re: [ANN] MobGUI V1.26

2014-06-09 Thread John Craig
QCC bug 12614 http://quality.runrev.com/show_bug.cgi?id=12614 On 07/06/2014 21:23, Colin Holgate wrote: With this version, how do you create a nav bar that has a title, or a tab bar that has buttons in it? I only seem to be able to make gray rectangles. Also, the browser object seems not to l

Re: [ANN] MobGUI V1.26

2014-06-09 Thread John Craig
Browser loads url OK for me in LC6, but not 7 - which I assume is an LC bug as it's the exact same code in the behavior for the control - I'll check it out today and file a QCC. The main fix was that the plugin actually runs in LC7. I don't think the any of the native controls are created pro

[ANN] MobGUI V1.26

2014-06-07 Thread John Craig
MobGUI >= 1.25 is now working with all versions of LC6/7 (community and commercial). The option to create an ipa file alongside the app when building for iOS has been added. This was in an old separate iOS plugin with some other useful functions, which should also make their way into MG shortl

Re: [ANN] Full justification for fields

2014-05-25 Thread John Craig
I've just uploaded 2 new versions. The first has a slight performance tweak (which fixes a bit of sloppy programming!) and may save a few cycles when processing larger amounts of text. The second upload uses the offset function instead of the charIndex property, so will will work with the LC

[ANN] Full justification for fields

2014-05-23 Thread John Craig
Thanks to Dave Kilroy for sharing the work around and the generosity of Mark Stephens of Simulytics for donating the code back to the LiveCode community, a new function is available to fully justify LiveCode text fields. LiveCode version >= 6.5 is required as it uses the measureText function wh

Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread John Craig
configured, then you will only see the include… command and not the content of the complete "confidential" script. Regards, Matthias Am 22.05.2014 um 10:01 schrieb John Craig : A server .lc file is parsed by the server and only it's output is ever sent to the browser (not the

Re: Making the content of LC Server Scripts Safe

2014-05-22 Thread John Craig
A server .lc file is parsed by the server and only it's output is ever sent to the browser (not the source code), so the code is safe :) On 22/05/2014 05:31, Nakia Brewer wrote: Afternoon all, As I venture down the road of learning what the wonders of LC Server scripts can do I find myself

Re: New chunks

2014-03-13 Thread John Craig
Will point 4 - 'part' synonym break anything that already uses 'part' as a synonym of 'control'? I've only got one project that uses this keyword - not a big deal for me to change it, but others may have more substantial work to change. On 13/03/2014 16:54, Benjamin Beaumont wrote: Dear lis

Re: [ANN] MobGUI V1.22 and SVG icon files

2014-02-17 Thread John Craig
After testing on a few different devices, the carousel has been updated to be more responsive. V1.24 seems much more useable - tested on iPhone4, iPad3 and low res android tablet so far. If anyone else has feedback, feel free to mail, etc. TIA! On 13/02/2014 21:26, John Craig wrote: I&#x

Re: 3D Raycasting in LiveCode?

2014-02-17 Thread John Craig
Brilliant demo, Scott - runs very nicely on a 2010 MBP :D On 17/02/2014 13:27, LiveCode Feeds wrote: Hi, I have been experimenting with raycasting algorithms in LiveCode. (To see if it can be done at a reasonable frame rate, and to learn about raycasting at the same time.) There is now a demo

Sound effects causing iOS apps to stutter

2014-02-14 Thread John Craig
Best, ~ Ender ---- From: John Craig John Craig <mailto:j...@splash21.com> Reply: John Craig j...@splash21.com <mailto:j...@splash21.com> Date: February 14, 2014 at 16:17:42 To: How to use LiveCode use-livecode@lists.runre

Re: [ANN] MobGUI V1.22 and SVG icon files

2014-02-14 Thread John Craig
I had a look and it's pretty cool with the clicking ;) I wonder if it was modified so that the images were rotated as they move around the carousel if a roulette wheel could be created. On 14/02/2014 13:25, Ender Nafi Elekcioglu wrote: I want to barge in here and say that I’ve added click

Re: [ANN] MobGUI V1.22 and SVG icon files

2014-02-14 Thread John Craig
Hi, Ender - it's GPL - you're free to do anything to it ;) You can sell your version with sounds if you like!! (I'm just happy that it's getting a 'thumbs up') I'd like to get some more animated controls added - the pie isn't far away... http://youtu.be/4HBlpOch3lE On 14/02/2014 13:25, Ender

Re: [ANN] MobGUI V1.22 and SVG icon files

2014-02-14 Thread John Craig
Just noticed two stray puts in the carousel behavior script: lines 255 & 309. I'll make sure those are removed for the next update. On 13/02/2014 21:26, John Craig wrote: I've updated MobGUI to V1.22 - it now has a palette to set up the carousel control. There's a short

Re: [ANN] MobGUI V1.22 and SVG icon files

2014-02-14 Thread John Craig
Hi, Ender - sorry for the confusion. Yes, V1.22 is available to download with the carousel control. The old plugin had an unlimited free trial to let you evaluate it - so you never had to buy a license unless it met your needs. Since the new plugin isn't password protected, it never had a fr

[ANN] MobGUI V1.22 and SVG icon files

2014-02-13 Thread John Craig
I've updated MobGUI to V1.22 - it now has a palette to set up the carousel control. There's a short video demonstration at http://youtu.be/R1LOomoJSbU I've also added another download to www.mobgui.com - the SVG icon files used to create the mobguicons fonts. For more info : http://forums.run

Re: Defining Pet Features and Essentials

2014-02-11 Thread John Craig
Have you tried 'load URL' on mobile? For non blocking downloads? Sent from my iPhone > On 12 Feb 2014, at 03:17, Ender Nafi Elekcioglu wrote: > > Gerry hi, > > Apparently I couldn’t express myself clearly, > please excuse my lack of linguistic proficiency. > > By *updating UI*, I didn’t mean

[ANN] MobGUI V1.2 and demo version

2014-02-08 Thread John Craig
The MobGUI plugin has been updated to V1.2 and there's now a demo version available for download. The plugin also comes bundled with mobguicons - royalty free icon fonts to use in your projects. See www.mobgui.com and the MobGUI forum (http://forums.runrev.com/viewforum.php?f=54) for more deta

Re: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces

2014-01-29 Thread John Craig
( Just remember that \w will include certain punctuation ;) ) On 29/01/2014 16:25, Ender Nafi Elekcioglu wrote: Thierry, John; Thank you very much, both work just fine. Inspecting your solutions, I’ve found my stupid mistake, btw. This was what I was trying: “[^\W- ]” which should be obviou

Re: RegEx for Removing Non-Ascii Chars Except Certain Whitespaces

2014-01-29 Thread John Craig
When you say 'non-ascii' do you mean non alphanumeric? if tData contains your string then.. put replaceText(tData, "[^[:alnum:]- ]", "") will replace anything that isn't alphanumeric, dash or space with blnk. :) On 29/01/2014 15:00, Ender Nafi Elekcioglu wrote: Hi all, I’m a little embarr

Re: Just confirming, groups themselves don't receive mouse messages, right?

2014-01-29 Thread John Craig
I've used a button sized to fill the group and style set to transparent to catch the mouse events.. On 29/01/2014 14:13, Geoff Canyon wrote: I was experimenting with groups, and it appears the group itself doesn't directly receive mouseEnter, mouseMove, etc. If mouse messages are sent to an o

Re: How to Reset ID's of Controls

2014-01-27 Thread John Craig
Hi, Ender. The ID's will still increase as the app runs - same as in the development environment, but when the app is restarted, the original stack will be loaded and the ID's will start again from their original values. On 27/01/2014 13:18, Ender Nafi Elekcioglu wrote: Alan hi, About seco

Re: [OT] boasting

2014-01-16 Thread John Craig
Well done - looks like you've put a hell of a lot of work into it! I imagine you're now like Neo from the film "The Matrix" : you don't see real people or objects any more, but everything just appears as continually updating, green, animated Sanskrit text! On 15/01/2014 18:09, Richmond wrote:

Re: Using sockets

2014-01-14 Thread John Craig
Hi, Pete. If client A connects to server:10100 from 192.168.0.10:12345, then the server can send a response back to client A through 192.168.0.10:12345. Each client that connects to the server can be identified and communicated with in the same way : via the ip:port that they used to send the

Re: SQL (this AND that), OR (that AND theOther)

2013-10-08 Thread John Craig
For clarity, can you post the entire query? On 08/10/2013 21:52, Roger Eller wrote: Having some SQL query troubles... I need to get results from a long list in a single query, BUT there are pairs of fields that must match. Every pair is a unique pair, aka no duplicates. If my list contains

Re: [on-rev] no more SSH login?

2013-08-31 Thread John Craig
Have you switched to a new server? I was switched to pancake a while ago and had to delete the old host details from my .ssh/known_hosts file. The SSH service is still running fine on pancake. On 31/08/2013 06:36, Phil Davis wrote: Hi folks, The last few times I have tried to SSH into an on-r

Re: Sprite Kit, Box2D, Performance and LiveCode's Approach to Game Coding

2013-08-21 Thread John Craig
(Use the arrow keys (or A,W,S,D) to control the buggy and the return key to switch camera angle) On 21/08/2013 12:26, John Craig wrote: I'm also interested in creating games with LiveCode and looking forward to box2d integration. I've been checking out Corona and (more recently) -

Re: Sprite Kit, Box2D, Performance and LiveCode's Approach to Game Coding

2013-08-21 Thread John Craig
I'm also interested in creating games with LiveCode and looking forward to box2d integration. I've been checking out Corona and (more recently) - Unity (3D), to familiarize myself with physics stuff. It makes a massive difference having a physics engine taking care of collisions, gravity, etc

Re: Pilots required

2013-07-03 Thread John Craig
I have just updated it with the latest version :) On 03/07/2013 21:53, Mark Talluto wrote: On Jul 3, 2013, at 10:38 AM, John Craig wrote: The current client stack is available at https://drive.google.com/folderview?id=0B_yStO6pph2XWjZDUEtmZmMzTEk&usp=sharing Shows as an empty folder

Re: Pilots required

2013-07-03 Thread John Craig
tes the data to the other clients? Or are the positions coming from the server and the clients are displaying those positions? This is all very interesting. Best regards, Mark Talluto canelasoftware.com On Jul 3, 2013, at 3:53 AM, John Craig wrote: Thanks, Mark. LiveCode is continuing

Re: Pilots required

2013-07-03 Thread John Craig
wn); http://youtu.be/nFEwaEO3zbc We also tried at x3 speed - which was just ridiculous... On 02/07/2013 16:34, Mark Talluto wrote: This is a pretty cool example of what can be done in LC for gaming. Nice work John. Best regards, Mark Talluto canelasoftware.com On Jun 29, 2013, at 9:5

Pilots required

2013-06-29 Thread John Craig
I've been doing some multi player game testing with LiveCode - if anyone is interested in a test game sometime to report on how well the client stack runs and the server app runs with more players connected, then drop me a line off list. Here's a video of a dog fight between myself and Dixie;

Re: revHookBuildScriptEditorContextMenu

2013-06-29 Thread John Craig
dling. Hope I'm wrong but don't think so :-) Pete lcSQL Software <http://www.lcsql.com> On Fri, Jun 28, 2013 at 1:24 PM, John Craig wrote: Hi, Pete. As long as you pass the message, the other frontscripts will also receive the message, so you're not limited. John. On 28

Re: revHookBuildScriptEditorContextMenu

2013-06-28 Thread John Craig
Hi, Pete. As long as you pass the message, the other frontscripts will also receive the message, so you're not limited. John. On 28/06/2013 19:54, Peter Haworth wrote: I would like to use the above to add some items to the script editor contextual menu but I see from a recent discussion that

Re: [ANN] More GPL MobGUI

2013-04-25 Thread John Craig
NavBar glitch fixed, iOS native scroller added. You can delete the rectangle and label from inside the scroller when you drag it on to your stack - they are there so that the group can be resized and moved around without being locked and not auto resize down to 0! When you are happy with the p

Re: [ANN] More GPL MobGUI

2013-04-25 Thread John Craig
Holgate wrote: How are things with the Android native controls? The nav bar had a small gap above it when I double clicked, but that was with a stack that wasn't a valid iOS size. Once the stack was iPhone size the bar filled in correctly. On Apr 25, 2013, at 2:55 PM, John Craig

[ANN] More GPL MobGUI

2013-04-25 Thread John Craig
I've added some more controls to the new open source (rewritten for LC6) MobGUI, including the native iOS browser. If all goes well, the rest of the native controls should slot in pretty easily. Feel free to give it a poke with your sharpest LC stick and let me know if it behaves itself. ht

Re: GCM Push

2013-04-22 Thread John Craig
Hi, Tom. The parameter sent to pushNotificationRegistered is the same as mobileGetDeviceToken(). John. On 22/04/2013 17:56, Thomas McGrath III wrote: Simple question: Is the mobileGetDeviceToken() returned the same as the tSignature that is returned when using on pushNotificationRegistered

Re: on-rev: THOR server problem

2013-04-19 Thread John Craig
Yes - looks like Thor hit his thumb with his hammer today and decided to take the rest of the day off! :( On 19/04/2013 16:32, Ralph DiMola wrote: Anyone else having problems? (Again) I did not see a maintenance notification. Ralph DiMola IT Director Evergreen Information Services rdim...@ev

Re: Saving into invisible folders ?

2013-04-15 Thread John Craig
I've not seen this before; specialFolderPath(".myMuck") Does it work if; specialFolderPath("Home") & "/.myMuck" ? Sent from my iPhone On 16 Apr 2013, at 06:48, Richmond wrote: > specialFolderPath(".myMuck") ___ use-livecode mailing list use-liveco

Re: on-rev: THOR server problem

2013-04-13 Thread John Craig
Thor has been on and off for a while - tonight is especially laggy :( On 14/04/2013 00:06, Nicolas Cueto wrote: Anyone else on on-rev's THOR server experiencing very long delays? cPanel can connect somewhat after the delay, but web-pages are only returning error messages. -- Nicolas Cueto

Re: The "last" group

2013-04-13 Thread John Craig
Worth a try; set the name of the owner of the last group to "grpA" Sent from my iPhone On 13 Apr 2013, at 21:15, Peter Haworth wrote: > I think I ran into this a couple of years back but don't remember what the > workaround is. > > In some cases,, "the last group" does not return a reference

[ANN] Open source MobGUI iOS controls - first draft

2013-04-13 Thread John Craig
A while ago I started rewriting some controls to use the new before and after behavior handlers. The results are custom controls with no library code in their scripts - I think it's a lot cleaner. The link below is to the first draft. The library is a one button palette. Just use the button t

Re: What's the best way to store data that one iOS app sends to another?

2013-04-07 Thread John Craig
checked ? -- Alex. On 07/04/2013 14:10, John Craig wrote: I don't rely on SSL - to avoid any potential hassles with Apple's app store - "Does your application use encryption?". The scheme I did use will work happily with SSL, if the data is sensitive, and without, for rou

Re: What's the best way to store data that one iOS app sends to another?

2013-04-07 Thread John Craig
I've been using the push notification device token to store device specific data - works pretty well. On 07/04/2013 16:35, tbodine wrote: Hi John. Speaking of Apple App Store restrictions, I see May 1 changes will restrict UDID use. Any plans yet to deal with that? see apple-to-deny-apps-usi

Re: What's the best way to store data that one iOS app sends to another?

2013-04-07 Thread John Craig
I don't rely on SSL - to avoid any potential hassles with Apple's app store - "Does your application use encryption?". The scheme I did use will work happily with SSL, if the data is sensitive, and without, for routine app data, game data, etc. As an example, my requests to the server contain;

Re: What's the best way to store data that one iOS app sends to another?

2013-04-06 Thread John Craig
I've been using LC on an on-rev server and a MySQL database for such tasks - I like the fact that the client and server bits can all be coded with LC :) You'll find MySQL on just about every hosting package, so it's usually a safe bet for choice of database. On 06/04/2013 18:10, Geoff Canyon

Re: Android push notifications

2013-03-31 Thread John Craig
ailed information than that anywhere else. Bernard On Sun, Mar 31, 2013 at 9:29 PM, John Craig wrote: I've not managed to get a badge or sound for android push notifications. Looking through the GCM developer docs, I haven't even found any reference to them yet, so I'm wondering if th

Re: Android push notifications

2013-03-31 Thread John Craig
John, Does the badge and sound works in using this way ? Thanks and Best Regards, Pierre Le 31 mars 2013 à 15:44, John Craig a écrit : ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Android push notifications

2013-03-31 Thread John Craig
Now that I've tested with the pushNotificationReceived message, this update delivers the payload data; # data element of notification put "New updates available" into tDataA["title"] put "There are 3 new updates..." into tDataA["body"] put tDataA["body"] into tDataA["alert"] put 3

Re: Android push notifications

2013-03-30 Thread John Craig
'sound' => 'default' ) ); $headers = array('Authorization: key=' . $apiKey, 'Content-Type: application/json'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); cu

Android push notifications

2013-03-30 Thread John Craig
I've added iOS and Android push notifications to a stack I've been working on. When sending notifications to my android device, the message displayed when the notification arrives is 'Notification received'. Does anyone know how to change (if possible) this message to something more meaningfu

[ANN] GPL sQuiRt

2013-03-28 Thread John Craig
(Also posted on the forums) sQuiRt is a LiveCode library for creating QR codes (2d bar codes). I've posted an open source, GPL version to complement the imminent release of open source LC. Hopefully you'll find the source interesting - there's code for PNG image creation, crc32 checksums and def

Fwd: Stackoverflow : new LiveCode questions

2013-03-11 Thread John Craig
The on-rev server job seems to be working OK as Roger's post was waiting in my inbox. I'll ask Heather what she thinks. Original Message Subject:Stackoverflow : new LiveCode questions Date: Sun, 10 Mar 2013 21:50:02 -0500 From: ro...@splash21.on-rev.com To: j.

Fwd: Stackoverflow : new LiveCode questions

2013-03-10 Thread John Craig
I've got a cron job running on on-rev that checks for new LiveCode questions on stack overflow. If there are new questions it hasn't seen before, it emails me the details as a digest (see output below). I can set up an email list if anyone is interested - or even post to this list. The cron jo

Re: Editing polygon points

2013-03-07 Thread John Craig
ima.com/ On Mar 7, 2013, at 8:28 AM, John Craig wrote: Is it possible to visually edit the points of a polygon and can I add and delete individual points? http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode ___ use-livecode

Re: Editing polygon points

2013-03-07 Thread John Craig
Just delete the offending line among the Points. Adding points is tricky. But you can just add a new line to the Points and then reposition the points. And then, as you know, there are Bezier curves. Jim Hurley Message: 27 Date: Thu, 07 Mar 2013 13:28:18 +0000 From: John Craig To: How to use Li

Re: Editing polygon points

2013-03-07 Thread John Craig
Well - that will do your reputation no harm ;) On 07/03/2013 19:44, Monte Goulding wrote: On 08/03/2013, at 12:28 AM, John Craig wrote: Is it possible to visually edit the points of a polygon and can I add and delete individual points? http://stackoverflow.com/questions/15272215/editing

Editing polygon points

2013-03-07 Thread John Craig
Is it possible to visually edit the points of a polygon and can I add and delete individual points? http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please v

Re: Proportionally Scale A Field?

2013-02-24 Thread John Craig
Check out http://mobgui.com/morph.php In particular, the coments in the morph.rescale handler of the MorphLib stack. I was surprised to find that ignoring the margins for field objects worked for the tests I was doing. I'm not sure if it will work for your particular set up, but worth a go.

Native cloud storage

2013-02-21 Thread John Craig
As part of a commercial app I'm working on, there is a requirement for basic cloud storage, so I've created a simple, native LC cloud storage service for storing app data as required. If there are a few interested volunteers that are in a position to give it a test run, then drop me a quick lin

[ANN] Dog Tales for iPad

2012-12-05 Thread John Craig
Dog Tales for iPad has just been approved. This could be a good time to submit apps - this is only day 6 after it was submitted. https://itunes.apple.com/us/app/dog-tales/id582763528?mt=8 (Taken a bit by surprise - the web site is not 100% finished) http://dogtales.splash21.com

[ANN] MobGUI update

2012-10-11 Thread John Craig
With recent additions and improvements to LC, custom controls to support all resolutions is looking promising. I've also been looking at content scaling and dynamic image resolution. Anyone who's purchased MobGUI can download the morph library in it's current state at http://mobgui.com/morph.ph

Re: Put URL and garbage in result from PHP

2012-10-09 Thread John Craig
Have you tried just outputting the data with no headers? JC On 08/10/2012 15:58, Mark Schonewille wrote: Hi, I'm downloading a list of words of 9 characters from a MySQL database using a PHP script and a put URL command in a LiveCode script. Altogether, there are approximately 1 lines i

Re: Skinning buttons

2012-10-03 Thread John Craig
Hi, John. You have to resize the image object as well. Quality = 'good' or 'best' works for me - 'normal' is usually too rough. On 03/10/2012 15:42, John Allijn wrote: I've created a large number of buttons designed to look good on an iPad3. I created these buttons by scripts that combining

Re: Finally found one.

2012-10-02 Thread John Craig
reason behind it all. But as Bernd notes, why the "exit to top" doesn't kill everything is still a mystery... Craig Newman -Original Message- From: John Craig To: How to use LiveCode Sent: Tue, Oct 2, 2012 4:43 pm Subject: Re: Finally found one. Hi, Craig. Looks like

Re: Finally found one.

2012-10-02 Thread John Craig
Hi, Craig. Looks like the trouble is that you've always got a pending message, so after you press stop, there's another message fired immediately to start things rolling again. try this handler in the card; command cancelMessages pMessages -- cancel any pending messages in the pMessages li

Re: iOS Push Messages

2012-09-16 Thread John Craig
I rebuilt with LC5.5.2 and the app crashes when launched from a push notification. Rebuilding with LC5.5.1 and the app launches fine from a push notification. Reported : Bug #10391 On 16/09/2012 19:07, Dan Friedman wrote: Ok... I've got everything working on my iOS app in regards to Push Not

Re: iOS Push Messages

2012-09-16 Thread John Craig
Hi, Dan. I've only got one app using push notifications and it launches OK from the alerts - which version of LC are you using? I can rebuild using the same version and let you know if it still works. :) On 16/09/2012 19:07, Dan Friedman wrote: Ok... I've got everything working on my iOS a

Re: Logging Device Tokens

2012-08-09 Thread John Craig
Apple on this). It works great, and I just want to thank RR for implementing push/local notifications, and for John Craig for putting up the example that made coding it easier when I was still trying to make it work. ___ use-livecode mailing list use-

  1   2   >