Re: finding the name of the target's stack in a script
I'm guessing almost everyone on this list have their own routines to do this and it's interesting to see the different methods. Here's mine, with a getOwner thrown in for good measure. function getGroup pid if word 1 of the owner of pid is not group then return empty else return the short name of the owner of pid end if end getGroup function getCard pid,preturn if word 1 of the abbrev name of the owner of pid is card then if preturn is name then return the short name of the owner of pid else return the long ID of the owner of pID end if else return getCard(the long ID of the owner of pid) end if end getCard function getOwner pid put getGroup(pid) into pgroup if pgroup is not empty then return the abbrev name of pgroup else return getCard(pid) end if end getOwner function getStack pid return the name of the owner of getCard(pid,long) end getStack Pete lcSQL Software http://www.lcsql.com On Tue, Jul 24, 2012 at 7:43 PM, Peter M. Brigham pmb...@gmail.com wrote: On Jul 24, 2012, at 8:28 PM, Dr. Hawkins wrote: It seems, though, that there should be a construct along the lines of the stack of object the card of object the group of objec I tried to find a way of doing this without do commands, but… function stackOf tObjLongID replace of with numtochar(8) in tObjLongID set the itemdelimiter to numtochar(8) put item -1 of tObjLongID into tStack do put the short name of tStack into stackName return stackName end stackOf function cardOf tObjLongID replace of with numtochar(8) in tObjLongID set the itemdelimiter to numtochar(8) put item -2 to -1 of tObjLongID into tCard replace numtochar(8) with of in tCard do put the short name of tCard into cdName return cdName end cardOf function groupOf tObjLongID if group is not in tObjLongID then return empty replace of with numtochar(8) in tObjLongID set the itemdelimiter to numtochar(8) put item -3 to -1 of tObjLongID into tGp replace numtochar(8) with of in tGp do put the short name of tGp into gpName return gpName end groupOf Can't do stack of… but you can do stackOf(tLongID) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ 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: LiveCode apps work in Android 4.1 jelly bean?
How do you work that one out ?! Dixie Subject: Re: LiveCode apps work in Android 4.1 jelly bean? From: co...@verizon.net Date: Wed, 25 Jul 2012 08:25:35 -0400 To: use-livecode@lists.runrev.com I think I know what the problem is. RunRev promised us feature parity with iOS and Android, and most existing LiveCode apps don't work under iOS 6. So, naturally they should also not work under Android 4.1! ___ 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: LiveCode apps work in Android 4.1 jelly bean?
LMAO……. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jul 25, 2012, at 8:25 AM, Colin Holgate wrote: I think I know what the problem is. RunRev promised us feature parity with iOS and Android, and most existing LiveCode apps don't work under iOS 6. So, naturally they should also not work under Android 4.1! ___ 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: LiveCode apps work in Android 4.1 jelly bean?
Well, feature parity, means things should perform the same on Android as on iOS. Which turns out not to be a good thing in this case. I am, of course, not serious about this. On Jul 25, 2012, at 8:30 AM, John Dixon dixo...@hotmail.co.uk wrote: How do you work that one out ?! ___ 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: Preview of Resolution Independent Control library for RevMobile
That is one of the problems with resizing controls based only on the size of the screen and not on the resolution of the device and not also changing the placement of controls based on the resolution of the device. For most apps the size of controls (and text) should remain the same when going from iPod/iPhone size to iPad size. What should change is the LAYOUT and PLACEMENT of those controls because these two sizes require different visual layouts. But when switching from iPod/iPhone regular resolution to iPhone Retina the SIZE should change and not the placement of those controls and also when switching from iPad regular resolution to iPad Retina the SIZE should change and not the placement. Then of course when changing from iPhone Retina to iPad Retina the heretofore changed SIZES should now change their PLACEMENT as well. In other words: If you are changing from iPod/iPhone Regular Resolution to iPhone Retina Resolution then the SIZE should change and not layout/placement. If you are changing from iPad Regular Resolution to iPad Retina Resolution then the SIZE should change and not layout/placement. If you are changing from iPod/iPhone Regular Resolution to iPad Regular Resolution then LAYOUT/PLACEMENT should change and not size. If you are changing from iPhone Retina Resolution to iPad Retina Resolution than LAYOUT/PLACEMENT should change and not size. BUT, If you are changing from iPod/iPhone Regular Resolution through to iPad Retina then both the SIZE and LAYOUT/PLACEMENT should be changed. If you are changing Orientation then only the LAYOUT/PLACEMENT should change and not the size. The SIZE should have already been changed based on the device resolution and the initial LAYOUT should have already been changed based on the device size. Also, not all apps need to change LAYOUT/PLACEMENT based on resolution (full screen maps, web views, etc.) but most apps should change SIZE when going from regular to retina resolutions. HTHs -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jul 25, 2012, at 8:34 AM, John Allijn wrote: I'm working on an iOS app for both iPhone and iPad. This resize utility works great and saves me a lot of time. Just one question about the settings though. Is it possible to change the stack size in which you design the app? I am making an app for both the iphone and ipad in both landscape and portrait mode. Maybe I did not understand the tutorial well, but it seems like I'll have to design it on a 320x320 resolution (minwidth of a portrait and landscape iphone 3gs). It will scale up to iPad retina sizes, but designing the app is difficult. every mistake is amplified enormously and the canvas to work on is tiny. I would rather be working on an ipad screen-size and have it scale down to iphone-size when it's used there. thanks, John ___ 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: Preview of Resolution Independent Control library for RevMobile
Also, for some layouts when changing Orientation only the widths of controls may need to change based on the LAYOUT but not the height or text size. Trying to find one solution for all of these scenarios is not going to happen. Especially if you are using native controls (real or faked). -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jul 25, 2012, at 9:11 AM, Thomas McGrath III wrote: If you are changing Orientation then only the LAYOUT/PLACEMENT should change and not the size. The SIZE should have already been changed based on the device resolution and the initial LAYOUT should have already been changed based on the device size. ___ 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: Preview of Resolution Independent Control library for RevMobile
Thanks Tom, you are right of course. I watched the tutorial and the resize tool makes it very tempting to design one app for all devices, but I will be better of with building an ipad and a iphone app and change the layout upon change in the orientation. On Jul 25, 2012, at 3:26 PM, Thomas McGrath III wrote: Also, for some layouts when changing Orientation only the widths of controls may need to change based on the LAYOUT but not the height or text size. Trying to find one solution for all of these scenarios is not going to happen. Especially if you are using native controls (real or faked). -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jul 25, 2012, at 9:11 AM, Thomas McGrath III wrote: If you are changing Orientation then only the LAYOUT/PLACEMENT should change and not the size. The SIZE should have already been changed based on the device resolution and the initial LAYOUT should have already been changed based on the device size. ___ 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
in-app purchase for MAC apps
Hi All, Apple has added the in app purchases store kit for mac apps as of 10.7. I wonder if we can set up in-app purchase for MAC apps with the present version of LiveCode and sell them in the MAC store. All the best Paolo ___ 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
MobileAddContact
Hey... Anybody played with this ? I can get it to work and it does work well, if I write it out in 'longhand' as it were... but I can't seem to be able to construct value pair strings into a variable to pass to the mobileAddContact command...:-( Adding a Contact You can add a contact by calling the command mobileAddContact. This allows you to populate the entries of the new contact record with token,value pair strings of the following form: mobileAddContact propertyName, propertyString, [propertyName, propertyString]... The supported tokens are listed under heading Syntax Contact Access Features. The result of this command returns either empty if no contact was created or the ID of a successfully created contact. Any thoughts ?... Anyone done it ? Dixie ___ 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: LiveCode apps work in Android 4.1 jelly bean?
If you sit down by the river bank and wait long enough you will see the liveCode updates float by. old chinese software developers proverb With iOS6 right around the corner, do we have any indication of when LC will be updated to compensate for these new OS's?? Since I am new here, what is RunRev's usual approach to new emerging technologies? Do they pro-actively release updates or re-actively release updates. Serious considerations for me with apps being released in the very near future SKIP ___ 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: LiveCode apps work in Android 4.1 jelly bean?
People who have a developer bundle deal with RunRev get early builds, and also more direct contact with the team. We reported LiveCode apps not working on iOS 6 a while ago, and a fix was made, that is present in the current version. So, it's more reactive than proactive, but at least it's well ahead of iOS 6 coming out. On Jul 25, 2012, at 10:22 AM, Magicgate Software - Skip Kimpel s...@magicgate.com wrote: Do they pro-actively release updates or re-actively release updates. Serious considerations for me with apps being released in the very near future ___ 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
in-app purchase customers data
Hi all, I have a question about in-app purchase of Apple.I was told Your server doesn't have to keep track of who has purchased what because Apple does that. Is it true? In particular I need to receive from Apple the email of my customers. Apple will send to me the name and the email of the person who purchased the content from my app? Thanks a lot Paolo Mazza ___ 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: LiveCode apps work in Android 4.1 jelly bean?
Ok... that is promising news. Looks like this means I really need to get in on the developer bundle... SKIP On Wed, Jul 25, 2012 at 11:20 AM, Colin Holgate co...@verizon.net wrote: People who have a developer bundle deal with RunRev get early builds, and also more direct contact with the team. We reported LiveCode apps not working on iOS 6 a while ago, and a fix was made, that is present in the current version. So, it's more reactive than proactive, but at least it's well ahead of iOS 6 coming out. On Jul 25, 2012, at 10:22 AM, Magicgate Software - Skip Kimpel s...@magicgate.com wrote: Do they pro-actively release updates or re-actively release updates. Serious considerations for me with apps being released in the very near future ___ 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
Importing vector graphics for interface
Ive had a couple of emails from users of my apps that say they look great on a normal Mac, but terrible on the new Macbook Retina. Im guessing this is probably because there are some background images, and when I pasted them into Livecode they switched from vector to a bitmap format so dont scale well at all and probably use far more memory than they really need to. Is there any way to import a vector image file so Livecode recreates it in vector format using its polygons etc as this would seem to be the first thing that would be worth upgrading in my apps to reduce memory usage and improve scaling. Thanks Andy ___ 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: Preview of Resolution Independent Control library for RevMobile
That's just crazy talk! I wonder if other mobile dev apps are running into this? Bob On Jul 25, 2012, at 6:11 AM, Thomas McGrath III wrote: That is one of the problems with resizing controls based only on the size of the screen and not on the resolution of the device and not also changing the placement of controls based on the resolution of the device. For most apps the size of controls (and text) should remain the same when going from iPod/iPhone size to iPad size. What should change is the LAYOUT and PLACEMENT of those controls because these two sizes require different visual layouts. But when switching from iPod/iPhone regular resolution to iPhone Retina the SIZE should change and not the placement of those controls and also when switching from iPad regular resolution to iPad Retina the SIZE should change and not the placement. Then of course when changing from iPhone Retina to iPad Retina the heretofore changed SIZES should now change their PLACEMENT as well. In other words: If you are changing from iPod/iPhone Regular Resolution to iPhone Retina Resolution then the SIZE should change and not layout/placement. If you are changing from iPad Regular Resolution to iPad Retina Resolution then the SIZE should change and not layout/placement. If you are changing from iPod/iPhone Regular Resolution to iPad Regular Resolution then LAYOUT/PLACEMENT should change and not size. If you are changing from iPhone Retina Resolution to iPad Retina Resolution than LAYOUT/PLACEMENT should change and not size. BUT, If you are changing from iPod/iPhone Regular Resolution through to iPad Retina then both the SIZE and LAYOUT/PLACEMENT should be changed. If you are changing Orientation then only the LAYOUT/PLACEMENT should change and not the size. The SIZE should have already been changed based on the device resolution and the initial LAYOUT should have already been changed based on the device size. Also, not all apps need to change LAYOUT/PLACEMENT based on resolution (full screen maps, web views, etc.) but most apps should change SIZE when going from regular to retina resolutions. HTHs ___ 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: LiveCode apps work in Android 4.1 jelly bean?
NOOO NOT SPACES Bob On Jul 24, 2012, at 10:25 PM, Andre Garzia wrote: It has indeed been complained about before. Not in all caps, though. I will use all caps and spaces if this is not solved soon! =) ___ 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: Importing vector graphics for interface
On 07/25/2012 06:41 PM, Andrew Henshaw wrote: Ive had a couple of emails from users of my apps that say they look great on a normal Mac, but terrible on the new Macbook Retina. Im guessing this is probably because there are some background images, and when I pasted them into Livecode they switched from vector to a bitmap format so dont scale well at all and probably use far more memory than they really need to. Is there any way to import a vector image file so Livecode recreates it in vector format using its polygons etc as this would seem to be the first thing that would be worth upgrading in my apps to reduce memory usage and improve scaling. Alejandro!!! Thanks Andy ___ 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: Importing vector graphics for interface
I am going to guess that Livecode does not support vector based graphics in the manner you suggest. It would be great if it did because that would alleviate the problems that come with scaling image objects, or objects that use them. It's a HUGE task to implement though, as LC would have to be able to parse Postscript, and then use it in a way that retained the vector based properties of the graphic. I don't ever expect to see that. Bob On Jul 25, 2012, at 8:41 AM, Andrew Henshaw wrote: Ive had a couple of emails from users of my apps that say they look great on a normal Mac, but terrible on the new Macbook Retina. Im guessing this is probably because there are some background images, and when I pasted them into Livecode they switched from vector to a bitmap format so dont scale well at all and probably use far more memory than they really need to. Is there any way to import a vector image file so Livecode recreates it in vector format using its polygons etc as this would seem to be the first thing that would be worth upgrading in my apps to reduce memory usage and improve scaling. Thanks Andy ___ 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: in-app purchase customers data
On Jul 25, 2012, at 8:27 AM, paolo mazza wrote: Hi all, I have a question about in-app purchase of Apple.I was told Your server doesn't have to keep track of who has purchased what because Apple does that. Is it true? In particular I need to receive from Apple the email of my customers. Apple will send to me the name and the email of the person who purchased the content from my app? nope. You'll know how many people from which countries and that's about it. Kee ___ 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: Importing vector graphics for interface
http://andregarzia.on-rev.com/alejandro/stacks/ ___ 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: Importing vector graphics for interface
That looks exactly like what I need, thanks! Andy On 25 Jul 2012, at 17:51, Richmond richmondmathew...@gmail.com wrote: http://andregarzia.on-rev.com/alejandro/stacks/ ___ 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: in-app purchase customers data
Looking at the developer guidelines, it seems you have to program your application to get whatever information you want to collect from the user as part of the transaction. Pete lcSQL Software http://www.lcsql.com On Wed, Jul 25, 2012 at 9:07 AM, Kee Nethery k...@kagi.com wrote: On Jul 25, 2012, at 8:27 AM, paolo mazza wrote: Hi all, I have a question about in-app purchase of Apple.I was told Your server doesn't have to keep track of who has purchased what because Apple does that. Is it true? In particular I need to receive from Apple the email of my customers. Apple will send to me the name and the email of the person who purchased the content from my app? nope. You'll know how many people from which countries and that's about it. Kee ___ 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: Importing vector graphics for interface
Actually the download direction is: http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05B.zip Works only with Ilustrator version 7 or minor (v6, v5.5, etc...). More recent Illustrator versions are actually PDF files. Notice that to resize the vector graphics you should use a library like altMobileResizer: http://lists.runrev.com/pipermail/use-livecode/2012-July/175561.html The following text was posted originally in 2010: New in this version: Basic functionality to import ilustrator blends as gradients. Still pending to create code for some important blend properties. Important caveat: Your ilustrator gradients should have a name compatible with the Runrev convention for variable names. That is, your gradients names in ilustrator should not have any ilegal characters like commas, ampersand (), etc, etc. Ilustrator files exported from Xara, (the tool that i use) does not have this problem, because gradients are named like Radial gradient 05 and Lineal gradient 12. Hopefully, Runrev will integrate soon this functionality of importing blends to their SVGL importer stack. In fact, svg graphics are better than ilustrator graphics because they share many important features with vector graphics from this platform, like defined geometric shapes (vital to import round rectangles and circles), alpha properties for each color inside a fill or stroke and gradients applied to stroke lines. You could download SVGL for RevOnline: http://revonline2.runrev.com/stack/112/SVGL Alert me in this mail list about any problems with imported Ilustrator files. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Importing-vector-graphics-for-interface-tp4652780p4652789.html Sent from the Revolution - User mailing list archive at Nabble.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
Storing data on iOS
For those who have gone before me: I have some files that are downloaded from a server and stored on the device. The files will be updated periodically. I don't want to download them repeatedly unless they've changed. Apple says not to store data in the documents folder if it can be retrieved from elsewhere. That makes me think I should keep it in the cache folder. But I'd rather it was backed up so the user doesn't need an internet connection if they want to use the app and the cache has been wiped. Where would you store the files? -- 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
anyone with mountain lion yet?
Hey Folks, Since the last snafu with Android 4.1, I am afraid of upgrading anything. Mountain Lion came out today, anyone here tried it out yet? Is LiveCode still working for iOS and Android development? -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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: anyone with mountain lion yet?
Yes, I bit the bullet and upgraded my 4 year old mac to Mountain Lion, so far its mostly good. It seems faster than Lion and almost everything is still working. Everything to do with Livecode is fine, the only app I have problems with is Aperture as it wont video clips any more but I guess that will be fixed soon enough. On 25 Jul 2012, at 19:54, Andre Garzia an...@andregarzia.com wrote: Hey Folks, Since the last snafu with Android 4.1, I am afraid of upgrading anything. Mountain Lion came out today, anyone here tried it out yet? Is LiveCode still working for iOS and Android development? -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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: Storing data on iOS
Hmm... Do you mean backed up as in iTunes/iCloud? That would appear to be unnecessary. I think cache is only cleared in low storage situations so it might be appropriate from the users perspective. Otherwise I'd go with documents folder with the do not backup property set. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 26/07/2012, at 4:39 AM, J. Landman Gay jac...@hyperactivesw.com wrote: For those who have gone before me: I have some files that are downloaded from a server and stored on the device. The files will be updated periodically. I don't want to download them repeatedly unless they've changed. Apple says not to store data in the documents folder if it can be retrieved from elsewhere. That makes me think I should keep it in the cache folder. But I'd rather it was backed up so the user doesn't need an internet connection if they want to use the app and the cache has been wiped. Where would you store the files? -- 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: Storing data on iOS
Jacque, I'm storing an SQLite db in the documents folder so the Android and iOS code is the same. The db is static until an update. The update will replace the entire db with new data. There is also 2 other dbs in the doc folder. One db hold the registration info and the other is notes the user can save and is linked to the replaceable db. I am now waiting for the second round from the Apple approvers, but they did not complain about the db in doc folder when the first submission was rejected. I got rejected for a registration code instead of a username/password card. The app is now waiting for approvalagain. The db data is not available for update anywhere except for an app update. I hope this db in the docs folder will not be a problem for us in the future. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, July 25, 2012 2:40 PM To: LiveCode Mailing List Subject: Storing data on iOS For those who have gone before me: I have some files that are downloaded from a server and stored on the device. The files will be updated periodically. I don't want to download them repeatedly unless they've changed. Apple says not to store data in the documents folder if it can be retrieved from elsewhere. That makes me think I should keep it in the cache folder. But I'd rather it was backed up so the user doesn't need an internet connection if they want to use the app and the cache has been wiped. Where would you store the files? -- 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
cancelling a load request on iOS?
Is it possible to cancel a download initiated with the load command on iOS? According to the dictionary the unload command is only supported on the desktop and I can find anything in the iOS release notes that indicates how you might go about this. Anyone know? Terry... 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
Re: Importing vector graphics for interface
Hi Andy, I found in my hard disk a version named Eps_Import_V05C You could download it from this link: http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05C.zip Here is nice tip that could help you, if you need scaling these vector graphics inside a LiveCode stack. http://andregarzia.on-rev.com/alejandro/img/Gradients03.jpg Have a nice day! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Importing-vector-graphics-for-interface-tp4652780p4652797.html Sent from the Revolution - User mailing list archive at Nabble.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
Re: Storing data on iOS
I use the cache folder, the assumption being that is fairly unlikely that it will be cleared. Terry... On 26/07/2012, at 05:35 AM, Monte Goulding wrote: Hmm... Do you mean backed up as in iTunes/iCloud? That would appear to be unnecessary. I think cache is only cleared in low storage situations so it might be appropriate from the users perspective. Otherwise I'd go with documents folder with the do not backup property set. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 26/07/2012, at 4:39 AM, J. Landman Gay jac...@hyperactivesw.com wrote: For those who have gone before me: I have some files that are downloaded from a server and stored on the device. The files will be updated periodically. I don't want to download them repeatedly unless they've changed. Apple says not to store data in the documents folder if it can be retrieved from elsewhere. That makes me think I should keep it in the cache folder. But I'd rather it was backed up so the user doesn't need an internet connection if they want to use the app and the cache has been wiped. Where would you store the files? -- 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
[ANN] EPS Import V05C
Hi All, Download this new version of EPS Import V05C: http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05C.zip Please, read the Help included inside the stack and the text file named readmefirst.txt Here is nice tip that could help you, if you need scaling these vector graphics inside a LiveCode stack. http://andregarzia.on-rev.com/alejandro/img/Gradients03.jpg Have a nice day! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-EPS-Import-V05C-tp4652799.html Sent from the Revolution - User mailing list archive at Nabble.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
Re: Preview of Resolution Independent Control library for RevMobile
Yeah it is crazy. I have had to deal with this in every Obj-c xCode app I've built so far. xCode however has both a system for dealing with @2x size images and with rotating interfaces - but I still have to have multiple views for both iPhone and iPad. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jul 25, 2012, at 11:52 AM, Bob Sneidar wrote: That's just crazy talk! I wonder if other mobile dev apps are running into this? Bob On Jul 25, 2012, at 6:11 AM, Thomas McGrath III wrote: That is one of the problems with resizing controls based only on the size of the screen and not on the resolution of the device and not also changing the placement of controls based on the resolution of the device. For most apps the size of controls (and text) should remain the same when going from iPod/iPhone size to iPad size. What should change is the LAYOUT and PLACEMENT of those controls because these two sizes require different visual layouts. But when switching from iPod/iPhone regular resolution to iPhone Retina the SIZE should change and not the placement of those controls and also when switching from iPad regular resolution to iPad Retina the SIZE should change and not the placement. Then of course when changing from iPhone Retina to iPad Retina the heretofore changed SIZES should now change their PLACEMENT as well. In other words: If you are changing from iPod/iPhone Regular Resolution to iPhone Retina Resolution then the SIZE should change and not layout/placement. If you are changing from iPad Regular Resolution to iPad Retina Resolution then the SIZE should change and not layout/placement. If you are changing from iPod/iPhone Regular Resolution to iPad Regular Resolution then LAYOUT/PLACEMENT should change and not size. If you are changing from iPhone Retina Resolution to iPad Retina Resolution than LAYOUT/PLACEMENT should change and not size. BUT, If you are changing from iPod/iPhone Regular Resolution through to iPad Retina then both the SIZE and LAYOUT/PLACEMENT should be changed. If you are changing Orientation then only the LAYOUT/PLACEMENT should change and not the size. The SIZE should have already been changed based on the device resolution and the initial LAYOUT should have already been changed based on the device size. Also, not all apps need to change LAYOUT/PLACEMENT based on resolution (full screen maps, web views, etc.) but most apps should change SIZE when going from regular to retina resolutions. HTHs ___ 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: cancelling a load request on iOS?
Just confirmed that unload is not implemented on android so the dictionary is correct. (the result contains 'not implemented', same for 'the cachedurls') so I need to rethink a few things. Having load without an unload seems a bit nuts to me. no liburlreset or resetall either yet. On Wed, Jul 25, 2012 at 1:51 PM, Terry Judd terry.j...@unimelb.edu.auwrote: Is it possible to cancel a download initiated with the load command on iOS? According to the dictionary the unload command is only supported on the desktop and I can find anything in the iOS release notes that indicates how you might go about this. Anyone know? Terry... 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: Preview of Resolution Independent Control library for RevMobile
I'm starting to put together a mobile framework to at least handle the mobile/tablet issue. What it does so far is start using any libraries in a specified folder and load either a tablet stack or mobile stack depending on if the max res is = 1024. Until we can work out size I think that's the best cutoff. People on low res android tablets will get the mobile UI. There may be some android phablets that would get the tablet UI. Anyway, you put most of the code into libraries or the script of the framework mainstack. Orientation needs to be handled on a single card to avoid state headaches. Resizing to deal with density and layout to deal with orientation I think need to be two separate processes as Thomas indicated. The resizing can happen once when the card opens the first time and then be forgotten about. The layout needs to happen when the card opens and on each orientation change. On android as we don't know screen density we should probably look at the highest percentage of devices and design for those and not resize. At the moment that is hdpi on mobile with a density of around 1.5 and mdpi (which can be treated the same as non retina iOS) on larger screens so this gives us 3 densities to deal with. So our resizing just needs to choose which of the three densities to use and scale. It's worth pointing out that this scaling only ever needs to be proportional. A front script that handled preopencard and tracked which cards had already been scaled combined with a custom property to either turn on or off scaling for that control should work here. Layout then is just a matter of showing and hiding controls and placing them relative to each other. I'd be keen to merge everybody's ideas into a single open source framework if anyone is interested. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 25/07/2012, at 11:47 PM, John Allijn jall...@gmail.com wrote: I watched the tutorial and the resize tool makes it very tempting to design one app for all devices, but I will be better of with building an ipad and a iphone app and change the layout upon change in the orientation. ___ 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: Preview of Resolution Independent Control library for RevMobile
Phablets... I like it. :-) ___ 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: Preview of Resolution Independent Control library for RevMobile
Don't say that too loudly! Next thing you know Apple will release an iPhab! On Jul 25, 2012, at 2:05 PM, Roger Eller wrote: Phablets... I like it. :-) ___ 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: Preview of Resolution Independent Control library for RevMobile
Good points. Years ago I created altLayouLib and have used it for work in multiple OS environments. With it you could set the controls layout behavior based upon OS. It read the OS and resized/moved controls based upon MacOS, Win32 or Other. As far as responsive design goes, it perhaps this approach a proper way to go. So, for instance one could set different stack resolutions and layout the controls for each based upon a specific resolution-- and if no resolution matched, then it defaults to the closest resolution smaller than the one being used. Still, seems like a lot of work. I still want to try Tom's approach of different square cards(or stacks) for both portrait and landscape. I really see potential in it and I think it *should* work fine with this latest altMobileResizer library. The square sizing should also handle most cases where you want the width of a control to change but not the height. BTW, just updated it to fix a niggling bug and added a button to it to check for all images which don't have resizeQuality set to Good. Just press the update button to get the latest version. You should reinstall the library and the OpenStack handlers on any existing projects. ___ 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: Preview of Resolution Independent Control library for RevMobile
Helps if I proofread before posting.. -- As far as responsive design goes, perhaps a custom layouts per card size approach a proper way to go. -- The square card size should also handle most cases where you want the width of a control to change but not the height. On Wed, Jul 25, 2012 at 4:57 PM, Chipp Walters ch...@chipp.com wrote: Good points. Years ago I created altLayouLib and have used it for work in multiple OS environments. With it you could set the controls layout behavior based upon OS. It read the OS and resized/moved controls based upon MacOS, Win32 or Other. As far as responsive design goes, it perhaps this approach a proper way to go. So, for instance one could set different stack resolutions and layout the controls for each based upon a specific resolution-- and if no resolution matched, then it defaults to the closest resolution smaller than the one being used. Still, seems like a lot of work. I still want to try Tom's approach of different square cards(or stacks) for both portrait and landscape. I really see potential in it and I think it *should* work fine with this latest altMobileResizer library. The square sizing should also handle most cases where you want the width of a control to change but not the height. BTW, just updated it to fix a niggling bug and added a button to it to check for all images which don't have resizeQuality set to Good. Just press the update button to get the latest version. You should reinstall the library and the OpenStack handlers on any existing projects. -- Chipp Walters CEO, Altuit, Inc. ___ 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: Preview of Resolution Independent Control library for RevMobile
Ok, making this up as i go. We might as well design a system from the start that can handle all 4 android screen densities and used a couple of them as synonyms for the iOS densities. Even though the android densities are ranges I think its reasonable to treat them as absolutes as long as your layout handles that. So we now have densities of .75, 1, 1.5 and 2. With 1 and 2 being used on iOS and at the moment .75 would would only be part of the design for future proofing. Now we can include into the framework an image loader for density just like native apps use. A plugin could easily import a x2 image and pump out high quality images at each density into specific folders. Next thing is we need a mode to use while developing to allow us to work at whatever density we require. That shouldn't be too complicated. Anyone else what to throw out some ideas? Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 26/07/2012, at 6:51 AM, Monte Goulding mo...@sweattechnologies.com wrote: At the moment that is hdpi on mobile with a density of around 1.5 and mdpi (which can be treated the same as non retina iOS) on larger screens so this gives us 3 densities to deal with. ___ 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: Preview of Resolution Independent Control library for RevMobile
for now... On Jul 25, 2012, at 3:14 PM, Monte Goulding wrote: We might as well design a system from the start that can handle all 4 android screen densities ___ 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: Preview of Resolution Independent Control library for RevMobile
How does LC determine density? On Wednesday, July 25, 2012, Monte Goulding wrote: Ok, making this up as i go. We might as well design a system from the start that can handle all 4 android screen densities and used a couple of them as synonyms for the iOS densities. Even though the android densities are ranges I think its reasonable to treat them as absolutes as long as your layout handles that. So we now have densities of .75, 1, 1.5 and 2. With 1 and 2 being used on iOS and at the moment .75 would would only be part of the design for future proofing. Now we can include into the framework an image loader for density just like native apps use. A plugin could easily import a x2 image and pump out high quality images at each density into specific folders. Next thing is we need a mode to use while developing to allow us to work at whatever density we require. That shouldn't be too complicated. Anyone else what to throw out some ideas? Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 26/07/2012, at 6:51 AM, Monte Goulding mo...@sweattechnologies.comjavascript:; wrote: At the moment that is hdpi on mobile with a density of around 1.5 and mdpi (which can be treated the same as non retina iOS) on larger screens so this gives us 3 densities to deal with. ___ use-livecode mailing list use-livecode@lists.runrev.com javascript:; Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Chipp Walters CEO, Altuit, Inc. ___ 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: Storing data on iOS
Hi Jacque, I'm storing everything in documents-- in fact I have my own cache folder in there as well. Because of my workflow, constantly updating via DropBox, I tend not to 'include' files outside a single stack, and I use the stack to SpitOut on OpenStack different resources, such as template document stacks and audio files. On one project I put file URLs and their respective filesizes in a zgoogle Spreadsheet. On startup, if there's an Internet connection, I download the CSV spreadsheet and check it against the files and download any missing or non- complete versions. So far it has worked perfectly. -- Chipp Walters CEO, Altuit, Inc. ___ 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: Preview of Resolution Independent Control library for RevMobile
Yes, any system we design should handle potential future densities however I'm really not sure if higher densities than retina would be worthwhile. If the human eye can't detect a difference then why not save the processing power and $. -- M E R Goulding Software development services mergExt - There's an external for that! On 26/07/2012, at 8:21 AM, Bob Sneidar b...@twft.com wrote: for now... On Jul 25, 2012, at 3:14 PM, Monte Goulding wrote: We might as well design a system from the start that can handle all 4 android screen densities ___ 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: cancelling a load request on iOS?
On 26/07/2012, at 06:32 AM, Mike Bonner wrote: Just confirmed that unload is not implemented on android so the dictionary is correct. (the result contains 'not implemented', same for 'the cachedurls') so I need to rethink a few things. Having load without an unload seems a bit nuts to me. Agreed - nutty to me as well. The only way to cancel a download appears to be to 'quit' the app. Terry... no liburlreset or resetall either yet. On Wed, Jul 25, 2012 at 1:51 PM, Terry Judd terry.j...@unimelb.edu.auwrote: Is it possible to cancel a download initiated with the load command on iOS? According to the dictionary the unload command is only supported on the desktop and I can find anything in the iOS release notes that indicates how you might go about this. Anyone know? Terry... 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 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
Re: Preview of Resolution Independent Control library for RevMobile
On 26/07/2012, at 8:40 AM, Chipp Walters wrote: How does LC determine density? Good question. If the engine does it then it doesn't provide that info to us. We know density on iOS so we use that to switch between mdpi and xhdpi. On android we can only make an educated guess based on this data: ldpimdpihdpixhdpi small 1.7%1.3% normal 0.4%12.9% 57.5% 18.0% large 0.2%2.9% xlarge 5.1% If the screenrect has either a width or height = 1024 then we assume it's a large or xlarge screen and use the tablet ui. We can also see from the stats that it's going to be mdpi. If it's normal or small it's most likely to be hdpi so we would run with that and given that is a reasonable middle ground our apps should be usable for mdpi and xhdpi users. We could have a guess at ldpi if the screen size = 400 or something but the percentages are so small. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets 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
Re: Storing data on iOS
Thanks for all the suggestions everyone. If the cache is unlikely to get erased very often then I think the simplest thing is to just use that. BTW, Chipp, I wasn't too worried about the file storage not working, I was concerned that Apple would reject the app for storing data in Documents if it wasn't generated by the user. I'm never sure just how picky the Apple police are going to be -- or if they'd even notice. -- 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
Re: cancelling a load request on iOS?
On Jul 25, 2012, at 4:16 PM, Terry Judd wrote: On 26/07/2012, at 06:32 AM, Mike Bonner wrote: Just confirmed that unload is not implemented on android so the dictionary is correct. (the result contains 'not implemented', same for 'the cachedurls') so I need to rethink a few things. Having load without an unload seems a bit nuts to me. Agreed - nutty to me as well. The only way to cancel a download appears to be to 'quit' the app. Does resetAll work? Best regards, Mark Talluto http://www.canelasoftware.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
Re: Preview of Resolution Independent Control library for RevMobile
OK Scott, should we continue on list or move off. It might be good to continue on list for a while to see who's keen to be involved. Continuing to think out loud on this. One thing we want to be able to do is work in whatever density we like and then have everything still scale right. So what about the framework mainstack has a density property. On mobile this is worked out during preOpenStack and on desktop it would default to mdpi but be settable so you can use whatever you want. This is independent of stack size and the setprop handler would cause the controls on the current card to resize. One important thing to consider is inventing a cool non-developer specific acronym and prefix for this thing ;-) My hope is it can handle more than just this one issue. Thinks like preferences come to mind. My vote is for mafia - Mobile App Framework with Interface Adaptation ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets 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
Re: cancelling a load request on iOS?
Dictionary says no. Hopefully next update! On Wed, Jul 25, 2012 at 6:06 PM, Mark Talluto use...@canelasoftware.comwrote: On Jul 25, 2012, at 4:16 PM, Terry Judd wrote: On 26/07/2012, at 06:32 AM, Mike Bonner wrote: Just confirmed that unload is not implemented on android so the dictionary is correct. (the result contains 'not implemented', same for 'the cachedurls') so I need to rethink a few things. Having load without an unload seems a bit nuts to me. Agreed - nutty to me as well. The only way to cancel a download appears to be to 'quit' the app. Does resetAll work? Best regards, Mark Talluto http://www.canelasoftware.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: THe debugger is going for a walk???
It's even stranger today. I keep seeing a behavior where it honors code breakpoints, but soft breaks seem to send it into the trace . . . Gosh, maybe I should can and sell this :) ___ 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: Preview of Resolution Independent Control library for RevMobile
Looking forward, it seems you're right: being able to lay out a stack at a specific resolution would be useful long term. I'm not up to speed on Android, but last I saw, LiveCode wasn't able to detect Android display density. If that's still the case, it would seem to be a problem since how would you distinguish between a phone with ultra high density and a tablet with low density? Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Monte Goulding wrote: OK Scott, should we continue on list or move off. It might be good to continue on list for a while to see who's keen to be involved. Continuing to think out loud on this. One thing we want to be able to do is work in whatever density we like and then have everything still scale right. So what about the framework mainstack has a density property. On mobile this is worked out during preOpenStack and on desktop it would default to mdpi but be settable so you can use whatever you want. This is independent of stack size and the setprop handler would cause the controls on the current card to resize. One important thing to consider is inventing a cool non-developer specific acronym and prefix for this thing ;-) My hope is it can handle more than just this one issue. Thinks like preferences come to mind. My vote is for mafia - Mobile App Framework with Interface Adaptation ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets 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: Preview of Resolution Independent Control library for RevMobile
Scott- Wednesday, July 25, 2012, 5:42:57 PM, you wrote: Looking forward, it seems you're right: being able to lay out a stack at a specific resolution would be useful long term. I'm not up to speed on Android, but last I saw, LiveCode wasn't able to detect Android display density. If that's still the case, it would seem to be a problem since how would you distinguish between a phone with ultra high density and a tablet with low density? It is still the case, it is indeed a problem, and it's a LiveCode-only problem, since it's very easy in java with one system call: http://android-er.blogspot.com/2011/07/get-screen-size-in-dpi.html -- -Mark Wieder mwie...@ahsoftware.net ___ 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: Preview of Resolution Independent Control library for RevMobile
On 26/07/2012, at 10:42 AM, Scott Rossi wrote: Looking forward, it seems you're right: being able to lay out a stack at a specific resolution would be useful long term. I'm not up to speed on Android, but last I saw, LiveCode wasn't able to detect Android display density. If that's still the case, it would seem to be a problem since how would you distinguish between a phone with ultra high density and a tablet with low density? I replied to Chipp on that a little while ago. All we can do is make an educated guess at the moment. If we build the framework in such a way that as soon as the actual density is available we use that then we can at least get started. -- M E R Goulding Software development services Bespoke application development for vertical markets 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
Re: Preview of Resolution Independent Control library for RevMobile
On 26/07/2012, at 10:42 AM, Scott Rossi wrote: Looking forward, it seems you're right: being able to lay out a stack at a specific resolution would be useful long term. I'm not up to speed on Android, but last I saw, LiveCode wasn't able to detect Android display density. If that's still the case, it would seem to be a problem since how would you distinguish between a phone with ultra high density and a tablet with low density? Worst case scenario I guess is that you can't and so you build a 'universal' app that allows the user to choose the layout (phone or tablet) the first time they use it. On subsequent launches the app starts up with the preferred layout. Terry... Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Monte Goulding wrote: OK Scott, should we continue on list or move off. It might be good to continue on list for a while to see who's keen to be involved. Continuing to think out loud on this. One thing we want to be able to do is work in whatever density we like and then have everything still scale right. So what about the framework mainstack has a density property. On mobile this is worked out during preOpenStack and on desktop it would default to mdpi but be settable so you can use whatever you want. This is independent of stack size and the setprop handler would cause the controls on the current card to resize. One important thing to consider is inventing a cool non-developer specific acronym and prefix for this thing ;-) My hope is it can handle more than just this one issue. Thinks like preferences come to mind. My vote is for mafia - Mobile App Framework with Interface Adaptation ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets 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 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
Re: THe debugger is going for a walk???
My debugging this afternoon has reminded me of another circumstance where the debugger seems to ignore code and that's if you have a command in your script that doesn't flag an error but is not valid. Here's an example insertObject card, the long ID of card ID pCardID That doesn't cause an error when you compile and it doesn't cause a runtime error but when the statement is executed, the debugger just skips over it. It should be insertObject card, the long ID of card ID pCardID of stack pstack I'm not sure why an error isn't flagged somewhere along the line but I spent a ridiculous amount of time debugging today before I noticed that I hadn't coded things correctly. Pete lcSQL Software http://www.lcsql.com On Wed, Jul 25, 2012 at 1:20 PM, Dr. Hawkins doch...@gmail.com wrote: It's even stranger today. I keep seeing a behavior where it honors code breakpoints, but soft breaks seem to send it into the trace . . . Gosh, maybe I should can and sell this :) ___ 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: Storing data on iOS
They will notice and they will reject your app. The only way around is to set the extended attribute of your folder in the documents folder to do not back up. I brought up this issue in December. However it seems like the prob has been recently solved by mergext. http://mergext.com/home/mergxattr/ -Debdoot PS: Here is another way. Listing 1 Setting the Extended Attribute #include sys/xattr.h - (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL { const char* filePath = [[URL path] fileSystemRepresentation]; const char* attrName = com.apple.MobileBackup; u_int8_t attrValue = 1; int result = setxattr(filePath, attrName, attrValue, sizeof(attrValue), 0, 0); return result == 0; } On Jul 25, 2012, at 7:28 PM, J. Landman Gay wrote: Thanks for all the suggestions everyone. If the cache is unlikely to get erased very often then I think the simplest thing is to just use that. BTW, Chipp, I wasn't too worried about the file storage not working, I was concerned that Apple would reject the app for storing data in Documents if it wasn't generated by the user. I'm never sure just how picky the Apple police are going to be -- or if they'd even notice. -- 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: Storing data on iOS
It's in the engine now. On 26/07/2012, at 12:12 PM, ddas wrote: They will notice and they will reject your app. The only way around is to set the extended attribute of your folder in the documents folder to do not back up. I brought up this issue in December. However it seems like the prob has been recently solved by mergext. http://mergext.com/home/mergxattr/ -- M E R Goulding Software development services Bespoke application development for vertical markets 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
Drop Shadow in Text Field
Hi All, When a drop shadow is applied to an opaque field, the shadow is shown around the edge of the field… not the text itself. When a drop shadow is applied to a transparent field, the drop shadow is applied to the text. Is there any way to have a drop shadow on the text for an opaque field? be well, randy ___ 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: Storing data on iOS
On 7/25/12 9:12 PM, ddas wrote: They will notice and they will reject your app. The only way around is to set the extended attribute of your folder in the documents folder to do not back up. The engine lets us do it by file, which would be fine for my purposes. Just out of curiosity, does anyone know if the file attributes are permanent if the content changes? For example, say I put data into a text file in Documents and mark it do not backup. Then later I put new data into the file using put url from a file on the server. Does the attribute stick? -- 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
Re: Drop Shadow in Text Field
A graphic effect will usually respect whatever transparency is present in a control. So I think your only option is to have the field be transparent and the dropshadow effect applied to the text, with a graphic or other object behind it. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Randy Hengst wrote: Hi All, When a drop shadow is applied to an opaque field, the shadow is shown around the edge of the field not the text itself. When a drop shadow is applied to a transparent field, the drop shadow is applied to the text. Is there any way to have a drop shadow on the text for an opaque field? be well, randy ___ 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: Drop Shadow in Text Field
On 26/07/2012, at 12:53 PM, Scott Rossi wrote: A graphic effect will usually respect whatever transparency is present in a control. So I think your only option is to have the field be transparent and the dropshadow effect applied to the text, with a graphic or other object behind it. You can group the transparent field (with itself), set the margins of the group to zero and set the opaque of the group to true. Terry... Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Randy Hengst wrote: Hi All, When a drop shadow is applied to an opaque field, the shadow is shown around the edge of the fieldS not the text itself. When a drop shadow is applied to a transparent field, the drop shadow is applied to the text. Is there any way to have a drop shadow on the text for an opaque field? be well, randy ___ 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
Re: Drop Shadow in Text Field
Thanks Scott, That's kind of what I thought… but, was hoping for a way to assign to the text and the outline of the field. be well, randy - On Jul 25, 2012, at 9:53 PM, Scott Rossi wrote: A graphic effect will usually respect whatever transparency is present in a control. So I think your only option is to have the field be transparent and the dropshadow effect applied to the text, with a graphic or other object behind it. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Randy Hengst wrote: Hi All, When a drop shadow is applied to an opaque field, the shadow is shown around the edge of the field… not the text itself. When a drop shadow is applied to a transparent field, the drop shadow is applied to the text. Is there any way to have a drop shadow on the text for an opaque field? be well, randy ___ 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: Drop Shadow in Text Field
Well Terry, that's very cool… thanks for the suggestion. be well, randy - On Jul 25, 2012, at 10:06 PM, Terry Judd wrote: On 26/07/2012, at 12:53 PM, Scott Rossi wrote: A graphic effect will usually respect whatever transparency is present in a control. So I think your only option is to have the field be transparent and the dropshadow effect applied to the text, with a graphic or other object behind it. You can group the transparent field (with itself), set the margins of the group to zero and set the opaque of the group to true. Terry... Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Randy Hengst wrote: Hi All, When a drop shadow is applied to an opaque field, the shadow is shown around the edge of the fieldS not the text itself. When a drop shadow is applied to a transparent field, the drop shadow is applied to the text. Is there any way to have a drop shadow on the text for an opaque field? be well, randy ___ 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: Storing data on iOS
You may just set the attribute of a folder and not bother with individual files. According to apple: Starting in iOS 5.0.1 a new “do not back up” file attribute has been introduced allowing developers to clearly specify which files should be backed up, which files are local caches only and subject to purge, and which files should not be backed up but should also not be purged. In addition, setting this attribute on a folder will prevent the folder and all of its contents from being backed up. -dd On Jul 25, 2012, at 10:37 PM, J. Landman Gay wrote: Just out of curiosity, does anyone know if the file attributes are permanent if the content changes? For example, say I put data into a text file in Documents and mark it do not backup. Then later I put new data into the file using put url from a file on the server. Does the attribute stick? ___ 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: Preview of Resolution Independent Control library for RevMobile
I still like your new word PHABLET - PHones And Bigger, Let Everybody Touch! LOL ~Roger On Wed, Jul 25, 2012 at 8:17 PM, Monte Goulding wrote: One important thing to consider is inventing a cool non-developer specific acronym and prefix for this thing ;-) My hope is it can handle more than just this one issue. Thinks like preferences come to mind. My vote is for mafia - Mobile App Framework with Interface Adaptation ;-) ___ 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
iOS notification center external added to mergExt
Hi LiveCoders There's still a few hours left of RunRev's 30% off SUMERSALE so I thought I'd put another external out to make mergExt even more deliciously tempting (sorry Andre's been talking about chee.. woops). Anyway, mergNotify is a great little external that allows you to hook into any Notification from the iOS Notification Center. These are notifications are from the classes in the iOS SDK. For example, UIApplicationWillResignActiveNotification and UIApplicationDidBecomeActiveNotification help you manage the device wbeing put to sleep while your app is running. Read more at http://mergext.com Tell me what you want next in the Poll at http://facebook.com/mergoulding Regards Monte -- M E R Goulding Software development services Bespoke application development for vertical markets 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
Re: iOS notification center external added to mergExt
On 26/07/2012, at 02:51 PM, Monte Goulding wrote: Hi LiveCoders There's still a few hours left of RunRev's 30% off SUMERSALE so I thought I'd put another external out to make mergExt even more deliciously tempting (sorry Andre's been talking about chee.. woops). Anyway, mergNotify is a great little external that allows you to hook into any Notification from the iOS Notification Center. These are notifications are from the classes in the iOS SDK. For example, UIApplicationWillResignActiveNotification and UIApplicationDidBecomeActiveNotification help you manage the device wbeing put to sleep while your app is running. Read more at http://mergext.com Yes - very handy this one ;) Great suite of iOS externals. I highly recommend them. Terry... Tell me what you want next in the Poll at http://facebook.com/mergoulding Regards Monte -- M E R Goulding Software development services Bespoke application development for vertical markets 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 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
Re: iOS notification center external added to mergExt
Woops... make that SUMMERSALE ... it's so cold in Tasmania I'd forgotten how to spell summer ;-) On 26/07/2012, at 2:51 PM, Monte Goulding wrote: Hi LiveCoders There's still a few hours left of RunRev's 30% off SUMERSALE so I thought I'd put another external out to make mergExt even more deliciously tempting (sorry Andre's been talking about chee.. woops). Anyway, mergNotify is a great little external that allows you to hook into any Notification from the iOS Notification Center. These are notifications are from the classes in the iOS SDK. For example, UIApplicationWillResignActiveNotification and UIApplicationDidBecomeActiveNotification help you manage the device wbeing put to sleep while your app is running. Read more at http://mergext.com Tell me what you want next in the Poll at http://facebook.com/mergoulding Regards Monte -- M E R Goulding Software development services Bespoke application development for vertical markets 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 -- M E R Goulding Software development services Bespoke application development for vertical markets 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