Re: Augmented reality with LiveCode ?

2013-07-03 Thread Paul Maguire
Hi. 

Did I hear you say you were a Director user? (I think I recognise your name for 
Direct-L list). You can do this type of AR in Director using a Flash object to 
handle video input and map a 3d object into a scene using Valentin's AR 
library. I've only messed with the demos - never done anything to ship. New iOS 
export in v12 should be able to handle the Xtras - no 3rd party. 

But a common approach is Unity - should be lots of examples. But you'll need an 
iOS export license. 

Kind regards,  Paul. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT: Alan Kay on OOP

2013-07-02 Thread Paul Maguire
Great! Thanks. 

Biological metaphors...

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android published app live...

2013-06-27 Thread Paul Maguire
Hi.

Anyone know how long it takes for a published Android app to go live in Google 
Play? I pushed the button to publish an hour ago and apparently it should take 
'a matter of minutes'

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android published app live...

2013-06-27 Thread Paul Maguire
Thanks Mark and Ralph!

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Custom Properties

2013-06-27 Thread Paul Maguire
I can confirm the following works:
Create new stack
Add custom property someProperty and set to http://google.com
Answer (the someProperty of thisCard) pops open a modal dialog with the URL as 
expected

Perhaps there is a bogus invisible character somewhere in the URL?
Perhaps delete custom property, recreate it and type in the URL (instead of 
copy/paste)?

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What's with the spaces?

2013-06-26 Thread Paul Maguire
I noticed this too. The workaround for me was to kill them with a little 
function to delete junk characters. Or alternatively copy and paste into 
BBEdit, then copy and paste from there. Ack.

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Private key for signing Android app...

2013-06-22 Thread Paul Maguire
Just thought I'd say thanks for this - all sorted thanks to this Terminal 
tutorial. 

Kind regards, Paul. 

On 20 Jun 2013, at 10:30, n...@runrev.com wrote:

 Hi Paul,
 
 The following LiveCode lesson should be able to help you out with signing
 your application-
 
 http://lessons.runrev.com/s/lessons/m/4069/l/32674-How-do-I-Create-a-Self-Signed-Certificate-for-an-Android-App-
 
 and the following will help with submitting your application to the Google
 Play store-
 
 http://developer.android.com/distribute/googleplay/publish/preparing.html
 
 Kind Regards,
 
 Neil Roger
 --
 RunRev Support Team ~ http://www.runrev.com
 -
 Hi again.
 
 Almost completed this port to Android - painful first-time  experience!
 But a lot learned for next app...
 
 Final hurdle is how do I actually get it on to Google Play?! I've set up a
 developer account and even set up the app details, but I haven't signed
 the app yet. I'm not in fact sure how to do this at all. It was tricky
 sorting it out for iOS for the first time, but eventually sorted it. But I
 don't want to goof on the android front at the last minute. This is a free
 app BTW with no push or other fanciness.
 
 Question is, is there a simple step-by-step guide for Android/Google n00bs
 like me? Any pointers really appreciated.
 
 Kind regards,Paul.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Private key for signing Android app...

2013-06-20 Thread Paul Maguire
Hi again.

Almost completed this port to Android - painful first-time  experience! But a 
lot learned for next app...

Final hurdle is how do I actually get it on to Google Play?! I've set up a 
developer account and even set up the app details, but I haven't signed the app 
yet. I'm not in fact sure how to do this at all. It was tricky sorting it out 
for iOS for the first time, but eventually sorted it. But I don't want to goof 
on the android front at the last minute. This is a free app BTW with no push or 
other fanciness.

Question is, is there a simple step-by-step guide for Android/Google n00bs like 
me? Any pointers really appreciated.

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
Hi all.

My porting to Android saga continues - last chapter...

I've just identified that PDFs cannot be loaded into the browser native control 
in Android. This breaks my app quite badly. I see there is a workaround to:

launch URL http://blah.com/someFile.pdf

... but this is going to cause the app to quit is it not? 

I'm a total Android hater at the moment. Anybody got any ideas on how to best 
proceed?

Kind regards,   Paul.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
I've hacked a workaround which loads up a jpeg equivalent meantime but i'd be 
interested in see how to implement the google docs approach. 

Kind regards, Paul. 

On 18 Jun 2013, at 20:59, Monte Goulding mo...@sweattechnologies.com wrote:

 For what it's worth this appears to be a problem for Java developers too... 
 and Terry's solution is one I've seen on StackOverflow for them too...
 
 --
 Monte Goulding
 
 M E R Goulding - software development services
 mergExt - There's an external for that!
 
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
Cool - ta. 

On 19 Jun 2013, at 00:29, Terry Judd terry.j...@unimelb.edu.au wrote:

 OK - for this to work the PDF has to be stored online - it doesn't appear to 
 work with local (file) urls.
 
 Anyway, all you need to do is construct a URL based on the URL for your PDF 
 and the correct Google Docs URL. Something like this...
 
 put http://mydomain.com/myfile.pdf; into tPDF
 put (http://docs.google.com/gview?embedded=trueurl=tPDF) into tURL
 
 ...then set the URL of the browser control.
 
 The result isn't perfect, and the download link that is included on the 
 displayed page won't work, but at least you can view the contents of the PDF.
 
 Terry...
 
 
 On 18/06/2013, at 10:49 PM, Terry Judd wrote:
 
 Hi Paul - it's not ideal, but you can hand the PDF off to Google Docs, which 
 will render it in a browser compatible format. I don't have the url handy 
 but will post it when I'm back at work tomorrow.
 
 Terry...
 
 On 18/06/2013, at 10:16 PM, Paul Maguire m...@paulmaguire.me wrote:
 
 Hi all.
 
 My porting to Android saga continues - last chapter...
 
 I've just identified that PDFs cannot be loaded into the browser native 
 control in Android. This breaks my app quite badly. I see there is a 
 workaround to:
 
 launch URL http://blah.com/someFile.pdf
 
 ... but this is going to cause the app to quit is it not? 
 
 I'm a total Android hater at the moment. Anybody got any ideas on how to 
 best proceed?
 
 Kind regards,Paul.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 Dr Terry Judd
 Senior Lecturer in Medical Education
 Medical Eduction Unit
 Faculty of Medicine, Dentistry  Health Sciences
 The University of Melbourne
 
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android and iOS embedded fonts used in native browser control.

2013-06-13 Thread Paul Maguire
Hey Ralph. 

I prepped some bits yesterday but haven't filed anything (never actually filed 
a LC bug report). I have had no time at all in past 2 days - sorry. If you are 
up for it, please use my example by all means. Thanks again for your help on 
this. 

Btw in my Android porting I'm coming across a lot of issues, some if which I 
have resolved - I'm going to post a list of issues and workarounds soon for 
others like me in the future. 

Kind regards,  Paul. 

On 13 Jun 2013, at 06:18, Ralph DiMola rdim...@evergreeninfo.net wrote:

 Paul,
 
 Did you submit this as a bug or to support? If not I will do it using your
 test stack, if that is OK with you?
 
 Thanks
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
 Of Paul Maguire
 Sent: Tuesday, June 11, 2013 6:12 AM
 To: How to use LiveCode
 Subject: Re: Android and iOS embedded fonts used in native browser control.
 
 Hi Ralf.
 
 On 11 Jun 2013, at 05:33, Ralph DiMola wrote:
 Hmmm... Played with your stack for a while today. Me thinks my QC guy 
 lied to me. I can't seem to get any fonts except for the standard web 
 fonts to work. Works in iOS but not Android. I will look at this again 
 tomorrow.Film at 11
 
 
 Thanks for looking at this. Thought I was losing my mind. Isn't this a very
 very common task ie. showing custom fonts in a web scroller in iOS and
 Android? Seems like it should be!
 
 FYI I tried some CSS stuff like adding this to the style sheet:
 
 @font-face {
  font-family: GROBOLD;
  src: url('Fonts/GROBOLD.ttf');
 }
 
 Nada.
 
 Kind regards,Paul.
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android and iOS embedded fonts used in native browser control.

2013-06-11 Thread Paul Maguire
Hi Ralf.

On 11 Jun 2013, at 05:33, Ralph DiMola wrote:
 Hmmm... Played with your stack for a while today. Me thinks my QC guy lied
 to me. I can't seem to get any fonts except for the standard web fonts to
 work. Works in iOS but not Android. I will look at this again
 tomorrow.Film at 11


Thanks for looking at this. Thought I was losing my mind. Isn't this a very 
very common task ie. showing custom fonts in a web scroller in iOS and Android? 
Seems like it should be!

FYI I tried some CSS stuff like adding this to the style sheet:

@font-face {
  font-family: GROBOLD;
  src: url('Fonts/GROBOLD.ttf');
}

Nada.

Kind regards,   Paul.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android and iOS embedded fonts used in native browser control.

2013-06-11 Thread Paul Maguire
On 11 Jun 2013, at 11:12, Paul Maguire wrote:
 Ralf

... when he really meant: Ralph.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LC 5.5.5 and Android test - broken...

2013-06-11 Thread Paul Maguire
Hi.

Another observation. The 5.5.5 update for commercial version to resolve iOS 
submission problem seems unable to build a test deployment for Android. Works 
fine 5.5.4.

I have hardware connected via USB, recognised as a Test Target in Development, 
builds, tries to launch on hardware, and fails (returns to desktop). Same for 
any phone I try.

Annoying that something in Android has become broken in the updating from 5.5.4 
to 5.5.5.

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Successful recipe for LC iPhone apps...

2013-06-10 Thread Paul Maguire
Hey Chip.

On 8 Jun 2013, at 01:41, Chipp Walters wrote:
 btw, there have been some mods made lately to altMobileResizer. Just press
 the update button.

Thanks! Your code really helped me get an understanding of how to build my 
first multi-platform res-independent app.

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android and iOS embedded fonts used in native browser control…

2013-06-10 Thread Paul Maguire
Hello again.

I can't work this out! I still can't get embedded fonts to display in Android 
native browser. I can get embedded fonts to appear in the UI when I set up UI 
controls. All works fine in iOS.

I stripped almost everything away and have a test stack here:
https://www.dropbox.com/s/7szotykzd9od6sh/AndroidBrowserScrollerFonts.zip

If anyone has 2 mins to take a look and see where I'm going wrong I'd really 
appreciate it. Doing my nut in.

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] What's happening here in Turkey...

2013-06-09 Thread Paul Maguire
I just deleted an almighty response after remembering that I was to beware the 
troll.

Instead, I'd like to consider the interesting cultural phenomenon of 'internet 
gentlemanly language eccentricity'. It's something I am witnessing more an 
more, every day. The basic gist is that many people seem to be using a heady 
mixture of Victorian English crossed with medievalism - Doctor Who-style. What 
I am encountering is lots of expressions like 'methinks', 'jolly good', 'good 
sir', 'spiffing', 'kind gentleman' etc. etc. It's rife and viral. 

It runs in parallel with the fashion for beards, brogue shoes, flicky 
public-school haircuts, tweed, and names that sound like parts of middle 
England. It's like Monty Python meets Blackadder. And it must be stopped.

Clearly not as disturbing as what is happening in Turkey and the responses of 
certain LC list members methinks. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] What's happening here in Turkey...

2013-06-07 Thread Paul Maguire
A very moving personal account. 
Be aware (as your government must) that the eyes of the world are watching - 
you are not alone in your struggle.

Best wishes to you and yours,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Successful recipe for LC iPhone apps...

2013-06-06 Thread Paul Maguire
On 5 Jun 2013, at 13:10, John Dixon wrote:
 Anybody submitted one recently and it got through ?

I just recently got my first LC app through. It is very graphic heavy. I built 
it at 320x480. I built full-screen assets at 640x960 and scaled these down 50%. 
The scaling code is handled by the altMobResizer plug in by Chip Walters (had 
to slightly mod it though to accommodate newer device resolutions).

Built for iPhone 3 up and iPad1 up. Seems to work and display fine.

Kind regards,   Paul.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Successful recipe for LC iPhone apps...

2013-06-06 Thread Paul Maguire
On 6 Jun 2013, at 10:41, Paul Maguire wrote:
 altMobResizer plug in by Chip Walters

That should be 'altMobileResizer'
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: First App rejected for odd reasons

2013-06-03 Thread Paul Maguire
Hi.

You need to update to 5.5.5 to avoid 2 of these errors: UDID, and non-PIE. Get 
it from the Livecode site.

On 3 Jun 2013, at 18:25, Thomas McGrath III wrote:
 I just tried to upload a free app to the Apple App Store and was immediately 
 rejected. I have seen some people get some of these warning but I got four 
 reasons and the Any Ideas?



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android custom fonts in web scroller native control...

2013-06-01 Thread Paul Maguire
Hi all. 

I'm the OP :-) been out if touch since I posted. Thanks to everyone for getting 
back. 

I'm using the technique of dynamically building and HTML page, writing it 
locally (into the cache folder) then loading it up in a scroller. All fine, 
except fonts don't load. Maybe writing the fonts to the cache folder will solve 
this - can't check. This whole issue is handled differently in iOS and Android 
it seems and I can't see anything on any documentation about it. 

Kind regards, Paul. 

On 31 May 2013, at 20:08, Ralph DiMola rdim...@evergreeninfo.net wrote:

 If you mean the native browser control(both mobile platforms)... All fonts
 referenced in css's do work without putting them explicitly into the copy
 files pane as long as they are in the same relative path from the http
 root of the document. I just output my documents from InDesign as web and
 copied the entire http tree(fonts, css, images) in the copy files and the
 documents look perfect, fonts and all. Never checked if the builder found
 those fonts for other uses in the app. Something I should check
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 The OP was using a native web view control, I wonder if the issue is there.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android custom fonts in web scroller native control...

2013-06-01 Thread Paul Maguire
Hi Ralph. 

I have a Media folder which contains all assets including fonts. This folder is 
included in standalone settings. It works under iOS - the Livecode UI displays 
fonts and native web scroller using CSS displays fonts. In Android, fonts 
appear in UI but not in scroller. I think this is to do with the path I have 
set up in the CSS - it works differently on different platforms. I think I need 
to make the path to the fonts relative to the temp HTML file I am writing out - 
I can't test until Monday though. 

Thanks for your advice - will feed back any results. 

Kind regards,  Paul. 

On 1 Jun 2013, at 22:32, Ralph DiMola rdim...@evergreeninfo.net wrote:

 I don't dynamically build pages but I do display pre-built pages on both iOS
 and Android using the EXACT same code. The only thing a can suggest is
 making sure the path in the font reference in the html(css) is correct. Are
 the fonts in the copy file pane(or some subfolder) in the Standalone
 settings? Downloading  and loading the fonts at runtime can't be done(at
 least so says the dictionary).
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
 Of Paul Maguire
 Sent: Saturday, June 01, 2013 4:45 PM
 To: How to use LiveCode
 Subject: Re: Android custom fonts in web scroller native control...
 
 Hi all. 
 
 I'm the OP :-) been out if touch since I posted. Thanks to everyone for
 getting back. 
 
 I'm using the technique of dynamically building and HTML page, writing it
 locally (into the cache folder) then loading it up in a scroller. All fine,
 except fonts don't load. Maybe writing the fonts to the cache folder will
 solve this - can't check. This whole issue is handled differently in iOS and
 Android it seems and I can't see anything on any documentation about it. 
 
 Kind regards, Paul. 
 
 On 31 May 2013, at 20:08, Ralph DiMola rdim...@evergreeninfo.net wrote:
 
 If you mean the native browser control(both mobile platforms)... All 
 fonts referenced in css's do work without putting them explicitly into 
 the copy files pane as long as they are in the same relative path 
 from the http root of the document. I just output my documents from 
 InDesign as web and copied the entire http tree(fonts, css, images) 
 in the copy files and the documents look perfect, fonts and all. 
 Never checked if the builder found those fonts for other uses in the app.
 Something I should check
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 
 The OP was using a native web view control, I wonder if the issue is
 there.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS app simulation rotated?

2013-05-31 Thread Paul Maguire
On 31 May 2013, at 10:32, Graham Samuel wrote:
 Thanks Randy - I hadn't thought of this. Tried it just now and sadly it 
 doesn't work. The simulation used to work, even without this line of script 
 (maybe with another simulator, since I haven't worked on this one for quite a 
 time).


You say it doesn't work now after typing in that line - are you sure it's all 
formatted and spelled correctly?!? iPhone sim will just fail if it's not. Just 
a thought.
In my preOpenStack handler I used:
mobileAllowedOrientations(portrait,portrait upside down)
... for a portrait app.

Another thing - check your Standalone Application Settings/Orientation options.

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android custom fonts in web scroller native control...

2013-05-31 Thread Paul Maguire
Hi all.

I'm hoping someone can point me in the right direction. I've posted this (and 
other Android-related issues) to the Android forum, but no replies and I can't 
seem to resolve it or find out any more info.

I am porting an iOS app to Android. I have many issues (of course). The first 
of these is the use of custom fonts in HTML used in a web scroller native 
control. I have successfully embedded the font in the app - it is .ttf - and it 
displays properly when used in the Livecode UI I have set up. Only in the web 
scroller does it fail.

Of course it works fine in iOS (sigh). I have tried the following in the styles 
in the HTML:

@font-face 
{
  font-family: GROBOLD;
  src: url('fonts/GROBOLD.ttf');
}

... but fails too. It seems I have a pathname issue with Android. I'm using 
specialFolderPath(engine) eg.:

put (specialFolderPath(engine)  slash  Media/footer.png) into tImageURL
put pimg src = QUOTE tImageURLQUOTE width = 
QUOTE50QUOTE/p into tS

... but this fails to display too, so the pathname is wrong. I don't 
understand! I notice from the Android .apk file structure that all my assets 
(including fonts) are contained in a folder called 'assets' - which doesn't 
exist in the iOS .app file, but adding this to the URL fails too.

Can anyone elucidate?

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Lime green text on new Livecode website

2013-05-22 Thread Paul Maguire
On 22 May 2013, at 12:32, Richmond wrote:
 I don't know what that greeny-yellow colour is; personally I call it 
 squashed caterpillar

I like it. I admit though that it would fail accessibility tests in a public 
space like a museum.

Any caterpillars that colour are too close to a nuclear power station. How to 
describe it? Acieeed!

Kind regards,   Paul.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [AN] iOS to Android issues...

2013-05-15 Thread Paul Maguire
On 15 May 2013, at 11:52, J. Landman Gay jac...@hyperactivesw.com wrote:

 On 5/13/13 3:48 PM, Paul Maguire wrote:
 
 1)The graphics are missing. All my graphics are linked to from an
 included folder I have next to the main app. I have included them in
 the Standalone Application Settings (I also have a couple of fonts).
 All this works nicely when creating the bundle for iOS. But they just
 don't appear in Android - ulp. I take it I'm missing something here -
 do I need to import (embed) all the assets? That would be very
 annoying if so because I want to keep the codebase unified. I have
 done basic Android tests before and I embedded the media and it was
 fine. Is there any way to not to have to embed my media in Android?
 
 You shouldn't have to embed the images. If they aren't showing the problem is 
 almost always in the file path reference. How are you referencing the images 
 on disk?

In my build I am using 'new referenced control/image file' for all images. This 
workflow works fine for publishing to IOS but fails to load any images in 
Android. If I use a script to embed all linked media and compile for Android, 
all is well - images appear fine. I store all my images and other media in a 
Media folder next to the authoring file. It's like after compiling for Android 
the directory structure is destroyed and the app can't see or load images. I 
can see in the iOS app that the directory structure is maintained (I can 
explore the package in the Finder ) but I can't do this with the Android file 
file. Any ideas? 

 2)I use 'put's to the console in OSX for help in debugging in iOS. I
 can't see any appearing when I run the Android emulator. Is there an
 Android SDK console window somewhere where I can see my puts?
 
 For Android, use Terminal and (optionally) run the logcat command. Here is an 
 excerpt from my notes from the last RevLive conference:

Wow - excellent. Thanks. 

Kinds regards, Paul. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[AN] iOS to Android issues...

2013-05-13 Thread Paul Maguire
(Android N00b)

Hello there.

The acronym says it all. I am trying to port my first iOS app to Android on 
MacOS and I'm a bit lost. I have the SDK set up and I can run various emulated 
Android hardware profiles (a bit sluggish on my MacBook but hey...). A few 
observations on first load:

1)  The graphics are missing. All my graphics are linked to from an 
included folder I have next to the main app. I have included them in the 
Standalone Application Settings (I also have a couple of fonts). All this works 
nicely when creating the bundle for iOS. But they just don't appear in Android 
- ulp. I take it I'm missing something here - do I need to import (embed) all 
the assets? That would be very annoying if so because I want to keep the 
codebase unified. I have done basic Android tests before and I embedded the 
media and it was fine. Is there any way to not to have to embed my media in 
Android?

2)  I use 'put's to the console in OSX for help in debugging in iOS. I 
can't see any appearing when I run the Android emulator. Is there an Android 
SDK console window somewhere where I can see my puts?

Can anyone help me out with some pointers?

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT - I remembered this time]

2013-05-10 Thread Paul Maguire
On 10 May 2013, at 04:18, Timothy Miller gand...@doctortimothymiller.com 
wrote:
 Biggie Big.

Small change. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OFF] The Competition

2013-05-09 Thread Paul Maguire


On 8 May 2013, at 20:27, Lynn Fredricks lfredri...@proactive-intl.com wrote:

 You want to talk about competition? What about Director (cue sound of
 crickets...)? ;-)

Diss Adobe but not the venerable Director :-) Adobe had an opportunity to make 
Director the industry standard creative multimedia authoring tool (as it used 
to be), but through lumbering monolithic bureaucracy so far have failed to do 
so. 

I can have a multi-display, cross-platform real time interactive 3D application 
with Ageia physics built and deployed in 15 mins using Director. No other tool 
out there comes close to Director in being able to rapidly develop creative 
desktop applications. Recent update to 12 offers iOS support...

I'm a newcomer to LC. The only ingredient missing from it for me is the ability 
to use accelerated 3D. Other than this, it's my new friend. 

Kind regards, Paul. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Finding orphaned put

2013-05-06 Thread Paul Maguire
This was a good thread - ta! 

My simple question is - does putting stuff slowdown runtime performance? In my 
first bit of iOS/Android development I'm putting stuff all the time and 
checking it in Console to help debug...

Kind regards,   Paul.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Finding orphaned put

2013-05-06 Thread Paul Maguire
On 6 May 2013, at 17:17, J. Landman Gay wrote:
 On 5/6/13 6:33 AM, Paul Maguire wrote:
 My simple question is - does putting stuff slowdown runtime
 performance? 
 It shouldn't make a dent in the speed, it's just pushing thing to stdout. The 
 engine is very fast. One of the (relatively) slowest things to do is 
 read/write to fields, and you aren't doing that.

Thanks for this. Putting stuff in Director (my other life) has an impact on 
engine speed, especially if it is a large string.

Kind regards,   Paul.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Finding orphaned put

2013-05-06 Thread Paul Maguire
On 6 May 2013, at 22:39, J. Landman Gay wrote:
 I was just talking to someone today who is also fleeing Director

Director is great. There is nothing else like it. It's Adobe that are the 
problem.

Kind regards,   Paul.
---
Paul Maguire
http://www.paulmaguire.me

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Cheapjack development for Windows

2013-05-03 Thread Paul Maguire
On 3 May 2013, at 07:14, Richmond wrote:
 Because one can pick up an old Pentium 4 for 25 bucks, put Linux, WINE
 and Livecode OSS on it for nix.


Dare I suggest that your Mac is also a (fast) PC nowadays? I have Window 7 
running in a Window here (using VMware Fusion). When I reboot using Bootcamp I 
have a very fast native Windows PC - no compromises.

Kind regards,   Paul.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Cheapjack development for Windows

2013-05-03 Thread Paul Maguire
On 3 May 2013, at 11:34, Richmond richmondmathew...@gmail.com wrote:
 On 3.05.2013 12:34, Paul Maguire wrote:
 On 3 May 2013, at 07:14, Richmond wrote:
 Because one can pick up an old Pentium 4 for 25 bucks, put Linux, WINE
 and Livecode OSS on it for nix.
 
 Dare I suggest that your Mac is also a (fast) PC nowadays? I have Window 7 
 running in a Window here (using VMware Fusion). When I reboot using Bootcamp 
 I have a very fast native Windows PC - no compromises.
 
 Dare I point out that I neither have an Intel Mac, nor can I afford one; so, 
 dare I point out that if that comment was aimed at me it was pointless.

Impossible to aim a message when using a mailing list - more like a blunderbuss 
than a rifle. So no - no aiming at you involved. I was trying to help mankind 
in general.

I used the word 'dare' because I've been lurking here a few weeks, seen that 
there are many smart people here, and that was my very firstest postest. I 
wasn't being facetious, silly. 

 I do run Mac 10.6 using VMware on a Linux box, just as I also run Windows XP.

Interesting...

 But that is beside the point.

Aw!

 My message was aimed at those programmers who do not have large amounts of 
 moolah to spare.

Well I own an Intel mac - but I'm paying it up over 2 years. I would definitely 
count myself as being a proud member of the above group.

 And your comment, Paul, makes me thing of Marie Antoinette; and she ended up 
 as
 a headless server - LOL.

insert pun about 'revolution' here

 If you want to eat cake with guillotined shadows don't mind me.

Now this has to be the most interesting phrase I've read in some time. I have 
no real idea what it means as such, but it exhibits such poesis...

Kind regards, Paul. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: CEO's Open Source Beard Documented

2013-04-20 Thread Paul Maguire
Hah! Excellent. Those are my students. (I'm that guy in the second shot lurking 
behind a seated Kevin)

As well as being bearded, Kevin was very courageous that evening - he was in a 
pretty bad way health-wise (with the 4-day bug currently sweeping the uk) but 
the dude pulled through and delivered another inspiring talk for all. Thanks 
again RunRev team!

Kind regards, Paul. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Moving controls smoothly around the screen

2013-04-14 Thread Paul Maguire
Hi. 

My first post here - been lurking a whole 48 hours :-) I recognise a couple if 
names here from the Director DIRECT-L list... Anyways hello world!

I'm reasonably new to Livecode. I'm intrigued by the Animation Engine - I'd 
like to know more but can't find any demos or examples or trial versions. 
Moving UI elements is enormously tedious whatever the platform - and writing 
animation wrapper routines from scratch is time-consuming. If the Animation 
Engine was robust and simple I'd be up for it. Anybody got any pointers to any 
info, advice, gotchas or examples?

Regards,  Paul. 

On 14 Apr 2013, at 04:47, Gerry Orkin gerry.or...@gmail.com wrote:

 I use Animation Engine to smoothly move things.
 
 Gerry
 
 
 On 14/04/2013, at 10:59 AM, Peter Haworth p...@lcsql.com wrote:
 
 I need to move all the objects underneath down to
 make room for the hidden group associated with the button to be displayed.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Moving controls smoothly around the screen

2013-04-14 Thread Paul Maguire
Great! Thanks for the prompt response. I'll check it out. 

Regards,  Paul. 

On 14 Apr 2013, at 10:38, Malte Brill revolut...@derbrill.de wrote:

 Hi Paul,
 
 welcome to the list. I am the author of said library. :-)
 
 You can find animationEngine (the dual licensed version) on my server:
 
 http://derbrill.de/animationEngine5.0.2.zip
 
 It comes with a PDF and a few example stacks. It will take a little while 
 before this is moved to github and the marketplace site.
 
 There is a forum for animationEngine here:
 
 http://forums.runrev.com/phpBB2/viewforum.php?f=27
 
 Of course I will be answering questions everywhere I see them pop up. Also 
 there are quite a few users that also might jump in to answer questions that 
 may be arising. :-)
 
 
 Hope that helps.
 
 Cheers,
 
 Malte
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode