LiveCode Success Story

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jekyllandhyde
Posts: 92
Joined: Thu Feb 14, 2013 7:17 pm

LiveCode Success Story

Post by jekyllandhyde » Wed Jun 19, 2013 10:09 pm

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.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: LiveCode Success Story

Post by Simon » Wed Jun 19, 2013 10:59 pm

Congratulations Adam!
Well done. Looks great from here.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: LiveCode Success Story

Post by Mag » Thu Jun 20, 2013 12:31 am

Congraturations!

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: LiveCode Success Story

Post by Simon » Thu Jun 20, 2013 4:26 am

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

dave_probertGA6e24
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 328
Joined: Mon Dec 05, 2011 5:34 pm
Contact:

Re: LiveCode Success Story

Post by dave_probertGA6e24 » Thu Jun 20, 2013 5:56 am

Congratulations,

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

Dave.
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: LiveCode Success Story

Post by shaosean » Thu Jun 20, 2013 6:07 am

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 ;) )

jekyllandhyde
Posts: 92
Joined: Thu Feb 14, 2013 7:17 pm

Re: LiveCode Success Story

Post by jekyllandhyde » Thu Jun 20, 2013 7:44 pm

Thanks everyone, will send some info off to Peter.

Adam

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: LiveCode Success Story

Post by Dixie » Thu Jun 20, 2013 10:14 pm

So... What's your next one going to be about ?... :-)

jekyllandhyde
Posts: 92
Joined: Thu Feb 14, 2013 7:17 pm

Re: LiveCode Success Story

Post by jekyllandhyde » Fri Jun 21, 2013 12:24 am

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

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: LiveCode Success Story

Post by Dixie » Fri Jun 21, 2013 9:29 am

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...

jekyllandhyde
Posts: 92
Joined: Thu Feb 14, 2013 7:17 pm

Re: LiveCode Success Story

Post by jekyllandhyde » Fri Jun 21, 2013 10:11 am

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

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: LiveCode Success Story

Post by Dixie » Fri Jun 21, 2013 11:31 am

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

jekyllandhyde
Posts: 92
Joined: Thu Feb 14, 2013 7:17 pm

Re: LiveCode Success Story

Post by jekyllandhyde » Fri Jun 21, 2013 7:59 pm

My stack size is 640 x 920, will that work? I am only supporting iPhone 4 and up.

Adam

jekyllandhyde
Posts: 92
Joined: Thu Feb 14, 2013 7:17 pm

Re: LiveCode Success Story

Post by jekyllandhyde » Tue Jun 25, 2013 6:25 am

Solved it with "if item 4 of the working screenrect = 1136"

Thanks, Adam

Post Reply