Page 1 of 1

LiveCode Success Story

Posted: Wed Jun 19, 2013 10:09 pm
by jekyllandhyde
I am very pleased to announce that Apple has approved my free "Safe Boating" App and it is available in the App Store at: https://itunes.apple.com/us/app/safe-bo ... ?ls=1&mt=8

The App was approved first time thanks to LiveCode. Even more amazing was that I essentially had a working first version in less than two months, working part-time with no prior programming experience. The last three months have been dealing with legal and content issues which held up the release. During that time I just kept improving things.

I am an active volunteer member of Royal Canadian Marine Search and Rescue (RCMSAR), a non-profit organization providing marine search and rescue to boaters throughout British Columbia, Canada. Like the RNLI in Great Britain, RCMSAR is volunteer based and requires a significant amount of its funding from public donation. Without LiveCode it would never have been possible to create our own boating App because we would have had to outsource the development at costs we couldn't afford. What I could afford was $20 per month for the commercial version. Incredibly reasonable!

We truly believe that our App will help save lives. All the information is there for a distressed boater to know what to do in most emergency situations and have that information right on the phone they have in their pocket. Runrev can be proud of the very significant role they have played in effecting positive change on people's lives with their amazing software.

In January I bought my first Mac and embarked on the LiveCode adventure. Today I have an App that everyone is excited about and will bring real positive exposure for our organization. Other than the great LiveCode development team I would particularly like to thank the following forum members for helping me: Gerry, Jean-Marc, Dixie, Klaus, Ender-Nafi, Nakia, Sturgis, and Lazy River Software for the very useful iOS Template kit.

Keep on posting and coding!

Adam

P.S. This testimonial may be reproduced for promotional purposes by runrev.

Re: LiveCode Success Story

Posted: Wed Jun 19, 2013 10:59 pm
by Simon
Congratulations Adam!
Well done. Looks great from here.

Simon

Re: LiveCode Success Story

Posted: Thu Jun 20, 2013 12:31 am
by Mag
Congraturations!

Re: LiveCode Success Story

Posted: Thu Jun 20, 2013 4:26 am
by Simon
Hi Adam,
You should send screenshots and a brief explanation to here:
http://livecode1001.blogspot.com/
Peter is making a collection (his email in on that page base64Decode).

Simon

Re: LiveCode Success Story

Posted: Thu Jun 20, 2013 5:56 am
by dave_probertGA6e24
Congratulations,

That looks like it could be a very useful App - probably even for non-Canadians too (for the general information parts).

Dave.

Re: LiveCode Success Story

Posted: Thu Jun 20, 2013 6:07 am
by shaosean
I think we Canuks need something like that due to all the lakes and bodies of water strewn about the country (and the oceans on three sides ;) )

Re: LiveCode Success Story

Posted: Thu Jun 20, 2013 7:44 pm
by jekyllandhyde
Thanks everyone, will send some info off to Peter.

Adam

Re: LiveCode Success Story

Posted: Thu Jun 20, 2013 10:14 pm
by Dixie
So... What's your next one going to be about ?... :-)

Re: LiveCode Success Story

Posted: Fri Jun 21, 2013 12:24 am
by jekyllandhyde
Dixie,

I'm probably going to try to tackle an Android version, or pay someone familiar with Android to port ours over. Screen size layout issues are so difficult I don't think I can attempt that one myself. Presently working on version iPhone 1.1 which will support landscape mode on some screens. My question: Is there any way to query the iphone and concoct an if-then statement based on whether it is an iPhone 4 or iPhone 5? Both have retina displays but of course their screen sizes are different. I am trying to properly position the upper menu bar. So if the user rotates to landscape I also want to know if it is 960 wide or 1136 wide. I can then hide or reveal screen elements as needed.

example:
if "landscape" is among the words of iphoneOrientation() then
set the vis of group 1 to false
set the vis of group 6 to true
set the vis of fld 1 to false
set the vis of fld 11 to true
set the rect of img 237 to the left of this card -4, the top of this card -4, the right of this card +4, 92

Re: LiveCode Success Story

Posted: Fri Jun 21, 2013 9:29 am
by Dixie
Have a go at the android one yourself... You've done all the hard work...:-) In a short while now 'liveCode' should be offering us a way to place things in the correct poistions on screen, no matter what the screen size... 'resolution independence'... I would wait.

I have been using the following to determine if the app is running on an iphone 4 or iphone 5... calling it in the 'open stack' handler.

Code: Select all

 command whichiPhone
   if item 4 of the working screenrect = 568 then
      --do all the moving about stuff here
   end if
end whichiPhone
It looks like you have your orientation problem sorted.. this I guess is being run from a 'resize stack' handler...

Re: LiveCode Success Story

Posted: Fri Jun 21, 2013 10:11 am
by jekyllandhyde
Thanks, yes my code example is being run on specific cards/screens that I need to rotate using the resize stack handler. Can I call the command whichiPhone from the same place at the card level rather than the open stack handler? I only have a preOpenStack handler, not an Openstack handler anywhere.

In your example, if the answer is yes to the if statement "if item 4 of the working screenrect = 568" , does that mean it's an iPhone 4 or 5? Probably a dumb question :)

Thanks again for your past help, your example scripts have really helped me.

Adam

Re: LiveCode Success Story

Posted: Fri Jun 21, 2013 11:31 am
by Dixie
Just throw in an 'openStack' handler, it won't hurt..:-)

I should have been clearer... I have the stack set up for iphone 4 size...ie... 320 x 480... so the whichiPhone handler is only used if the screen is iphone 5 size

Re: LiveCode Success Story

Posted: Fri Jun 21, 2013 7:59 pm
by jekyllandhyde
My stack size is 640 x 920, will that work? I am only supporting iPhone 4 and up.

Adam

Re: LiveCode Success Story

Posted: Tue Jun 25, 2013 6:25 am
by jekyllandhyde
Solved it with "if item 4 of the working screenrect = 1136"

Thanks, Adam