Socket help needed for API
I have been using LC to access an API through conventional means, but that site has now changed to a socket protocol. I have tried various methods, but just can’t get it to work. I would appreciate it if someone familiar with sockets could take a look and show me how to do this. I only need to know how to establish a connection and receive data. I can take it from there. The information I am looking to receive is what is produced through this now deprecated API. It is a list of all of the digital tokens being traded at this site. (Note: you may have to send this link a few times in order to get a response. The site is often overloaded.) put https://api.etherdelta.com/returnTicker I want to receive the same information, but using the new socket-based API shown here. https://github.com/etherdelta/etherdelta.github.io/blob/master/docs/API.md https://github.com/etherdelta/etherdelta.github.io/tree/master/bots Thank you very much for help with this. Richard Miller ___ 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
WebSocket API help needed
I have been using LC to access an API through conventional means, but that site has now changed access to use a WebSocket protocol. I have tried various methods, but just can’t get it to work. I would appreciate it if someone familiar with sockets could take a look and show me how to do this. The information I am looking to receive is what is produced through this now deprecated API. It is a list of all of the digital tokens being traded at this site. (Note: you may have to send this link a few times in order to get a response. The site is often overloaded.) put https://api.etherdelta.com/returnTicker I want to receive the same information, but using the new WebSocket API shown here. https://github.com/etherdelta/etherdelta.github.io/blob/master/docs/API.md https://github.com/etherdelta/etherdelta.github.io/tree/master/bots Thank you very much for help with this. Richard Miller ___ 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 rejected five times because of background audio setting
Apple just rejected my app again, for the same reason, complaining that my code regarding background audio Is incorrect, even though it is identical to yours. This time, I have challenged them to discuss this issue on the phone. On 4/3/17 5:51 PM, Ralph DiMola wrote: I just looked at the info.plist from my last app that Apple approved. 1) The UIApplicationExitsOnSuspend key is not there. 2) the UIBackgroundModes key looks like what you see. UIBackgroundModes What does your info.plist in the app look like? OPTION 2: You bumped up against an less than expert reviewer. If your plist looks correct then challenge them. I have done that in the past when I was sure they were wrong and they acquiesced. If that does not work then go to arbitration. I feel your pain... Let us know how it ends. 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 Richard Miller via use-livecode Sent: Monday, April 03, 2017 5:31 PM To: use-livecode@lists.runrev.com Cc: Richard Miller Subject: Re: iOS app rejected five times because of background audio setting Thanks for the info, Ralph. I had figured out the exit-on-suspend issue previously. In my last app submission, I completely removed the entire section in the info.plist file which referenced UIBackgroundModes, but they still rejected it on the same claim that background audio was enabled. This tells me one of two things: there is some other file in the standalone that is referencing this function, or, by completely removing it from info.plist, this effectively defaults to enabling that function. I am hoping that the precise code I included in my previous email is the correct way to disable background audio in info.plist, and that there is no other file other than the info.plist that needs to be addressed. Richard Sent from my iPhone On Apr 3, 2017, at 5:03 PM, Ralph DiMola wrote: After reading closer: 1) Make sure that the "Background Audio" is un-ticked. 2) Do the "plist hack" as enumerated in my last email. 3) This is all I do and have never been rejected for the "Background Audio" issue. 4) I have never tried to submit to the store with v9. This might be a v9 issue. UIBackgroundModes Seems to be correct. 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 Richard Miller via use-livecode Sent: Monday, April 03, 2017 3:52 PM To: How to use LiveCode Cc: Richard Miller Subject: iOS app rejected five times because of background audio setting I have gone back and forth with Apple five times in an attempt to get this setting correct. I made the mistake originally of enabling the background audio option in the iOS standalone settings area. I was trying to prevent the app from exiting when the user switched to a different app. I know that this setting solves that issue, but it also caused Apple to reject my app because I was not including any background audio. I have since realized that the correct way to deal with this is to modify the "exit on suspend" clause in the livecodescript file. But after creating a new standalone and submitting it to Apple, they keep telling me I am still referencing the backgroundaudio option. I tried making changes to the info.plist and settings.plist files, but I can't seem to get this right. I just downloaded a fresh copy of LC 9.0 and created a new standalone. When I look at the info.plist file in the standalone, this is what I find: UIBackgroundModes Is this correct? Is this the way the code should read when the background audio option is not being used? Thanks for any help with this, Richard Miller ___ 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 rejected five times because of background audio setting
Thanks for the info, Ralph. I had figured out the exit-on-suspend issue previously. In my last app submission, I completely removed the entire section in the info.plist file which referenced UIBackgroundModes, but they still rejected it on the same claim that background audio was enabled. This tells me one of two things: there is some other file in the standalone that is referencing this function, or, by completely removing it from info.plist, this effectively defaults to enabling that function. I am hoping that the precise code I included in my previous email is the correct way to disable background audio in info.plist, and that there is no other file other than the info.plist that needs to be addressed. Richard Sent from my iPhone > On Apr 3, 2017, at 5:03 PM, Ralph DiMola wrote: > > After reading closer: > 1) Make sure that the "Background Audio" is un-ticked. > 2) Do the "plist hack" as enumerated in my last email. > 3) This is all I do and have never been rejected for the "Background Audio" > issue. > 4) I have never tried to submit to the store with v9. This might be a v9 > issue. > > UIBackgroundModes > > > > > Seems to be correct. > > 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 Richard Miller via use-livecode > Sent: Monday, April 03, 2017 3:52 PM > To: How to use LiveCode > Cc: Richard Miller > Subject: iOS app rejected five times because of background audio setting > > I have gone back and forth with Apple five times in an attempt to get this > setting correct. I made the mistake originally of enabling the background > audio option in the iOS standalone settings area. I was trying to prevent > the app from exiting when the user switched to a different app. I know that > this setting solves that issue, but it also caused Apple to reject my app > because I was not including any background audio. > > I have since realized that the correct way to deal with this is to modify > the "exit on suspend" clause in the livecodescript file. But after creating > a new standalone and submitting it to Apple, they keep telling me I am still > referencing the backgroundaudio option. I tried making changes to the > info.plist and settings.plist files, but I can't seem to get this right. > > I just downloaded a fresh copy of LC 9.0 and created a new standalone. > When I look at the info.plist file in the standalone, this is what I find: > > UIBackgroundModes > > > > > > Is this correct? Is this the way the code should read when the background > audio option is not being used? > > Thanks for any help with this, > Richard Miller > ___ > 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
iOS app rejected five times because of background audio setting
I have gone back and forth with Apple five times in an attempt to get this setting correct. I made the mistake originally of enabling the background audio option in the iOS standalone settings area. I was trying to prevent the app from exiting when the user switched to a different app. I know that this setting solves that issue, but it also caused Apple to reject my app because I was not including any background audio. I have since realized that the correct way to deal with this is to modify the "exit on suspend" clause in the livecodescript file. But after creating a new standalone and submitting it to Apple, they keep telling me I am still referencing the backgroundaudio option. I tried making changes to the info.plist and settings.plist files, but I can't seem to get this right. I just downloaded a fresh copy of LC 9.0 and created a new standalone. When I look at the info.plist file in the standalone, this is what I find: UIBackgroundModes Is this correct? Is this the way the code should read when the background audio option is not being used? Thanks for any help with this, Richard Miller ___ 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
Signing an application for distribution outside the Mac App Store
I am following the livecode instructions for "Signing an application for distribution outside the Mac App Store". When I run this in terminal: codesign -s "Developer ID Application: My Company" /Path/To/My/Application.app I get back this error message: "resource fork, Finder information, or similar detritus not allowed" I am trying to sign a LC app built in LC 8.0.0 dp16 running under OS Sierra and XCode 8.1. Thoughts? Thanks, Richard Miller ___ 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: Fwd: LC / WordPress / CGI challenge
Thanks, Stephen. Those two inclinations were what I was thinking as well. Thanks for confirming. On 5/29/16 4:52 PM, stephen barncard wrote: 1. I wouldn't bother trying to do this simple task in PHP if I didn't have to... how about.. create a livecode server page with the rating/poll page and business logic since you said you could do that ... and easy to check and debug outside WP. and then use an IFRAME in the html to display your content. Yes, Livecode (server) working inside a WP page. everything shows from the Livecode server instance, including the CCS inside the 'view port'. http://www.w3schools.com/tags/tag_iframe.asp 2. use the IP of the visitor (available in the globals) to assure uniqueness. Keep a list. and for a double check use a "been here before" cookie/flag specifically for this poll. someone clever could hack it but it probably wouldn't be worth it. Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sun, May 29, 2016 at 1:32 PM, Alex Tweedly wrote: Disclaimer - I don't know much about Wordpress. But after Todd's postings about it during the recent funding effort, I decided to go back and try again to use it (previous attempts have failed in a myriad of features that appear to be documented only on videos - the least time-effective way to learn anything :-) So my limited knowledge might be enough to be dangerous ,.,.. Use a Worpress plugin. There are many review / rating system plugins that should do almost anything you want. I've not actualy used any of them, but have browsed through the descriptions of some, and it looks like they'll be able to do almost anything you're likely to want ... -- Alex. On 29/05/2016 15:51, Richard Miller wrote: I have someone building a WordPress website for me. I personally do not know WordPress. He doesn't know how to address the following issue. I know how to do much of it through Livecode, but I'm not sure how to integrate the two. One feature of the site is that users get to input a rating on a particular matter. This cumulative rating is then displayed at the site. The following items need to occur. I am very comfortable writing the back-end CGI code and processing it through LC. 1) when a given page is displayed, the cumulative rating needs to show on that page. How do I make a wordpress page initiate a CGI/LC script when that page is loaded, and display the result within a text block on that page? 2) what method can I use to limit one user from entering only one rating on a given matter? For example, I am asking users to rate a particular video on the basis of its believability. I don't want any one user to submit that rating on that particular video more than once, thereby skewing the results. Does this require me to force users to sign in with a username and password, then track that embedded information when they submit a rating, or is there an alternative which avoids signing in? Thanks for any feedback. Richard Miller ___ 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
Fwd: LC / WordPress / CGI challenge
I have someone building a WordPress website for me. I personally do not know WordPress. He doesn't know how to address the following issue. I know how to do much of it through Livecode, but I'm not sure how to integrate the two. One feature of the site is that users get to input a rating on a particular matter. This cumulative rating is then displayed at the site. The following items need to occur. I am very comfortable writing the back-end CGI code and processing it through LC. 1) when a given page is displayed, the cumulative rating needs to show on that page. How do I make a wordpress page initiate a CGI/LC script when that page is loaded, and display the result within a text block on that page? 2) what method can I use to limit one user from entering only one rating on a given matter? For example, I am asking users to rate a particular video on the basis of its believability. I don't want any one user to submit that rating on that particular video more than once, thereby skewing the results. Does this require me to force users to sign in with a username and password, then track that embedded information when they submit a rating, or is there an alternative which avoids signing in? Thanks for any feedback. Richard Miller ___ 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: LC app not displaying correctly on iPhone
Thank you, Colin. Sent from my iPhone > On Jan 6, 2016, at 1:05 PM, Colin Holgate wrote: > > Exact fit is rarely what you would want to do, it will distort the card area > to fit the screen size. > > The black bars are because you didn’t include the default-5...@2x.png file. > > >> On Jan 6, 2016, at 9:44 AM, Richard Miller wrote: >> >> I am testing a LC iPhone app on my iPad and iPhone 6S plus. I'm setting the >> fullscreenmode to "exactFit". The app displays perfectly on the iPad, but >> there is black space above and below the app on the iPhone. Nothing is cut >> off; it's just that the app is not filling the iPhone screen. I get the same >> result in the simulator, even when I set it to iPhone 6 or 5S. >> >> Any suggestions? Building this with OS 10.11.2, LC 7.1, and Xcode 6.4. >> >> Thanks >> Richard Miller >> ___ >> 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
LC app not displaying correctly on iPhone
I am testing a LC iPhone app on my iPad and iPhone 6S plus. I'm setting the fullscreenmode to "exactFit". The app displays perfectly on the iPad, but there is black space above and below the app on the iPhone. Nothing is cut off; it's just that the app is not filling the iPhone screen. I get the same result in the simulator, even when I set it to iPhone 6 or 5S. Any suggestions? Building this with OS 10.11.2, LC 7.1, and Xcode 6.4. Thanks Richard Miller ___ 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: Displaying mixed text and images in iOS app
Hi Todd, Thanks for that information. Looks like displaying our PDFs in a simple browser object works fine. It's easy to convert the word docs over to PDF, and they seem to be displaying perfectly. The PDFs appear seamlessly in the app. We have no need for editing of these documents once they are in the app. The only problem that remains is that I can't get pinch and zoom to work. I will post the code here in the near future. Perhaps someone knows what needs adjusting. Richard Miller > > Hi Richard, > > We had the same issue, but we needed to actually edit the documents. If you > just need to display, HTML is the way to go. I suggest you use Base64 to > put the image in the HTML so there are no possible broken links. It is easy > to do. Plus, the HTML proved to be more flexible for mobile devices in that > you can control the layout easily using just a little CSS and make them > responsive. > > Do you need to edit the document at all? We also needed to edit the docs, > so again we turned to the browser using a wysiwyg html editor. We selected > https://www.froala.com/wysiwyg-editor, but there are several on the market. > Send me an email if you want the sample HTML editor code in LiveCode. I > think this will get MUCH better with the new browser widget in LC8 because > you will be able to get full messaging between your app and the browser on > mobile. > > For those that are interested in charts+graphics+dashboards we are also > going web for this one. We have just started looking to wrap D3.js with a > LiveCode wrapper and will use "inheritance" of the browser widget in LC 8 > to offer the full features of D3 which is incredible! Because we need both > online and mobile, we think this is the best option. LiveCode HTML5 will > not give us the speed we need. > > --Todd > ___ > 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: Displaying mixed text and images in iOS app
Monte, Is there an advantage in using one over the other? It is equally easy for me to save the documents in Word or PDF format. I'm looking for the most elegant, seamless method for displaying these docs in my app. Thanks, Richard Sent from my iPhone > On Dec 25, 2015, at 3:24 PM, Monte Goulding wrote: > > You could display Word, PDF (any file format the device can normally display) > using mergDoc or PDF using mergReader. See mergext.com > > Cheers > > Monte > > Sent from my iPhone > >> On 26 Dec 2015, at 3:54 am, Richard Miller wrote: >> >> Should I look at displaying PDFs? If so, will this approach give the >> appearance of being well integrated into the app without navigating outside >> the app? > > ___ > 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
Displaying mixed text and images in iOS app
I am building an iOS app in which I need to display numerous (upwards of 50) documents that contain mixed text and images. A typical doc would be about three legal pages long and might contain 5–6 small images interspersed among the text. Basically, Word documents. When displaying each doc, I want the user to stay within my app. The user will need to be able to scroll within each doc. These card documents will all be built in advance in the app (i.e. not dynamically). I know I can do this using a simple group scroller on a card (using numerous text fields and images), but my tests with this approach yielded a clunky, slow scrolling experience when I tested this on a iPad 2. Plus, it is messy to build each document/card in this manner. There must be a better way. Should I look at displaying PDFs? If so, will this approach give the appearance of being well integrated into the app without navigating outside the app? Or, should I convert all the docs to HTML and use an integrated browser object on each card to display this data? Or has someone built some kind of external tool I can purchase for this purpose? Thanks for any feedback. Richard Miller ___ 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: Best LC version for iOS app
Thanks for the input, Randy. On 12/7/15 10:36 PM, Randy Hengst wrote: Over the past week I submitted a new app and two updates using LC 7.1 and Xcode 6.4. But, I’m using Mac 10.10.5 be well, randy Randy Hengst www.classroomFocusedSoftware.com On Dec 7, 2015, at 4:37 AM, Richard Miller wrote: What is the best LC version to build an iOS app? Is it recommended to use 7.x or 8.x? I am working on a Mac running 10.11.1 Thanks, Richard Miller ___ 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
Best LC version for iOS app
What is the best LC version to build an iOS app? Is it recommended to use 7.x or 8.x? I am working on a Mac running 10.11.1 Thanks, Richard Miller ___ 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
Best LC version for iOS appp
What is the current best LC version to build an iOS app with? I am working on a Mac running 10.11.1 Thanks, Richard Miller ___ 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 voice-to-text
mobileControlCreate "multiline", "displayInput" mobileControlSet "displayInput", "rect", the rect of fld "note" mobileControlSet "displayInput", "vScroll", "0" mobileControlSet "displayInput", "visible", "true" mobileControlSet "displayInput", "autocorrectionType", "no" mobileControlSet "displayInput", "editable", "true" mobileControlSet "displayInput", "fontsize", 18 mobileControlSet "displayInput", "backgroundColor", "yellow" mobileControlSet "displayInput", "borderStyle", "line" mobileControlSet "displayInput", "scrollingEnabled", true mobileControlSet "displayInput", "enabled", true mobileControlSet "displayInput", "text", "" On 2/26/15 12:50 PM, Alain Vezina wrote: How do you make a native iOS field? Alain Vézina, directeur Logilangue www.logilangue.com Le 2015-02-26 à 10:30, Richard Miller a écrit : Solved the problem. I was using a standard LC text field instead of a native iOS field. On 2/26/15 8:01 AM, Richard Miller wrote: I've noticed that the built in voice-to-text feature on an iPhone doesn't work in a standard LC text field. When I tap the icon on the iPhone keyboard to the left of the spacebar and then speak, no text comes into the field. Anyone know how to enable this feature? ___ 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 voice-to-text
Solved the problem. I was using a standard LC text field instead of a native iOS field. On 2/26/15 8:01 AM, Richard Miller wrote: I've noticed that the built in voice-to-text feature on an iPhone doesn't work in a standard LC text field. When I tap the icon on the iPhone keyboard to the left of the spacebar and then speak, no text comes into the field. Anyone know how to enable this feature? ___ 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
iOS voice-to-text
I've noticed that the built in voice-to-text feature on an iPhone doesn't work in a standard LC text field. When I tap the icon on the iPhone keyboard to the left of the spacebar and then speak, no text comes into the field. Anyone know how to enable this feature? ___ 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 splash screen
I tried turning off all openstack and opencard scripts. Nothing I do prevents that black screen from showing up on my iPhone 6+. I'll have to settle with using the splash screen tied in through the IOS settings page, then going directly to the first main navigational card in my stack. At least this way, the app starts up by immediately showing the splash screen, followed by a brief one second black screen, then the main navigational screen. On 2/26/15 2:43 AM, Scott Morrow wrote: Ralph, I don’t know if this will help in your case but I had a similar sounding problem in one of my iOS apps. The problem seemed dependent on actions (and a visual effect) that happened during the openCard handler. When I used send in time to call these events the black flash went away. In my case waiting 10 milliseconds made the problem intermittent. 100 milliseconds seems to have cured it. Exactly what the problem was I never (unfortunately) bothered to discover. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com office 1-800-615-0867 -- On Feb 25, 2015, at 5:56 PM, Ralph DiMola wrote: I don't see the black screen flash. I am using an iPod 5 iOS 8.1.3 and iPad 2 iOS 8.1.3. I make the splash screen in the standalone setting the same as the stack's splash screen card. I open the main card from the opencard handler in the splash screen card. I use my own re-sizing library. Mac Book OS X 10.9.5 Xcode 6.1.1 LC 6.7.2 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 Richard Miller Sent: Wednesday, February 25, 2015 5:49 PM To: How to use LiveCode Subject: iOS splash screen I am just finishing up an iOS app. Having a bit of an issue with the splash screen/startup process. Many of the iOS apps on my phone start up by immediately showing a splash screen and then transitioning to the first main screen. From the moment I start up the icon, there is no black screen or white screen. There is only a splash screen and then the main screen. This looks clean. With my LC app, I set the first card of my stack to be the splash screen, which then transitions to the first main screen. If I then avoid setting a splash screen in the application settings area, when the app first starts, I see a black screen for about a second or two, then the first card of the stack, followed shortly thereafter by the main screen. I can't seem to eliminate that initial black screen. This is not as clean a start up process as I see with other iOS apps. If I do set a splash screen in the application settings area, the app starts up by immediately showing that screen, but then transitions briefly to a black screen, followed by the first card of my stack and then the main screen. Again, I can't seem to eliminate that black screen. Is there a way to eliminate it? Thanks, Richard Miller ___ 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 splash screen
I tried this, as noted below. I still see a black screen briefly _after_ the first splash screen shows... at least on my iPhone 6+. On 2/25/15 6:40 PM, PystCat wrote: Yes and you’re going to laugh… Do a screen grab of your splash screen and set that as your splash screen under the iOS settings on LC. When the app starts on the device, it will show that graphic and then immediately go to your actual splash screen… You won’t see it happen. Paul On Feb 25, 2015, at 5:48 PM, Richard Miller wrote: I am just finishing up an iOS app. Having a bit of an issue with the splash screen/startup process. Many of the iOS apps on my phone start up by immediately showing a splash screen and then transitioning to the first main screen. From the moment I start up the icon, there is no black screen or white screen. There is only a splash screen and then the main screen. This looks clean. With my LC app, I set the first card of my stack to be the splash screen, which then transitions to the first main screen. If I then avoid setting a splash screen in the application settings area, when the app first starts, I see a black screen for about a second or two, then the first card of the stack, followed shortly thereafter by the main screen. I can't seem to eliminate that initial black screen. This is not as clean a start up process as I see with other iOS apps. If I do set a splash screen in the application settings area, the app starts up by immediately showing that screen, but then transitions briefly to a black screen, followed by the first card of my stack and then the main screen. Again, I can't seem to eliminate that black screen. Is there a way to eliminate it? Thanks, Richard Miller ___ 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
iOS splash screen
I am just finishing up an iOS app. Having a bit of an issue with the splash screen/startup process. Many of the iOS apps on my phone start up by immediately showing a splash screen and then transitioning to the first main screen. From the moment I start up the icon, there is no black screen or white screen. There is only a splash screen and then the main screen. This looks clean. With my LC app, I set the first card of my stack to be the splash screen, which then transitions to the first main screen. If I then avoid setting a splash screen in the application settings area, when the app first starts, I see a black screen for about a second or two, then the first card of the stack, followed shortly thereafter by the main screen. I can't seem to eliminate that initial black screen. This is not as clean a start up process as I see with other iOS apps. If I do set a splash screen in the application settings area, the app starts up by immediately showing that screen, but then transitions briefly to a black screen, followed by the first card of my stack and then the main screen. Again, I can't seem to eliminate that black screen. Is there a way to eliminate it? Thanks, Richard Miller ___ 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: RevMail crashing in iOS stack - LC 6.6 - 7.0.1
Re-installed Xcode. Revmail now works on my phone, but not in simulator. On 2/12/15 10:40 AM, Richard Miller wrote: Can anyone confirm if this is working with OSX 10.10.2? I am having the same crash testing it on my iPhone 6+ On 2/12/15 10:33 AM, Ralph DiMola wrote: I have no problems sending mail with both iOS and Android devices. This is the command I use for both. revMail tEmailAddress , , tSubject, tBodyText LC 6.7.1 Xcode 6.1.1 OSX 10.9.5 (iOS versions) LC 6.6.5 Win XP SP3 (Android versions) I generally don't use the simulator. This is probably simulator specific problem. 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 Richard Miller Sent: Thursday, February 12, 2015 10:19 AM To: How to use LiveCode Subject: RevMail crashing in iOS stack - LC 6.6 - 7.0.1 I am having a problem getting RevMail to work in an IOS LC stack. I have tried five different versions of LC (from 6.6 to 7.0.1), but each time I try the RevMail function, the system displays a blank email with only the subject line filled in. I can't get the email address or body to fill in. The blank email sits there for about 10 seconds, then I get a crash report (part of which is shown below). Yosemite 10.10.2 Xcode 6.6.1 Not sure which version of the iOS SDK is installed (how would I identify that?), but I thought the latest version was installed when I installed Xcode. The stack I am testing has only one card and one button, with this script: on mouseUp revmail "w...@together.net",,"Help","data" end mouseUp Any ideas? Thanks, Richard Miller Process: MailCompositionService [2034] Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor m/Developer/SDKs/iPhoneSimulator.sdk/Applications/MailCompositionService.app /MailCompositionService Identifier:MailCompositionService Version: 1.0 (1.0) Code Type: X86-64 (Native) Parent Process:launchd_sim [1977] Responsible: launchd_sim [1977] User ID: 503 Date/Time: 2015-02-12 09:59:36.980 -0500 OS Version:Mac OS X 10.10.2 (14C109) Report Version:11 Anonymous UUID:DE114208-C273-8696-1D5B-1CF792FDBE37 Time Awake Since Boot: 61000 seconds Crashed Thread:0 Dispatch queue: com.apple.main-thread Exception Type:EXC_CRASH (SIGABRT) Exception Codes: 0x, 0x Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument' terminating with uncaught exception of type NSException abort() called CoreSimulator 110.4 - Device: iPhone 5s - Runtime: iOS 8.1 (12B411) - DeviceType: iPhone 5s ___ 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: RevMail crashing in iOS stack - LC 6.6 - 7.0.1
Can anyone confirm if this is working with OSX 10.10.2? I am having the same crash testing it on my iPhone 6+ On 2/12/15 10:33 AM, Ralph DiMola wrote: I have no problems sending mail with both iOS and Android devices. This is the command I use for both. revMail tEmailAddress , , tSubject, tBodyText LC 6.7.1 Xcode 6.1.1 OSX 10.9.5 (iOS versions) LC 6.6.5 Win XP SP3 (Android versions) I generally don't use the simulator. This is probably simulator specific problem. 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 Richard Miller Sent: Thursday, February 12, 2015 10:19 AM To: How to use LiveCode Subject: RevMail crashing in iOS stack - LC 6.6 - 7.0.1 I am having a problem getting RevMail to work in an IOS LC stack. I have tried five different versions of LC (from 6.6 to 7.0.1), but each time I try the RevMail function, the system displays a blank email with only the subject line filled in. I can't get the email address or body to fill in. The blank email sits there for about 10 seconds, then I get a crash report (part of which is shown below). Yosemite 10.10.2 Xcode 6.6.1 Not sure which version of the iOS SDK is installed (how would I identify that?), but I thought the latest version was installed when I installed Xcode. The stack I am testing has only one card and one button, with this script: on mouseUp revmail "w...@together.net",,"Help","data" end mouseUp Any ideas? Thanks, Richard Miller Process: MailCompositionService [2034] Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfor m/Developer/SDKs/iPhoneSimulator.sdk/Applications/MailCompositionService.app /MailCompositionService Identifier:MailCompositionService Version: 1.0 (1.0) Code Type: X86-64 (Native) Parent Process:launchd_sim [1977] Responsible: launchd_sim [1977] User ID: 503 Date/Time: 2015-02-12 09:59:36.980 -0500 OS Version:Mac OS X 10.10.2 (14C109) Report Version:11 Anonymous UUID:DE114208-C273-8696-1D5B-1CF792FDBE37 Time Awake Since Boot: 61000 seconds Crashed Thread:0 Dispatch queue: com.apple.main-thread Exception Type:EXC_CRASH (SIGABRT) Exception Codes: 0x, 0x Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument' terminating with uncaught exception of type NSException abort() called CoreSimulator 110.4 - Device: iPhone 5s - Runtime: iOS 8.1 (12B411) - DeviceType: iPhone 5s ___ 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
RevMail crashing in iOS stack - LC 6.6 - 7.0.1
I am having a problem getting RevMail to work in an IOS LC stack. I have tried five different versions of LC (from 6.6 to 7.0.1), but each time I try the RevMail function, the system displays a blank email with only the subject line filled in. I can't get the email address or body to fill in. The blank email sits there for about 10 seconds, then I get a crash report (part of which is shown below). Yosemite 10.10.2 Xcode 6.6.1 Not sure which version of the iOS SDK is installed (how would I identify that?), but I thought the latest version was installed when I installed Xcode. The stack I am testing has only one card and one button, with this script: on mouseUp revmail "w...@together.net",,"Help","data" end mouseUp Any ideas? Thanks, Richard Miller Process: MailCompositionService [2034] Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/MailCompositionService.app/MailCompositionService Identifier:MailCompositionService Version: 1.0 (1.0) Code Type: X86-64 (Native) Parent Process:launchd_sim [1977] Responsible: launchd_sim [1977] User ID: 503 Date/Time: 2015-02-12 09:59:36.980 -0500 OS Version:Mac OS X 10.10.2 (14C109) Report Version:11 Anonymous UUID:DE114208-C273-8696-1D5B-1CF792FDBE37 Time Awake Since Boot: 61000 seconds Crashed Thread:0 Dispatch queue: com.apple.main-thread Exception Type:EXC_CRASH (SIGABRT) Exception Codes: 0x, 0x Application Specific Information: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument' terminating with uncaught exception of type NSException abort() called CoreSimulator 110.4 - Device: iPhone 5s - Runtime: iOS 8.1 (12B411) - DeviceType: iPhone 5s ___ 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: Testing iOS app on non-local devices
Thanks, Matthias. On 2/4/15 9:46 AM, Matthias Rebbe | M-R-D wrote: Hi Richard, yes, it is still mandatory to have the UDIDs. You have add those to your dev account. Btw.: A nice tool for submitting iOS Apps to the test devices is Airlaunch from Jacqueline Landman Gay. A nice review of that tool can be found here http://newsletters.livecode.com/february/issue128/newsletter3.php I am using it with dropbox to publish the files to the test devices. Regards, Matthias Am 04.02.2015 um 13:49 schrieb Richard Miller : I know Apple makes TestFlight available for testing a pre-release app on non-local devices. What options are available for testing at much earlier stages of development? In other words, If I have an app running on my local iPhone, how can I test this on iPhones and iPads of friends? I know I did this a few years ago, but it was necessary then to have the UDID of each device. Is this still the case? Thanks, Richard Miller ___ 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
Testing iOS app on non-local devices
I know Apple makes TestFlight available for testing a pre-release app on non-local devices. What options are available for testing at much earlier stages of development? In other words, If I have an app running on my local iPhone, how can I test this on iPhones and iPads of friends? I know I did this a few years ago, but it was necessary then to have the UDID of each device. Is this still the case? Thanks, Richard Miller ___ 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 + CGI server + Yosemite
I am upgrading my old Mac Mini server (10.4) to a new Yosemite Mini. I was using an old RunRev engine to handle cgi processing. What would be the recommended LC engine for Yosemite? Thanks, Richard Miller ___ 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
I have a video recording solution for LC 7
I have a Windows DLL available which supports video recording through LC 7 using DirectX and Quicktime. It is quite stable. Email me if you would like a copy of it. Richard Miller ___ 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, Windows 8.1 and Recording Video
Is it possible to record video with a webcam through LC under Windows 8.1? I've been trying to do that on a new PC without any luck. The sample LC project doesn't work, regardless of whether I set the videograbber to "QT", "VFW" or "DirectX". My old (previously working) video capture stack does nothing either. I have QT installed. I've tried LC 6.0 and 7.0. Has anyone gotten this to work? Thanks, Richard Miller ___ 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: mergAVCam camera control
Thanks. I guess it is not available at present. On 9/1/14, 9:04 AM, Matthias Rebbe | M-R-D wrote: Hi Richard, i just checked the file mergAndroid.html which is included in the mergAndroid archive. I cannot find anything about mergAVCam. But there is a function mergAVPick listed. --> function mergAVPick [pSource],[pQuality],[pDurationLimit] Record video Parameters: • pSource - (optional with "camera" default) The source of the video. One of: • camera - Record new video • library - Select video from the library. Not currently limited to the specified duration and quality • pQuality - (optional with The default) The quality of the video. One of: • low • high • pDurationLimit - (optional with 600 default) The maximum duration of the video. Returns The file path of the video <-- The external is still available for download on Monte´s site after successful login. But i am not sure if you need a subscription to download it. Regards, Matthias Am 01.09.2014 um 14:30 schrieb Richard Miller : Is this Android external actually available? I can't find anything about it. It's supposed to be part of MergAndroid, but I can't find out much on that either. Thanks, Richard Miller ___ 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
mergAVCam camera control
Is this Android external actually available? I can't find anything about it. It's supposed to be part of MergAndroid, but I can't find out much on that either. Thanks, Richard Miller ___ 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: iPhone kiosk
The hardware device controls an iPhone remotely through bluetooth... not a process Apple supports. This isn't a game controller. It is complete control of the phone. On 8/25/14, 5:26 PM, Mark Wilcox wrote: I'm no jailbreaking expert but as I understood it, the issue is not that you can't get new versions of iOS quickly but that you can't install older firmware to a device unless you have already jailbroken it. You can't overwrite legitimate firmware with anything but newer legitimate firmware because the firmware itself includes version and signature checking. What's so special about this custom hardware that the device needs to be jailbroken? Why can't it go down the MFi route? ___ 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: iPhone kiosk
120 fps is vital if you are analyzing any high-speed movement one frame at a time. It has nothing to do with flicker. If I sell you an ATM machine for your store, do you care one bit what kind of hardware is in it? Do you care that the PC in it can surf the net or do graphics work? You just want a machine that does its stated task, costs you $50/month, and makes a lot more than that through customer use. On 8/25/14, 4:05 PM, Rick Harrison wrote: Hi Richard, Yes, I understand the 120fps thing but some marketing people were touting 120fps as being the best for totally unnoticeable flicker especially for 3D type application viewing etc. It’s overkill for the human eye under most circumstances. Since your buyers will know that it is an iPhone with a one trick app that you are providing, it really doesn’t make any sense to have the device jailbroken. Give them all of the functionality of the device and just tell them which app to run. You avoid all of the pitfalls of jailbreaking the phones and for updating the app. (No point to not allowing users to use the other functions of the iPhone that they paid good money for.) Without knowing more about your project to understand why you believe that your device is going to earn the owner lots of extra cash, I really can’t give anymore suggestions. Hope the discussion was helpful to you guys in some way. Good luck! Rick On Aug 25, 2014, at 3:30 PM, Richard Miller wrote: The slo-mo mode of the phone works really well. If you want to see regular playback of a video, you can record at 30 fps. There is no point in recording at 120 fps to see regular playback, as it will look identical to a recording made at 30 fps. The only reason to record at 120 fps is to see slow motion playback. A $1000 annual cost for our device is a small fraction of what it earns the owner of the device. Richard Sent from my iPhone On Aug 25, 2014, at 3:10 PM, Rick Harrison wrote: Hi Richard, So, the person you sell your device to will have to sign up for the Verizon/AT&T phone contract which will reveal the fact that there is indeed an Apple iPhone involved in the product? (Isn’t the 2 year contract about $2,000 total?) If the product is not concealing the iPhone, then again, why would I as a user want such a high end price wise one trick pony iPhone device? Is the playback of the Slo-Mo at 30fps then since it is billed as being at 1/4 speed playback? Not having said device in my possession this is a somewhat interesting feature. (I’m curious as to why Apple doesn’t allow normal video recording at 120fps as an option.) Thanks, Rick ___ 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: iPhone kiosk
Jailbreaking is a pain, but I see no way around it. We use a custom hardware add-on that can only communicate to the iPhone if it is jailbroken. As far as jailbreaking new devices is concerned, the idea is to maintain a cloned image of an earlier jailbroken device and then restore that image to all new iPhones... overwriting any new OS upgrades it may have shipped with. We're not concerned about having access to typical new iOS upgrades. If a new OS comes out that has a significant new feature in it for us, we'd have to wait to use that feature until a jailbreak was available. But that wait doesn't effect our ongoing business. Richard On 8/25/14, 3:31 PM, Mark Wilcox wrote: Jailbreaking is a pain - do you really need it? I ask because iOS has a kiosk mode - look up "Guided Access". If you have to jailbreak you always get new devices with the latest firmware and then have to wait for someone to create a new jailbreak. If you retain control/ownership of the devices then you can use an enterprise developer account for production and manage updates with a Mobile Device/Application Management solution - MDM can also trigger "single app mode" (not sure how this is different from Guided Access) remotely. There are third party solutions and Apple provides a basic free one (called Profile Manager) that ships as part of OS X Server (which you can have a copy of for free with an iOS developer account). Updating apps by simply downloading a new stackfile is entirely doable in an iOS device - as stated by others, it's just against the app store rules. That doesn't let you update LiveCode itself though, in case you ever need that. I think the key consideration around updates is how the app will get updated if it is always running. For that I think you probably need a MDM solution so you can release the device from single app mode, update it and put it back into single app mode. Of course the devil is in the details but I recommend looking into all of the legitimate solutions before going down the jailbreak route. ___ 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: iPhone kiosk
The slo-mo mode of the phone works really well. If you want to see regular playback of a video, you can record at 30 fps. There is no point in recording at 120 fps to see regular playback, as it will look identical to a recording made at 30 fps. The only reason to record at 120 fps is to see slow motion playback. A $1000 annual cost for our device is a small fraction of what it earns the owner of the device. Richard Sent from my iPhone > On Aug 25, 2014, at 3:10 PM, Rick Harrison wrote: > > Hi Richard, > > So, the person you sell your device to will have to > sign up for the Verizon/AT&T phone contract which > will reveal the fact that there is indeed an Apple iPhone > involved in the product? (Isn’t the 2 year contract about $2,000 total?) > > If the product is not concealing the iPhone, then again, why would I > as a user want such a high end price wise one trick pony iPhone device? > > Is the playback of the Slo-Mo at 30fps then since it is billed as being at > 1/4 speed playback? > Not having said device in my possession this is a somewhat interesting > feature. > (I’m curious as to why Apple doesn’t allow normal video recording at 120fps > as an option.) > > Thanks, > > Rick > > >> On Aug 25, 2014, at 2:16 PM, Richard Miller wrote: >> >> Hi Rick, >> >> https://www.apple.com/iphone-5s/camera/ >> >> I own it and use the 120 fps slo-mo feature regularly. >> >> This is not a contract-free arrangement. It's a conventional purchase of an >> iPhone from Verizon with monthly payments. >> >> There's no attempt to conceal the phone. >> >> Why would Apple care what we do with the phone? We're not advertising any >> aspect of the business as an "Apple-driven product'. >> >> No problem with you playing Devil's advocate :) I appreciate it. >> >> Our business model is not price-sensitive. It is quality-sensitive. >> >> Richard >> >> >> >> >>> On 8/25/14, 2:02 PM, Rick Harrison wrote: >>> Hi Richard, >>> >>> http://www.apple.com/iphone-5s/specs/ >>> >>> I only see 30fps recording and 60fps for playback for this device. (iPhone >>> 5s.) >>> Where are you getting 120fps technical information for this? >>> >>> >>> Here’s the 5th Generation iPod Touch specs too. >>> >>> http://www.apple.com/ipod-touch/specs.html >>> >>> >>> So as I understand things now, you are hoping to >>> use a contract free iPhone 5s strictly for the video >>> camera and video display capabilities so that you >>> can make it the center of some other hardware >>> type device (perhaps a sports helmet camera or >>> something similar.) Base price just for the iPhone >>> $649. (Before any markup by you.) You will also >>> be trying to conceal the fact that the iPhone is the >>> centerpiece technology for the device. >>> >>> Someone on the internet will probably do a take apart >>> of your device and when they publish the fact that >>> the iPhone is the center piece of the device, Apple, Inc. >>> will probably set it’s legal department loose on you >>> and tell you to at least seize and desist your >>> operations or the manufacture of your device. >>> (They will spout some licensing issue no doubt.) >>> >>> (Please understand I’m trying to play Devil’s Advocate >>> here to save you the potential legal hassles in advance.) >>> >>> It would probably be cheaper for you to just build your >>> device from scratch as a prototype and then take it >>> to a manufacturer to actually put the device together. >>> (You avoid all the trouble with Apple, Inc. that way.) >>> >>> I hope this is somewhat helpful to you. >>> >>> Rick >>> >>> >>> >>> >>> >>> >>> >>> >>>> On Aug 25, 2014, at 1:19 PM, Richard Miller wrote: >>>> >>>> This is used in a kiosk. The user never sees the phone and doesn't even >>>> know the kiosk is powered by it. >>>> >>>> I need the 120 fps only available in the 5s. >>>> >>>> >>>> >>>>> On 8/25/14, 12:55 PM, Rick Harrison wrote: >>>>> Hi Richard, >>>>> >>>>> The iPod Touch 5th Generation and earlier down to I believe 3rd generation >>>>> all have cameras and video capability. >>
Re: iPhone kiosk
Hi Rick, https://www.apple.com/iphone-5s/camera/ I own it and use the 120 fps slo-mo feature regularly. This is not a contract-free arrangement. It's a conventional purchase of an iPhone from Verizon with monthly payments. There's no attempt to conceal the phone. Why would Apple care what we do with the phone? We're not advertising any aspect of the business as an "Apple-driven product'. No problem with you playing Devil's advocate :) I appreciate it. Our business model is not price-sensitive. It is quality-sensitive. Richard On 8/25/14, 2:02 PM, Rick Harrison wrote: Hi Richard, http://www.apple.com/iphone-5s/specs/ I only see 30fps recording and 60fps for playback for this device. (iPhone 5s.) Where are you getting 120fps technical information for this? Here’s the 5th Generation iPod Touch specs too. http://www.apple.com/ipod-touch/specs.html So as I understand things now, you are hoping to use a contract free iPhone 5s strictly for the video camera and video display capabilities so that you can make it the center of some other hardware type device (perhaps a sports helmet camera or something similar.) Base price just for the iPhone $649. (Before any markup by you.) You will also be trying to conceal the fact that the iPhone is the centerpiece technology for the device. Someone on the internet will probably do a take apart of your device and when they publish the fact that the iPhone is the center piece of the device, Apple, Inc. will probably set it’s legal department loose on you and tell you to at least seize and desist your operations or the manufacture of your device. (They will spout some licensing issue no doubt.) (Please understand I’m trying to play Devil’s Advocate here to save you the potential legal hassles in advance.) It would probably be cheaper for you to just build your device from scratch as a prototype and then take it to a manufacturer to actually put the device together. (You avoid all the trouble with Apple, Inc. that way.) I hope this is somewhat helpful to you. Rick On Aug 25, 2014, at 1:19 PM, Richard Miller wrote: This is used in a kiosk. The user never sees the phone and doesn't even know the kiosk is powered by it. I need the 120 fps only available in the 5s. On 8/25/14, 12:55 PM, Rick Harrison wrote: Hi Richard, The iPod Touch 5th Generation and earlier down to I believe 3rd generation all have cameras and video capability. Why would I as a user want a one trick pony for all of that money for a new device when a simple app that would run under iOS would be sufficient? (Especially if I already own said iDevice.) You are also asking people to trust “Jailbroken” technology with your app along with the possible security holes as well. I think you may be shooting yourself in the marketing foot with the route you are trying to go. It is certainly a more expensive route from a developmental standpoint too. Just my 2 cents. I hope it helps. Rick On Aug 25, 2014, at 12:22 PM, Richard Miller wrote: Need the iPhone 5s camera. ___ 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: iPhone kiosk
This is used in a kiosk. The user never sees the phone and doesn't even know the kiosk is powered by it. I need the 120 fps only available in the 5s. On 8/25/14, 12:55 PM, Rick Harrison wrote: Hi Richard, The iPod Touch 5th Generation and earlier down to I believe 3rd generation all have cameras and video capability. Why would I as a user want a one trick pony for all of that money for a new device when a simple app that would run under iOS would be sufficient? (Especially if I already own said iDevice.) You are also asking people to trust “Jailbroken” technology with your app along with the possible security holes as well. I think you may be shooting yourself in the marketing foot with the route you are trying to go. It is certainly a more expensive route from a developmental standpoint too. Just my 2 cents. I hope it helps. Rick On Aug 25, 2014, at 12:22 PM, Richard Miller wrote: Need the iPhone 5s camera. ___ 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: iPhone kiosk
I'd like to know more about the corporate distribution option as well. Anyone here have experience with that? My app requires jailbreaking to connect to a custom hardware device. On 8/25/14, 12:29 PM, Charles E Buchwald wrote: Hi Richard, I haven't used this in a production app (one submitted to the App Store), because as I understand it it violates the rules. But you mentioned a jailbroken device, so I don't see any technical reason why it wouldn't work. Have you considered the App Store scheme they have for corporate distribution? I assume that it would give you an automated way to make updates, but I don't know the details. It might be easier then jailbreaking your devices. I'll be working on a system soon that could use iPads in a way similar to what you are suggesting, and I'll have a similar need to make updates, so I'm curious to see how this thread pans out. Cheers, - Charles On 25 Aug 2014, at 11:21 AM, Richard Miller wrote: Hi Charles, About the update process, I didn't know one could use this approach with an iPhone. You are presumably talking about initially installing a small startup app (which doesn't change), which upon startup, either goes to a stack for the bulk of the apps functionality, or updates that stack first if a remote update has been posted. I have used this approach many times with a desktop app, but didn't know it could be used with an iOS device. Have you used this approach yourself? Thanks for the info on iBackupbot. Richard On 8/25/14, 11:04 AM, Charles E Buchwald wrote: Hi Richard, I've used iBackupbot for backups and restores when working with a few different iOS devices. http://www.icopybot.com/itunes-backup-manager.htm It's not very refined, but it's useful. You can use it to help with making clones by restoring as you suggest. I think we all struggle with keeping apps up to date. If you are not using the App Store for updates, how about using the "splash stack" technique, and checking for updates on startup, like you might with a desktop app? If you have net access, you should be able to check for updates, download and replace the primary stack. I guess you'll want to keep any user data or preferences separate and stored in an appropriate place, as usual. Cheers, - Charles On 25 Aug 2014, at 8:45 AM, Richard Miller wrote: Hoping someone here knows the answer to this. I realize it's an unusual situation. I am setting up a jail-broken iPhone with a LC app. This phone will be set to boot directly into the LC app. The phone will only ever be used for this one purpose. Think of it as an iPhone kiosk. Users will not be able to access any functions on the phone outside of the app. Once I have completed all the development work on the first phone, I want to clone this phone to other iPhones so that each is an exact copy. Is that possible? Can I create an iTunes backup of the first phone and then use that backup to "restore" it to new iPhones? Second question is in regards to distributing and updating the app. The app itself is not to be sold through the App Store. My business model is based on distributing these iPhones (with the app pre-installed). Again, the phone will never be used for any purpose outside of my app. The phone will not be used to make calls, but it does need to access the internet. Most importantly, my app needs to be kept updated. Is there some way to automatically update the app (even through a jail-broken means)? I imagine larger corporations have exclusive apps that are not distributed publicly and are kept updated. How does that work? Thanks, Richard Miller ___ 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 -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Mac OSX 10.9.4, LC 6.6.2 Commercial LC Developer Tools: http://buchwald.ca/developer-tools/ Email Notice: http://wp.me/P3aT4d-33 ___ 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 -- Charles E. Buchwald CEO/Director General Museografica Digital Amsterdam 110, Condesa CP 06100 México DF office: +52 (55) 5615 7411 direct: +52 (55) 8421 6097 http://digital.museografica.com char...@digital.museografica.com Consultant (Design & IT) Char
Re: iPhone kiosk
The Android problem is the almost total lack of LC functionality for video recording and playback. On 8/25/14, 12:16 PM, Peter Alcibiades wrote: Its not answering the question, but You could get a much cheaper android phone, make the first one how you want it, and then clone using cyanogenmod backup and resotre using a flash card. Very simple process. The problem with iphone might be that someone else will think of it if your app takes off and undercut dramatically. Don't know about upgrades in Android. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-Speed-tp4682397p4682444.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 ___ 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: iPhone kiosk
Need the iPhone 5s camera. On 8/25/14, 10:13 AM, Colin Holgate wrote: Don’t know the answer to most of your questions, but wouldn’t an iPod Touch be cheaper? ___ 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: iPhone kiosk
Hi Charles, About the update process, I didn't know one could use this approach with an iPhone. You are presumably talking about initially installing a small startup app (which doesn't change), which upon startup, either goes to a stack for the bulk of the apps functionality, or updates that stack first if a remote update has been posted. I have used this approach many times with a desktop app, but didn't know it could be used with an iOS device. Have you used this approach yourself? Thanks for the info on iBackupbot. Richard On 8/25/14, 11:04 AM, Charles E Buchwald wrote: Hi Richard, I've used iBackupbot for backups and restores when working with a few different iOS devices. http://www.icopybot.com/itunes-backup-manager.htm It's not very refined, but it's useful. You can use it to help with making clones by restoring as you suggest. I think we all struggle with keeping apps up to date. If you are not using the App Store for updates, how about using the "splash stack" technique, and checking for updates on startup, like you might with a desktop app? If you have net access, you should be able to check for updates, download and replace the primary stack. I guess you'll want to keep any user data or preferences separate and stored in an appropriate place, as usual. Cheers, - Charles On 25 Aug 2014, at 8:45 AM, Richard Miller wrote: Hoping someone here knows the answer to this. I realize it's an unusual situation. I am setting up a jail-broken iPhone with a LC app. This phone will be set to boot directly into the LC app. The phone will only ever be used for this one purpose. Think of it as an iPhone kiosk. Users will not be able to access any functions on the phone outside of the app. Once I have completed all the development work on the first phone, I want to clone this phone to other iPhones so that each is an exact copy. Is that possible? Can I create an iTunes backup of the first phone and then use that backup to "restore" it to new iPhones? Second question is in regards to distributing and updating the app. The app itself is not to be sold through the App Store. My business model is based on distributing these iPhones (with the app pre-installed). Again, the phone will never be used for any purpose outside of my app. The phone will not be used to make calls, but it does need to access the internet. Most importantly, my app needs to be kept updated. Is there some way to automatically update the app (even through a jail-broken means)? I imagine larger corporations have exclusive apps that are not distributed publicly and are kept updated. How does that work? Thanks, Richard Miller ___ 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 -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Mac OSX 10.9.4, LC 6.6.2 Commercial LC Developer Tools: http://buchwald.ca/developer-tools/ Email Notice: http://wp.me/P3aT4d-33 ___ 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
iPhone kiosk
Hoping someone here knows the answer to this. I realize it's an unusual situation. I am setting up a jail-broken iPhone with a LC app. This phone will be set to boot directly into the LC app. The phone will only ever be used for this one purpose. Think of it as an iPhone kiosk. Users will not be able to access any functions on the phone outside of the app. Once I have completed all the development work on the first phone, I want to clone this phone to other iPhones so that each is an exact copy. Is that possible? Can I create an iTunes backup of the first phone and then use that backup to "restore" it to new iPhones? Second question is in regards to distributing and updating the app. The app itself is not to be sold through the App Store. My business model is based on distributing these iPhones (with the app pre-installed). Again, the phone will never be used for any purpose outside of my app. The phone will not be used to make calls, but it does need to access the internet. Most importantly, my app needs to be kept updated. Is there some way to automatically update the app (even through a jail-broken means)? I imagine larger corporations have exclusive apps that are not distributed publicly and are kept updated. How does that work? Thanks, Richard Miller ___ 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 video capture
Wondering if anyone knows of any creative way to capture video on an Android device through a LC app. Thanks, Richard Miller ___ 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: [ANN] Facebook Lib
Just reporting that I have had success with Andre's Facebook Lib in a commercial product. Got it working on the Window's side as well, which was initially a bit more challenging. And we received the necessary approvals from Facebook.. Thanks, Andre! Richard Miller On 5/3/14, 8:58 PM, Andre Garzia wrote: Guys, I've added a PDF quick guide that you can take a look at: http://andregarzia.com/files/FacebookLib.pdf This guide is included with the new version of the library. There is also an update checked if you click on the version number. Current version is 1.5 so if you're not running it then you should download again. Cheers ___ 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: [ANN] Facebook Lib
That sounds about right. I am having more problems on the Windows side than on the Mac side. If you get it to log out and then display the log-in window again (i.e. asking for username/pw), please let me know. I can't get that working. Richard On 5/3/14, 8:48 AM, Gerry wrote: Mac. And no, not tried that. Also the FB authorisation window displays as blank before disappearing - it seems to authorise ok without me doing anything and lets me post from my app too. Not had a lot of time to look beyond the basics yet, and I'm really waiting for the iOS version :) Gerry Sent from my iPad On 3 May 2014, at 7:55 pm, Richard Miller wrote: Gerry, Are you running in on a Mac or PC? Have you been able to log out of one FB account and log back in under a different one? Thanks, Richard Miller On 5/2/14, 5:48 PM, Gerry Orkin wrote: Got mine - works so well and I can't wait till the mobile version. Gerry ___ 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: [ANN] Facebook Lib
Gerry, Are you running in on a Mac or PC? Have you been able to log out of one FB account and log back in under a different one? Thanks, Richard Miller On 5/2/14, 5:48 PM, Gerry Orkin wrote: Got mine - works so well and I can't wait till the mobile version. Gerry ___ 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: LC, Android & video control
Thanks, Mark. Is there even support yet for capturing video on an Android device through LC? On 5/1/14, 9:29 AM, Mark Wilcox wrote: I'm not aware of any external that gives you low-level video access on Android. I think it would be possible to create such an external but - Android externals are a rather new feature, Monte did a lot of the work to enable them (I'm not sure if anyone else has built one yet?) and lower level video control / editing only appeared in Android version 4.0. To support anything earlier than that you'd have to do it all on the CPU with the Android FFmpeg port rather than the hardware video decoders. Guaranteeing it would work across a very wide range of Android devices would be tough due to the hardware fragmentation. Some new Android devices don't have the stock Movie Studio app included - makes me suspicious. Probably OK on anything with a Qualcomm chip though. RunRev are supposed to be doing an overhaul of multimedia as part of the Kickstarter goals... not sure what's in the requirements for that. Mark On Thursday, 1 May 2014, 12:11, Richard Miller wrote: Is it possible to have frame-by-frame video control through LC on an Android phone? As well, to be able to jump to any point in a video? Thanks, Richard Miller ___ 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
LC, Android & video control
Is it possible to have frame-by-frame video control through LC on an Android phone? As well, to be able to jump to any point in a video? Thanks, Richard Miller ___ 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, IOS 7 and UIKeyCommand
What would be required to make the UIKeyCommand functionality available to a LC ios app? I want to be able to control a custom in-house iPhone 5s app via bluetooth keyboard. |(Some info here:) |||http://www.danandcheryl.com/2014/04/how-and-why-to-implement-keyboard-shortcuts-in-ios-7 https://developer.apple.com/library/ios/documentation/uikit/reference/UIKeyCommand_class/Reference/Reference.html Thanks, Richard Miller ___ 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: Using a package to distribute LC app over ARD
Thanks very much, Thierry! Will test this shortly. Richard Sent from my iPhone > On Apr 18, 2014, at 9:53 AM, Thierry Douez wrote: > > Hi Richard, > > There is an option to launch a shell which will execute some Applescript. > > Here is one I just tried successfullly on Mavericks: > > I create a text file testOSAscript.sh which contains: > > #!/bin/bash > > osascript < tell application "System Events" > make new login item at end with properties {path:"$1", hidden:true} > properties of login items > end tell > EndScript > -- > > and did execute this way on the Terminal: > >> sh testOSAscript.sh "/the/fullpath/of/myApp.app" > > in the script file, you can get rid of the properties line (here for debug) > > BTW, you can run this script many times, it won't create a new item > if it's already set! > > Tested on Mavericks only! > > HTH, > > Regards, > > Thierry > > -------- > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf > > > 2014-04-17 13:49 GMT+02:00 Richard Miller : >> I am using Iceberg to create a Mac installer package which contains my LC >> app. This package is then being used by Apple Remote Desktop to >> automatically install to multiple Mac's. These Mac's are generally in a >> logged-out state during the install. All of this works fine, except for this >> last piece. >> >> After the install, I need to add my app to the users list of Startup items. >> I know Iceberg can run a post-install script. But I'm not sure if it is >> possible to add to the Startup items list while the Mac is logged out. If it >> is possible, perhaps someone can help me create the shell script to do this. >> I know how to do it with AppleScript, but not with a shell script. >> >> Thanks, >> Richard Miller > > ___ > 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: Using a package to distribute LC app over ARD
Thanks, Mark. I only need the Mac code. It looks like you gave me AppleScript code. I already have that piece working. But thanks for it anyway. What I need is shell script that can be saved as a .sh file. The package maker app, Iceberg, can only execute .sh files after installing various files to the users system. It can't run AppleScript code, unless there is a way to turn it into a shell script and save it as a .sh file. Richard Sent from my iPhone > On Apr 17, 2014, at 2:21 PM, Mark Talluto wrote: > >> On Apr 17, 2014, at 4:49 AM, Richard Miller wrote: >> >> I am using Iceberg to create a Mac installer package which contains my LC >> app. This package is then being used by Apple Remote Desktop to >> automatically install to multiple Mac's. These Mac's are generally in a >> logged-out state during the install. All of this works fine, except for this >> last piece. >> >> After the install, I need to add my app to the users list of Startup items. >> I know Iceberg can run a post-install script. But I'm not sure if it is >> possible to add to the Startup items list while the Mac is logged out. If it >> is possible, perhaps someone can help me create the shell script to do this. >> I know how to do it with AppleScript, but not with a shell script. > > > > Hi Richard, > > I may not be able to help you with getting ARD to set up your start up items, > but I can tell you the code we use. You could have your app set this up on > first run if you like. > > You will want to adjust any reference to Acuity System or patching related > specifically to our program. Here is some code for Windows as well. I do > not have code for Linux unfortunately. > > private command addMacAlias > put "set theAppPath to" && quote & (sk_InstallationPath("bundle") & > gSKPathingA["bundleName"] & "/") & quote & lf & \ > "tell application" && quote & "System Events" & quote & lf & \ > "make new login item at end with properties {path:theAppPath}" & lf > & \ > "end tell" into tCommand --BUILD THE APPLESCRIPT > do tCommand as "AppleScript" > end addMacAlias > > > private command removeMacAlias > put gSKPathingA["bundleName"] into tAppName > replace ".app" with empty in tAppName > > put "set appToDelete to" && quote & tAppName & quote & lf & \ > "tell application" && quote & "System Events" & quote & lf & \ > "set login_items to name of every login item" & lf & \ > "if appToDelete is in login_items then" & lf & \ > "delete login item appToDelete" & lf & \ > "end if" & lf & "end tell" into tCommand --BUILD THE APPLESCRIPT > do tCommand as "AppleScript" > end removeMacAlias > > > private command addWinAlias > put sk_Installationpath("bundle") & gSKPathingA["bundleName"] into > tAppPath > replace "/" with "\" in tAppPath > --FOLLOWING VBSCRIPT IS PARTIALLY COURTESY OF SIMON FROM THE RUNREV FORUMS > --BE VERY CAREFUL WITH *ANY* MODIFICATIONS DUE TO VBSCRIPT BITCHINESS > put "' Make sure variables are declared." & cr & \ > " option explicit" & cr & \ > "" & cr & \ > " ' Routine to create Acuity System.lnk on the > Windows startup folder." & cr & \ > " sub CreateShortCut()" & cr & \ > "dim objShell, strPath, objLink" & cr & \ > "set objShell = CreateObject(WScript.Shell)" & cr > & \ > "strPath = objShell.SpecialFolders(Startup)" & cr > & \ > "set objLink = objShell.CreateShortcut(strPath & \Acuity > System.lnk)" & cr & \ > "objLink.Arguments = -skdelay5" & cr & \ > "objLink.Description = Acuity System" & cr & \ > "objLink.TargetPath = " & tAppPath & "" & cr & \ > "objLink.WindowStyle = 1" & cr & \ > "objLink.WorkingDirectory = " & $HOMEDRIVE & > "\windows" & cr & \ > "objLink.Save" & cr & \ > " end sub" & cr & \ > "" & cr & \ > " ' Program starts running here." & cr & \ > " call CreateShortCut()" into tScript > replace "" with quote in tScript > do tScript as VBscript > end addWinAlias > > > private command removeWinAlias > delete file (specialFolderPath("7") & "/Acuity System.lnk") > end removeWinAlias > > > Best regards, > > Mark Talluto > 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
Using a package to distribute LC app over ARD
I am using Iceberg to create a Mac installer package which contains my LC app. This package is then being used by Apple Remote Desktop to automatically install to multiple Mac's. These Mac's are generally in a logged-out state during the install. All of this works fine, except for this last piece. After the install, I need to add my app to the users list of Startup items. I know Iceberg can run a post-install script. But I'm not sure if it is possible to add to the Startup items list while the Mac is logged out. If it is possible, perhaps someone can help me create the shell script to do this. I know how to do it with AppleScript, but not with a shell script. Thanks, Richard Miller ___ 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: Sending mail (invisibly) from inside a Mac LC app
Yes, Ben... I agree with you. The frustration is that, in testing both Shao's library and Sarah's with one client in particular (120 Mac's), we couldn't get either to work with their mail settings (and we tried numerous settings). It works fine using my GoDaddy settings, so I know the implementation is correct. If there was even a little technical help available, perhaps one of these could be made to work. But no luck so far. Richard On 4/2/14 7:47 AM, Ben Rubinstein wrote: I'm still surprised that your original approach of doing SMTP directly from inside LC wasn't sucessful. I have an app that does data transformation jobs on a regularly scheduled basis, and sends reports via email. I coded it many years ago, basing this part on Shao Shen's libSMTP; with simple configuration options for SMTP server, port, auth type, username and password; and since then it's been deployed by a number of different clients, and we've always been able to configure it successfully to work with the mail server in their environment. For home users, maybe you could use AppleScript to extract the configuration from their Mail app at startup, and if necessary ask them to confirm the details (you probably have to ask them to confirm the password even in the best case); for corporate users getting the details of their mail server may have to be part of the (one time for the organisation) configuration. But once you have the configuration, taking this approach feels more robust, since it doesn't require using AppleScript to work with a third-party piece of software which may change outside your control (Apple are rubbish at implementing their own technology, including AppleScript, consistently) and may not always be installed. (On my own Mac for example, Mail is always there, because it's not worth the trouble to deinstall it; but I've never used it in all the years since moving to OS X. (I used to be an Outlook/Entourage user, then I switched to Thunderbird). So your software would launch Mail, which would then appear and ask me to configure it, I'd decline etc.) My $0.02 Ben ___ 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: Sending mail (invisibly) from inside a Mac LC app
The challenge with this issue (of automatically sending an email from a given computer) is that I need to offer the easiest, most compatible, and the safest method to the user. The users of this app can range from a single computer home user to a large corporation with many Macs installed. To work for home users, the solution needs to be dead simple. Mail is installed on every Mac. Almost every user can configure mail to send an outgoing message. Using AppleScript to trigger an email runs so quickly that the user will rarely see it happening. Yes, there will be a record of the email in their sent box. But my app only sends an email when it identifies a problem with the users hard drive or OS... so not worried about hiding anything. I am still looking into the PHP script option for corporate users. One alternative solution is to have my app pop up a notification on the users desktop alerting them to the problem. This avoids the need to send an email altogether. But I have been told that this solution is probably not acceptable in a corporate environment. Richard On 4/1/14 8:33 PM, Bob Sneidar wrote: Is that really invisible? If they are in Apple Mail, don’t they see the mail being created and sent? Also, it will be in their sent mail. Not my idea of invisible. Further, this will only work if an email account with working SMTP has been already created, and if the SMTP server ever becomes unavailable and your app attempts to send something, it will pop an error. Bob On Mar 28, 2014, at 19:33 , Richard Miller wrote: This solution looks promising. Used the following as an applescript. Worked perfectly. Just requires that each Mac have a working version of Mail installed. - set recipientName to "Richard" set recipientAddress to "rdmil...@together.net" set theSubject to "Type your subject here!" set theContent to "Type your message content here!" tell application "Mail" ##Create the message set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true} ##Set a recipient tell theMessage make new to recipient with properties {name:recipientName, address:recipientAddress} ##Send the Message send end tell end tell ___ 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: Sending mail (invisibly) from inside a Mac LC app
"In this case, Richard Miller has been a member of this community for as long as I can remember." Thanks for mentioning this, Mark. Perhaps some were not aware of this. I would NEVER create software that was not of high ethical standards. In this case, my app can help save all the data on the users computer by predicting a hard drive or software failure in advance. Kinda useful, I think. Richard Miller On 3/29/14 1:03 PM, Mark Talluto wrote: On Mar 29, 2014, at 6:04 AM, Francis Nugent Dixon wrote: Hi from Beautiful Brittany, I don’t want to quibble, but the request in this e-mail would seem to me to be highly dangerous, totally subversive, and irrevocably suspicious. Maybe somebody would like to graft into a developing LiveCode program, an automatic spy mechanism. I suggest that nobody answer to this e-mail, especially those who could conceive of a way to do it. Confused All tools can be used for either evil or good. In this case, Richard Miller has been a member of this community for as long as I can remember. The knowledge he seeks is easily obtained from very simple google searches. I happen to have a solution that might save him the time and effort of tooling around to get it right. I understand the need for the tool he is making and see no problems with helping him to get things working. Richard’s tool is for a company network of computers under their control. If this technology was to be used on computers outside the control of the company, it is common to notify the user at least once that this is taking place via a dialog, preference setting, and EULA. What I find technologically interesting is that LiveCode has progressed to a point that developers can now make tools in new markets to solve problems we could not do previously. Canela has developed a technology we lovingly refer to as minions for our office use. These light applications run silently in the background providing our software the ability to process data in a distributed fashion. This increases our productivity, which in turn increases the productive of the users of our products and services. They can be installed on every computer in our company wide network to do good. I foresee a time in the near future where we will use them in the software we provide to our customers to make our applications download updates and perform long calculations in the background. These tasks today either interrupt our users and/or degrade their experience. These silent applications work on separate threads of any modern CPU and make our offering more attractive than our competitors. You can see the value of the minions in one of the RunRev conference videos from Atlanta circa 2012. Skip to about the middle of my presentation and see what these little guys can do. Is Richard’s work any different? Best regards, Mark Talluto 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: Sending mail (invisibly) from inside a Mac LC app
No worries, Stephen. On 3/29/14 4:48 AM, stephen barncard wrote: On Fri, Mar 28, 2014 at 2:41 PM, Richard Miller wrote: secret collection is the devil. then I apologize if I misjudged the intentions of your app. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* ___ 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: Sending mail (invisibly) from inside a Mac LC app
Thanks, Mark. Will give it a try. Looks like it could be a simple solution. Richard On 3/28/14 11:15 PM, Mark Talluto wrote: On Mar 28, 2014, at 6:25 PM, Richard Miller wrote: If I understand what you are saying, you are suggesting that my LC app send out the results of its search to a central server, which then handles the emailing. This is what I wanted to do originally, and how I first developed this app. What I have since been told by one client (who has about 100 Mac's) is that at their level of corporate business, they don't want any information leaving their network. Everything needs to be kept contained within their business. They have told me that this will generally be the case for many corporate clients of their size and larger. The ideal way seems to be to have the app generate the email itself, using the SMTP parameters from the corporate mail server. Or by taking advantage of something like the sendemail command. Thanks for your suggestion Mark. Did I misunderstand what you suggested? Richard If the intranet is set up such that the emails can be obtained on the local network then, you can meet the requirements of IT by posting your data to an ip # on your company network. You simply need to have PHP and a working email system installed on the receiving server/computer. Alternatively, a database set up on a local server will also work. I think the PHP solution my be easier. I would show them the code I posted for you and have them give it a try. We have found the solution to be very robust. Best regards, Mark Talluto 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: Sending mail (invisibly) from inside a Mac LC app
This solution looks promising. Used the following as an applescript. Worked perfectly. Just requires that each Mac have a working version of Mail installed. - set recipientName to "Richard" set recipientAddress to "rdmil...@together.net" set theSubject to "Type your subject here!" set theContent to "Type your message content here!" tell application "Mail" ##Create the message set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true} ##Set a recipient tell theMessage make new to recipient with properties {name:recipientName, address:recipientAddress} ##Send the Message send end tell end tell ___ 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: Sending mail (invisibly) from inside a Mac LC app
If I understand what you are saying, you are suggesting that my LC app send out the results of its search to a central server, which then handles the emailing. This is what I wanted to do originally, and how I first developed this app. What I have since been told by one client (who has about 100 Mac's) is that at their level of corporate business, they don't want any information leaving their network. Everything needs to be kept contained within their business. They have told me that this will generally be the case for many corporate clients of their size and larger. The ideal way seems to be to have the app generate the email itself, using the SMTP parameters from the corporate mail server. Or by taking advantage of something like the sendemail command. Thanks for your suggestion Mark. Did I misunderstand what you suggested? Richard On 3/28/14 6:07 PM, Mark Talluto wrote: Richard, I understand the need to develop this type of application. You are going to want to run a php script on your server and have your mac app call the php script and send the needed parameters. This will keep things quite so the individual working on that system is not bothered by applications loading and interrupting their work flow. I tried pasting working code to solve this problem here, but it seem to be upsetting some server somewhere. It thinks I am doing something bad. Sound familiar? Oh well. I will put the code on in a text file on my server and make it available that way. This link will get you some fully tested, working code. If you have any questions, please let me know. http://www.canelasoftware.com/pub/rev/mailCode.txt Best regards, Mark Talluto 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: Sending mail (invisibly) from inside a Mac LC app
The challenge with this approach is that my app could be used by hundreds of businesses, from very small to very large. Whatever the solution is, it can't be complex for the business to implement. On 3/28/14 5:53 PM, Pradeep Saxena wrote: Richard, We as developer are always open to various viewpoints. Here is the solution I had implemented long time back on similar lines at a fortune 10 company (without LC) but should do the job to your expectation: -Have an additional database server (mysql/oracle) in your corporate env. -send the message & userid/machineid as record to that server. -write the email code for on-insert (or post insert) trigger based on your need. - on-insert trigger, if you want to store all messages for user/machine/error analysis later - post-insert trigger, if you do not want to store these messages on the server and delete them after sending the email. Hope this helps! Best Regards, Pradeep From: Richard Miller To: How to use LiveCode Sent: Friday, March 28, 2014 2:41 PM Subject: Re: Sending mail (invisibly) from inside a Mac LC app Fascinating responses here. Quite a spin folks are putting on my message without even asking first. The program is looking for signs of system failure on the Mac, before drives crash or other problems get out of hand. Nothing to do with the user. On 3/28/14 5:23 PM, stephen barncard wrote: secret collection is the devil. sqb *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: Not nice...:-( Richard Miller wrote: I have a Mac-only LC program that runs invisibly in the background. This is used in a corporate environment, so the actual user of the Mac computer will not likely even know it is running. It is designed to collect certain data and send it to management. ___ 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 ___ 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: Sending mail (invisibly) from inside a Mac LC app
There is no intention to "hide" anything. It's a background maintenance program. On 3/28/14 5:53 PM, John Dixon wrote: If all this is so innocent, why hide it from the person using the Mac ? Have you heard yourselves !? Jacque Landman-Gay wrote :- I think I'd just try it. Presumably since the machines are set up by the company, they could also enable whatever is required as needed. It's their property and their setup. Richard Miller wrote :- Fascinating responses here. Quite a spin folks are putting on my message without even asking first. The program is looking for signs of system failure on the Mac, before drives crash or other problems get out of hand. Nothing to do with the user. ___ 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: Sending mail (invisibly) from inside a Mac LC app
I tried "sendemail" from my own laptop from within Terminal, but can't get it to work. Anyone know how to configure a Mac to enable this? On 3/28/14 5:45 PM, J. Landman Gay wrote: On 3/28/14, 3:53 PM, Richard Miller wrote: I thought about using the built-in OSX "sendemail" command from a Shell script, but I have read that that command will often not work on a given Mac unless the Mac has been set up to allow it to work. Not sure what is involved to make this command work. I think I'd just try it. Presumably since the machines are set up by the company, they could also enable whatever is required as needed. It's their property and their setup. ___ 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: Sending mail (invisibly) from inside a Mac LC app
Fascinating responses here. Quite a spin folks are putting on my message without even asking first. The program is looking for signs of system failure on the Mac, before drives crash or other problems get out of hand. Nothing to do with the user. On 3/28/14 5:23 PM, stephen barncard wrote: secret collection is the devil. sqb *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Fri, Mar 28, 2014 at 2:17 PM, John Dixon wrote: Not nice...:-( Richard Miller wrote: I have a Mac-only LC program that runs invisibly in the background. This is used in a corporate environment, so the actual user of the Mac computer will not likely even know it is running. It is designed to collect certain data and send it to management. ___ 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: Sending mail (invisibly) from inside a Mac LC app
Hugh, This is for a corporate application. The owners of the business will install and control this app. The data it is reporting only has to do with the health of the Mac it is running on. It's a maintenance program. Richard On 3/28/14 5:10 PM, FlexibleLearning.com wrote: Let me get this straight... You not only have a clandestine app running invisible to the User, but you also want to invisibly collect (presumably User) data and then email the data without the User knowing? Frankly I am not surprised you are finding it hard to get a Mac to cooperate. Sounds like how a virus behaves. Hugh Senior FLCo Richard Miller wrote: I have a Mac-only LC program that runs invisibly in the background. This is used in a corporate environment, so the actual user of the Mac computer will not likely even know it is running. It is designed to collect certain data and send it to management. I have not yet found a reliable way for the program to send an email to admin. This has to be done invisibly, so revmail is not an option. I tried both Shao Shen's libSMTP and Sarah's SMTPlibrary, but haven't had much success configuring the SMTP server information so that it will reliably send an email. I can get these to work with some SMTP server data (like GoDaddy), but often times, with a given clients mail server, neither of these programs will send an email. They just generate errors (like badconnect) as soon as SEND is pressed... even though I know the SMTP server data is correct. I thought about using the built-in OSX "sendemail" command from a Shell script, but I have read that that command will often not work on a given Mac unless the Mac has been set up to allow it to work. Not sure what is involved to make this command work. There must be some reliable way to (invisibly) send an email from a LC program running under OS X. Any suggestions? Thanks, Richard Miller ___ 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
Sending mail (invisibly) from inside a Mac LC app
I have a Mac-only LC program that runs invisibly in the background. This is used in a corporate environment, so the actual user of the Mac computer will not likely even know it is running. It is designed to collect certain data and send it to management. I have not yet found a reliable way for the program to send an email to admin. This has to be done invisibly, so revmail is not an option. I tried both Shao Shen's libSMTP and Sarah's SMTPlibrary, but haven't had much success configuring the SMTP server information so that it will reliably send an email. I can get these to work with some SMTP server data (like GoDaddy), but often times, with a given clients mail server, neither of these programs will send an email. They just generate errors (like badconnect) as soon as SEND is pressed... even though I know the SMTP server data is correct. I thought about using the built-in OSX "sendemail" command from a Shell script, but I have read that that command will often not work on a given Mac unless the Mac has been set up to allow it to work. Not sure what is involved to make this command work. There must be some reliable way to (invisibly) send an email from a LC program running under OS X. Any suggestions? Thanks, Richard Miller ___ 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: Any way to create a Mac LC background app?
Got it. Thank you! Works great. The formatting is VERY specific. This works: |LSUIElement 1 This doesn't: | LSUIElement 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: Any way to create a Mac LC background app?
Hi Devin, Here's the modified info.plist file, which is pointed to in the Standalone builder. But it isn't working yet. Suggestions? --- "http://www.apple.com/DTDs/PropertyList-1.0.dtd";> CFBundleDevelopmentRegion English CFBundleDocumentTypes CFBundleTypeExtensions CFBundleTypeIconFile StandaloneDoc.icns CFBundleTypeName Consoler Engine Files CFBundleTypeOSTypes CFBundleTypeRole Editor CFBundleExecutable Consoler Engine LSUIElement 1 CFBundleIdentifier com..startconsolerengine CFBundleGetInfoString Start Consoler Engine Version 1.0.0.0 CFBundleIconFile Standalone.icns CFBundleInfoDictionaryVersion 6.0 CFBundleLongVersionString Start Consoler Engine 1.0.0.0 CFBundleName Start Consoler Engine CFBundlePackageType APPL CFBundleShortVersionString 1.0.0.0 CFBundleSignature CFBundleVersion 1.0.0.0 CSResourcesFileMapped LFPrefersCarbon LSGetAppDiedEvents NSAppleScriptEnabled YES NSHumanReadableCopyright 2013 All rights reserved worldwide ___ 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: Any way to create a Mac LC background app?
Thanks, Richard. I think this approach will do it... if only I knew more about implementing it! I'll read about cron's and try to figure it out. If anyone can offer a bit more guidance, that would be great. Very much appreciated. On 3/12/14 5:07 PM, Richard Gaskin wrote: Your app could use the shell function to set up a cron job, and once that's in place it could handle command line arguments so it can be called with -ui to run facelessly. When run with -ui, the environment() function will return "command line", so you can use a startup handler to determine if it's been launched from the command line, and if so check the value of $# to get the number of arguments passed to it so you can parse them out as #1, #2, etc. For cron: <http://hints.macworld.com/article.php?story=2001020700163714> -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys Richard Miller wrote: > What I need is a way to have a Mac LC (desktop) app run once every 12 > hours, complete a brief 15-second routine, shut down, then repeat > every 12 hours... all without user interaction. > > On 3/12/14 3:52 PM, Richard Miller wrote: >> Is there any way for a LC app to run in the background on a Mac, so >> the user won't see it listed when they cycle through their open >> programs? I know how to make it invisible, but it still shows up >> when you Apple Key-Tab through running apps. ___ 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: Any way to create a Mac LC background app?
What I need is a way to have a Mac LC (desktop) app run once every 12 hours, complete a brief 15-second routine, shut down, then repeat every 12 hours... all without user interaction. On 3/12/14 3:52 PM, Richard Miller wrote: Is there any way for a LC app to run in the background on a Mac, so the user won't see it listed when they cycle through their open programs? I know how to make it invisible, but it still shows up when you Apple Key-Tab through running apps. Thanks, Richard Miller ___ 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
Any way to create a Mac LC background app?
Is there any way for a LC app to run in the background on a Mac, so the user won't see it listed when they cycle through their open programs? I know how to make it invisible, but it still shows up when you Apple Key-Tab through running apps. Thanks, Richard Miller ___ 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 for membership-based organizations
Looks like this is the best approach. Thanks for confirming. On 1/11/14 10:05 AM, Colin Holgate wrote: Any app that lets you view cable video will require that you sign in to get those features. In all cases though I suspect the apps would give basic information even if you’re not signed in. Can you work with that model? The app would be an informational product for most users, but then would have the extra features for members. That ought to be ok with Apple. ___ 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
ios app for membership-based organizations
Looking for suggestions on how to structure an iOS app that is free, but can only be used by members of a particular organization. For example, an app provided by a bank can only be used by account holders at that bank. The app is free through iTunes, but it is useful only to members who can enter a verifiable access code (ie bank account number). Let's say I want to build a similar app for an organization like Greenpeace, designed for its members. Those members don't currently have a membership ID, as would be the case at a bank. But the app could request an email address and then confirm that that address is contained within the Greenpeace membership database. Once confirmed, the free app would be usable by that individual. Would Apple have any issue approving this app structure? Let's say that Greenpeace chose to distribute specific access codes to its members that would be used to unlock this free app (as opposed to using email addresses). Would Apple be okay with this structure? Thanks Richard Miller ___ 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 ios app marketing
Thanks for the feedback, Rick. Much appreciated. On 6/28/13 12:56 PM, Rick Harrison wrote: Hi Richard, Ok, I took a look at your ad in the iTunes store, and downloaded the Free version to get feel for what you are trying to do. A few things I noticed right off the bat. You say in your app description that the app is in use by thousands of businesses, colleges, and individuals. That's very nice, but you don't say anything about what kind of people might really find your app to be useful. The question you need to ask yourself, is why your customers would really want to use your app? Why should I want one? Based on the data I was seeing you should give some more examples such as: Carpenters, Architectural Engineers, Interior Designers, etc. Think more about what your true target markets are. You have a lot of price tiers. Possibly too many. You have a Free version. You have 25 packs for $.99 then you have the Standard version for $4.99, with more packs, then a Professional version for $9.99, and then "Pack 2 for $.99" I can see where this could be confusing to the everyday browsing app purchaser. There appear to be non-working components in the Free version. I found myself getting bombarded by having to get the upgraded version to even try out a bunch of the functions. The database information for even one tree took way to long to load. You may want to get a faster web-server, or break up the data into smaller chunks with more screens. There was too much information on one page so I had to do a lot of scrolling just to look around. What is your present sales data telling you about your apps? What kind of advertising in the past have you done and what kind of data blip increases are you seeing after you have run the ads? I hope that feedback helps you! Good luck, Rick On Jun 28, 2013, at 10:56 AM, Richard Miller wrote: https://itunes.apple.com/us/app/wood-explorer/id518081966?mt=8 Free version Custom version ($0.99 per 25 species) Premium version - $9.99 On 6/28/13 9:52 AM, Rick Harrison wrote: Hi Richard, What is the name of the app and how much is it in the app store? Without those key pieces of information it's too difficult to evaluate it and give any advice. Thanks, Rick On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? Thanks. Richard Miller ___ 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 ios app marketing
Hi Mark, Thanks for the thoughtful suggestions, all good ones. The problem I have is: 1) I am a poor marketer; and 2) I have other commitments and can't take the app to the next level. Hence, the desire to want to partner with someone who can do these things. Almost $1 million was invested into compiling the data for this app (mostly grant funds from foundations). There is no other data on the planet that is even remotely as deep. The search engine in the app is very powerful because the underlying data is so deep. But all of this means little without good marketing. I'll bet there are other LC ios apps in the same boat. Richard On 6/28/13 11:23 AM, Mark Talluto wrote: I reviewed your competitor. He got slammed for poor image quality and limited information. Your app received high reviews form those that can use it. You were hurt by not having iOS 5/6 support. That can be fixed by updating the app to support those versions of iOS and hardware. Sounds like you might have something here. Below are some ideas that might or might not be useful. I would look at how you are currently marketing your CD. If your CD sales are strong, you might consider marketing your iOS app to the same customers using the same marketing channels. You might look at having conversations with vendors of the wood and see if they would be interested in sponsoring or buying advertising space in your app. You could have a buy now button to direct customers to those vendors. It is worth having a conversation with final product companies as well. I am thinking hardwood floor vendors/manufacturers, table and chair vendors/manufacturers and other strong wood products. Connecting with the 3rd party market could be bigger than the sale of the app. Then you could give the app away for free and increase your readership. You might also run specials within the app for these vendors. Maybe a little "Did you know tidbit" to keep your current users coming back to see what is new. Maybe Home Depot, Lowes, and other stores might be interested in a branding opportunity here. If the app is free, the conversation should be pretty smooth. Might lead you to other opportunities with those companies to do plumbing, electrical, and appliance apps as well. These would be more than shopping apps. They would be helper apps that normal people like myself that need to get DIY projects done. There are a lot of ways you could pitch this to these companies so that they do not have to buy in financially. Just some first thoughts on the subject. Best regards, Mark Talluto canelasoftware.com On Jun 28, 2013, at 7:56 AM, Richard Miller wrote: https://itunes.apple.com/us/app/wood-explorer/id518081966?mt=8 Free version Custom version ($0.99 per 25 species) Premium version - $9.99 On 6/28/13 9:52 AM, Rick Harrison wrote: Hi Richard, What is the name of the app and how much is it in the app store? Without those key pieces of information it's too difficult to evaluate it and give any advice. Thanks, Rick On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? Thanks. Richard Miller ___ 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 ___ 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 ios app marketing
https://itunes.apple.com/us/app/wood-explorer/id518081966?mt=8 Free version Custom version ($0.99 per 25 species) Premium version - $9.99 On 6/28/13 9:52 AM, Rick Harrison wrote: Hi Richard, What is the name of the app and how much is it in the app store? Without those key pieces of information it's too difficult to evaluate it and give any advice. Thanks, Rick On Jun 28, 2013, at 8:25 AM, Richard Miller wrote: Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? Thanks. Richard Miller ___ 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
LiveCode ios app marketing
Is there a list of LiveCode-based businesses which have expertise in building and marketing IOS apps? I have a LC/ios app (and an Android version) that's been out for about a year, but it needs some updating and a heavy dose of marketing and promotion... neither of which I am currently able to do. This is a solid app with lots of upside (it's in a big sector), inferior competition, and the best underlying data in the world. I'd like to find a company that can help realize the full value of this app and share in the benefits. Any suggestions? Thanks. Richard Miller ___ 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: LC and credit card processing
All I want to do is capture the cc data as it comes off the card's stripe (as Colin says... converted into simple data through Rev), encrypt this data, then send it somewhere for processing and deposit into my account... with a result returned. I'd prefer avoiding any additional setup or coding (such as the need for server processing on my end). I don't care if it costs more to keep it simple. My application is not cost sensitive. Will Stripe fit this bill? I can't quite tell after an initial review of the site. Thanks. Richard On 2/25/13 7:06 PM, Andrew Kluthe wrote: I do not believe so. It's not the best solution for everyone, but it was the most *painless* solution I have used. Andrew On Mon, Feb 25, 2013 at 4:51 PM, Magicgate Software - Skip Kimpel < s...@magicgate.com> wrote: But can Stripe integrate with card swiping hardware and provide the merchant with the "card present" rate? SKIP On Mon, Feb 25, 2013 at 5:48 PM, Andrew Kluthe wrote: That's the benefit of using Stripe in this situation. Stripe takes the place of a traditional gateway/processor/merchant account setup. From their FAQ, Why is Stripe better than the other options I'm considering?<https://stripe.com/us/help/faq#why-is-stripe-better> Glad you asked! Here are some reasons that others have chosen Stripe: - Stripe is the only payments service you'll need. You won't need to find and work with a separate merchant account provider, gateway, subscriptions manager, or any other piece of the legacy payments industry puzzle. - An elegant, powerful API makes it quick and easy to integrate with Stripe. (See what developers are saying< https://twitter.com/#!/search/stripe%20api> .) - Complete freedom to create the payment experience you want—your site or app, your workflow, your brand. - You can charge your users however you want: one-time purchases, subscriptions, metered billing, and event-based charges are all straightforward with our flexible API. - Competitive, crystal-clear pricing. We charge you one rate for each successful transaction. There are no additional charges for failed transactions, American Express cards, international cards, stored cards, or recurring payments. It's easy to understand, easy to project, and without any surprises. (More about pricing <https://stripe.com/help/pricing .) - We shoulder the PCI compliance burden by ensuring that you never need to handle sensitive card data. (Learn more about PCI and our approach <https://stripe.com/us/help/faq#pci-compliance>.) - Rapid help from real people. Jump into our real-time community chat< https://stripe.com/chat> for immediate assistance from Stripe staff and our growing community of users, or email us <https://stripe.com/help/contact> for a fast, personal response. <https://stripe.com/us/help/faq#why-is-stripe-better> On Mon, Feb 25, 2013 at 4:41 PM, Mark Talluto wrote: On Feb 25, 2013, at 1:00 PM, Colin Holgate wrote: Credit card swipers just act like a keyboard input. You would listen for the keys being pressed, build up the data, then when the return character comes in you process the text. On Feb 25, 2013, at 3:40 PM, Richard Miller wrote: I need a way to process a swiped credit card through Rev. The user is interacting via a touch screen (no keyboard or mouse). Just need to process the card info... no address info. The card swipe unit is attached to a portable Windows device which connects to the web via wireless (in public), so the whole process must be secure. There is a bit more to credit card processing if you want to be PCI compliant. In short, the swiper would provide you an encrypted transaction. You then pass this on to a PCI compliant processor. They can decrypt the record and respond to you with a yes or no on the transaction. You need to have a gateway to a processor and a merchant account to receive the funds. Best regards, Mark Talluto 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 -- Regards, Andrew Kluthe and...@ctech.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 ___ 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: LC and credit card processing
I had put together a Rev/Authorize.net solution together a years ago. It worked fine, but took a fair bit of work to construct. I would need to set up a new authorize account and merchant processor, as well as SSL certificates. I know it can be done. I was just hoping there was a better (read: easier) solution by now for Rev. Meaning, collect the info from the card reader (which is easy), then feed that data into a preset Rev solution to get it processed. On 2/25/13 6:27 PM, Magicgate Software - Skip Kimpel wrote: Richard I just checked and Stripe does not interface with any known hardware: https://stripe.com/us/help/faq#who-should-not-use-stripe Now, you can do as Colin says and just use the hardware swiper that you have as an input device, however, there is a difference in credit card rates from a "card present" to manually entered in information and Stripe does not give you that option If you want a really robust solution with the best possible rate, I think the Authroize.net solution might be what you need. Having said that, there is a bit of a learning curve. I once did TONS of this kind of stuff in Director. SKIP On Mon, Feb 25, 2013 at 4:04 PM, Richard Miller wrote: I understand how card swiper's work. No issue there. It's the cc processing solution I need solutions for. Andrew... thanks for the Stripe suggestion. I'll look into it. Richard On 2/25/13 4:00 PM, Colin Holgate wrote: Credit card swipers just act like a keyboard input. You would listen for the keys being pressed, build up the data, then when the return character comes in you process the text. On Feb 25, 2013, at 3:40 PM, Richard Miller wrote: I need a way to process a swiped credit card through Rev. The user is interacting via a touch screen (no keyboard or mouse). Just need to process the card info... no address info. The card swipe unit is attached to a portable Windows device which connects to the web via wireless (in public), so the whole process must be secure. __**_ 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<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<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: LC and credit card processing
I understand how card swiper's work. No issue there. It's the cc processing solution I need solutions for. Andrew... thanks for the Stripe suggestion. I'll look into it. Richard On 2/25/13 4:00 PM, Colin Holgate wrote: Credit card swipers just act like a keyboard input. You would listen for the keys being pressed, build up the data, then when the return character comes in you process the text. On Feb 25, 2013, at 3:40 PM, Richard Miller wrote: I need a way to process a swiped credit card through Rev. The user is interacting via a touch screen (no keyboard or mouse). Just need to process the card info... no address info. The card swipe unit is attached to a portable Windows device which connects to the web via wireless (in public), so the whole process must be secure. ___ 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
LC and credit card processing
I haven't followed recent developments in this area, so I'm looking for suggestions. I need a way to process a swiped credit card through Rev. The user is interacting via a touch screen (no keyboard or mouse). Just need to process the card info... no address info. The card swipe unit is attached to a portable Windows device which connects to the web via wireless (in public), so the whole process must be secure. Is there a (mostly) turnkey solution available for this? Thanks. Richard Miller ___ 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 app - free vs. paid
I have an Android app I've been selling only from my website. It works as a free version until the user enters an email address matched to a paid-for entry in a database (meaning, they can pay for the full version from my site, when then upgrades the status of their email address in a central database). I'd like to submit this app to Google Play. I realize Google Play won't accept this upgrade method. This leaves me two choices: 1. Create and submit to Google separate Free and Premium versions of the app. 2. Use an in-app purchase system (i.e. freemium model). I've already designed and tested the in-app purchase upgrade code in my (now selling) IOS app. Is the code used for that identical to what I would use in the Android version? It's a simple non-consumable upgrade. How do people suggest I proceed? Option 1 or 2? Thanks. Richard Miller ___ 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
Current opinion on freemium Android apps
I have an Android app I've been selling only from my website. It works as a free version until the user enters an email address matched to a paid-for entry in a database (meaning, they can pay for the full version from my site, when then upgrades the status of their email address in a central database). I'd like to submit this app to Google Play. I realize Google Play won't accept this upgrade method. This leaves me two choices: 1. Create and submit to Google separate Free and Premium versions of the app. 2. Use an in-app purchase system (i.e. freemium model). I've already designed and tested the in-app purchase upgrade code in my (now selling) IOS app. Is the code used for that identical to what I would use in the Android version? It's a simple non-consumable upgrade. How do people suggest I proceed? Option 1 or 2? Thanks. Richard Miller ___ 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 - record audio in background
Is there any possible way to record audio with LC under ios so that the audio keeps recording if the user switches to another app? Thanks. Richard Miller ___ 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
Sharing mobile app data with friends
I'm looking for ideas on how to allow an app to share data between friends. For example, if someone has a picture on their phone they want to share with another, how can this be done elegantly and simply, directly from inside the app? Obviously, they can send it via SMS, but that takes place outside the app. Email can also be used, but that lacks elegance. One option would be for the app to maintain a list of the user's friends, perhaps referenced by some phone-specific ID. The app can then send a picture to another by storing the pic on my server under the ID of the friend, which is then retrieved by the friend via the server. Is there any such built-in ID to work from, or do I need to assign ID's? Any other ideas on how to accomplish this? I don't want to rely on some external shared app like Facebook or Twitter. Thanks. Richard Miller ___ 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 options to create time-based reminders or messages
Thanks. Seems this functionality is new to LC 5.5. I have 5.0.2 right now, but would upgrade if this can do what I need. I can't read the specific details of this function as of yet. Do you know the maximum length of the alertbody or alertButtonMessage? Thank you. On 7/14/2012 10:45 AM, Colin Holgate wrote: No. The alertBody and alertButtonMessage let you give a brief version of the notification, and that will appear at the time it happens, if your app is not open at the time. On Jul 14, 2012, at 10:23 AM, Richard Miller wrote: It cannot display the actual message until the user presses the "View" button, which then opens the app to display the message. Do I understand this correctly? ___ 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 options to create time-based reminders or messages
Thanks. I'm looking into this. At first glance, it appears that... whenever the app is not running... this method will only tell the user that a local notification is waiting to be viewed. It cannot display the actual message until the user presses the "View" button, which then opens the app to display the message. Do I understand this correctly? Thanks. Richard On 7/14/2012 10:09 AM, Colin Holgate wrote: Try local notifications. This is how you set up one notification: mobileCreateLocalNotification alertBody, alertButtonMessage, alertPayload, alertTime, playSound alertTime is the Unix time that you want the alert to happen. See the help entry for more details on the other things. At the time that the notification happens, the user will see a message pop up on their screen. If they touch the message it will open your app, and a message is sent to you. Here's a handler for receiving that message: on localNotificationReceived pMsg answer "Local Notification:" && pMsg end localNotificationReceived The pMsg received is the same as the alertPayload sent in, and that can be as complex as you like. There isn't a way to have a notification happen that automatically opens your app. Working out the Unix time for the event is an entertaining little aspect to the problem. ___ 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
ios options to create time-based reminders or messages
What are the options to implement a reminder system in an ios/LC app which will alert the user periodically on their ios device, even though the app is not running in the foreground? For example, the user runs the app and sets it to remind them twice daily to do a specific task. How can this reminder be implemented? Some ideas: - push notification (is this fairly easy to implement?) - having an external server send SMS messages to the user's device on the specified time interval - something similar to the way various ios Alarm clock apps work... but I don't know if this can be implemented through LC. Thanks. Richard Miller ___ 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: Licensing & selling an Android app
Thanks Jacqueline & Shawn, I did more testing at Verizon, and it seems several of these methods work reliably and can be mastered by most Android owners. Richard On 6/3/2012 9:49 PM, J. Landman Gay wrote: On 6/3/12 5:16 PM, Richard Miller wrote: Are you certain that this works this easily on most Android devices? From my little testing, this didn't seem to work reliably. I had to use an app like tAttachApkInstaller (specifically designed to install apk's sent by email), but even that didn't seem to work reliably or easily on the half-dozen phones I tried at Verizon. If you send the apk as an email attachment, clicking the link in the email will install the app provided the customer reads the email on their Android device. There are many other ways too, but they usually involved an Android file manager. Dropbox is another easy, direct way to install but not all your customers may have that. I tested by sending an email to my gmail account with an apk attached. Gmail showed the attachment as an enclosure with a button next to it titled "Install". Clicking that installed the app right from email. I didn't try with my regular email account, so maybe it would be different. Or maybe it depends on the version of the Android OS or the mail client the OEM installs. But I'm with Shawn, just about every android user knows how to get an apk to their device. Like him, I was doing it within a day or two after getting my first Android tablet. There are so many ways to transfer an apk that I'd be surprised if any but the very newest android user didn't know how. You can: 1. Attach the device to the computer via cable and drag the apk over. Open it using the built-in file manager on the device and it will install. 2. Drag it to a dropbox folder (or any other cloud service,) open it in dropbox on the device, it installs. 3. Email it to yourself. If the enclosure doesn't install when you click it (it did for me,) it will download instead. Then use the file manager to click it to install. 4. Link to a download on a web page. The android browser will download it from the link. When the notification appears that the download is complete, tap the message in the notification bar and it installs. Or at any time later, select "Downloads" from the browser menu and tap on the downloaded file in the list to install it. (This is another easy option.) ___ 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: Licensing & selling an Android app
Hi Richard, Our main reason for not wanting to use Google Play is that the vast majority of our customers will find our app through our site, which is well known in our sector. We'd be giving away 30% of a $10 app for little return. On 6/4/2012 10:12 AM, Richard Gaskin wrote: Richard Miller wrote: The question I have (not owning an Android device myself), is if we post an apk at our web site, will the average Android owner be able to install it? Not by default. As with the Amazon app store and other non-Google outlets, the user will have to turn on the checkbox in Settings->Applications to let them install apps from third-party sites. While some find it enjoyable to perpetuate the meme that Android is a haven for malware, once you read past the headlines you'll find that actual infections are very small relative to their majority audience, and more importantly most infections have come from downloads outside of Google Play. Obviously this hasn't been a problem for Amazon, but with all due respect I'm guessing your web site isn't as popular as Amazon.com, and therefore less trusted. The savviest users will think twice before downloading an app from your site, and some of those who would download it may not know how to unlock their device to allow it to install. Why not just put it in Google Play? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ 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: Licensing & selling an Android app
Shawn, The question I have (not owning an Android device myself), is if we post an apk at our web site, will the average Android owner be able to install it? Do we need to point them to apkInstaller? Is it reasonable to require them to hook their Android device to their computer in order to transfer the apk to their sd card? Or is it even easier for them to navigate to our web site via their Android device browser, click a link, and then basically have the apk installed? Thanks. Richard On 6/3/2012 6:32 PM, Shawn Blc wrote: I'm definitely still learning when it comes to LC, however I've installed hundreds of apk files on various Android enabled devices using apkInstaller. From those that I know and even my 12 year old daughter knows how to install apk files that aren't available on the Android Market. With the apkInstaller app or similar, you can install apk files via email, dropbox, your website, USB, etc. Even if you put the apk on your mini sd card in your Android device you should have no problems installing the apk with or without the apkInstaller. On Sun, Jun 3, 2012 at 5:16 PM, Richard Miller wrote: Are you certain that this works this easily on most Android devices? From my little testing, this didn't seem to work reliably. I had to use an app like tAttachApkInstaller (specifically designed to install apk's sent by email), but even that didn't seem to work reliably or easily on the half-dozen phones I tried at Verizon. If you send the apk as an email attachment, clicking the link in the email will install the app provided the customer reads the email on their Android device. There are many other ways too, but they usually involved an Android file manager. Dropbox is another easy, direct way to install but not all your customers may have 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<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: Licensing & selling an Android app
Are you certain that this works this easily on most Android devices? From my little testing, this didn't seem to work reliably. I had to use an app like tAttachApkInstaller (specifically designed to install apk's sent by email), but even that didn't seem to work reliably or easily on the half-dozen phones I tried at Verizon. If you send the apk as an email attachment, clicking the link in the email will install the app provided the customer reads the email on their Android device. There are many other ways too, but they usually involved an Android file manager. Dropbox is another easy, direct way to install but not all your customers may have 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: Licensing & selling an Android app
Andy, Thanks again. I've been studying the issue of self-publishing from our web site, but have yet to determine a clear, simple process that I can offer any customer for installing an Android app. Seems every method has a step or two that could confuse some significant percentage of Android device users. Do you know how best to proceed with this? Richard On 6/2/2012 6:54 PM, Andrew Henshaw wrote: Yes, free and paid versions are treated as separate apps in all the stores ive used, including both Apple and Android. However it doesn't take very long as most of the time is taken preparing descriptions, screen shots etc. which can be mostly the same for both versions of the app. The actual time taken to complete the application process on any of the stores is usually very short, its the review period that takes the time. In my experience, Googles Play store doesnt have a review period so its instant, Amazon seem to take 2-3 days (ive read it can take longer but 2-3 days is my experience) while Apple take almost exactly a week for iOS apps. You can of course distribute an Android app without a store at all if it helps. Andy On 2 Jun 2012, at 23:16, Richard Miller wrote: Thanks, Andy, for that useful information. To post both a free and a paid version of an app at Google, does one need to repeat the entire application process twice? On 6/2/2012 4:41 PM, Andrew Henshaw wrote: I have an app in both the Google Play and Amazon stores, and find Google is the much better option for me. With the Amazon system you have to submit every update for review and then wait. If you want to withdraw a product from sale you have to write to them. With the Google system you can simply upload a new apk, activate it and its good to go. You can also remove it from sale, change the price etc etc. Also sales wise, for me the Google store sells in a 6/1 ratio compared to the Amazon store. A couple of things to watch are, as mentioned beforeand unlike the Apple store, you cannot switch a product from free to paid, and the manifest is used to work out the devices the app will run on and this will include Android tablets bey default so make sure you app resizes to all the different Android resolutions or wait for the negative reviews to roll in. As far as protection on Android goes, I dont think ive seen an app that has not been cracked and is not available for download through a torrent site. My apps rely on quite a lot of interaction with a web feed, so I can simply change the location of the feed between releases which renders any cracked copies useless. Its not ideal, but the best I can do with my abilities at the moment. 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: Licensing & selling an Android app
Thanks, Andy, for that useful information. To post both a free and a paid version of an app at Google, does one need to repeat the entire application process twice? On 6/2/2012 4:41 PM, Andrew Henshaw wrote: I have an app in both the Google Play and Amazon stores, and find Google is the much better option for me. With the Amazon system you have to submit every update for review and then wait. If you want to withdraw a product from sale you have to write to them. With the Google system you can simply upload a new apk, activate it and its good to go. You can also remove it from sale, change the price etc etc. Also sales wise, for me the Google store sells in a 6/1 ratio compared to the Amazon store. A couple of things to watch are, as mentioned beforeand unlike the Apple store, you cannot switch a product from free to paid, and the manifest is used to work out the devices the app will run on and this will include Android tablets bey default so make sure you app resizes to all the different Android resolutions or wait for the negative reviews to roll in. As far as protection on Android goes, I dont think ive seen an app that has not been cracked and is not available for download through a torrent site. My apps rely on quite a lot of interaction with a web feed, so I can simply change the location of the feed between releases which renders any cracked copies useless. Its not ideal, but the best I can do with my abilities at the moment. Andy On 2 Jun 2012, at 19:14, Richard Miller wrote: Thanks, Colin. The problem I have with Amazon is that it is U.S. only, and many of our customers are elsewhere. Sounds like you used Google Play. Did you go without the encryption option? Did you somehow use in-app purchasing or simply publish a paid app? Thanks. Richard On 6/2/2012 9:51 AM, Colin Holgate wrote: Amazon is more straightforward. Not sure if they have the same DRM options you have in Google Play. With Google Play you can take an easy route, and hope there isn't too much piracy, or you can go for another option they have that somehow encrypts the app to make sure it will only play on the purchaser's devices. One big thing to watch out for is that when you first submit an app to Google Play, and haven't yet set up how they will pay you, the app will be instantly available as a free app. You're not allowed to charge for an app that started off as a free app. That can be solved by creating a new app with a different app ID, but that's a shame to have to do, just because you didn't notice that your app was placed as a free one. ___ 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: Licensing & selling an Android app
Thanks, Colin. The problem I have with Amazon is that it is U.S. only, and many of our customers are elsewhere. Sounds like you used Google Play. Did you go without the encryption option? Did you somehow use in-app purchasing or simply publish a paid app? Thanks. Richard On 6/2/2012 9:51 AM, Colin Holgate wrote: Amazon is more straightforward. Not sure if they have the same DRM options you have in Google Play. With Google Play you can take an easy route, and hope there isn't too much piracy, or you can go for another option they have that somehow encrypts the app to make sure it will only play on the purchaser's devices. One big thing to watch out for is that when you first submit an app to Google Play, and haven't yet set up how they will pay you, the app will be instantly available as a free app. You're not allowed to charge for an app that started off as a free app. That can be solved by creating a new app with a different app ID, but that's a shame to have to do, just because you didn't notice that your app was placed as a free one. ___ 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
Licensing & selling an Android app
What are people doing to sell and license an LC-created Android app? I looked at Google Play, but that appears to use a non-LC-compatible licensing process. What can be done to restrict illegal app copying, short of writing a custom app registration process, as would be done for any desktop app? Also, I don't believe Google Play's in-app billing system is LC compatible yet. So that apparently means it is necessary to submit a version of our app that requires payment in advance by the customer (in addition to a free test version). Is that right? Has anybody published an Android app through any market other than Google Play? For example, Amazon? Is that a better choice? In our case, we are not focused on using any service/market to help promote our app, as we can do that directly from our web site. Our app is highly targeted. Just looking for the easiest way to install our app on a customers device, and potentially restrict illegal copying. Thanks. Richard Miller ___ 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/LC 5.0.2/Geometry
Can anyone confirm that the built-in geometry tools do not work under Android with LC 5.0.2? Thanks. Richard Miller ___ 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
What is the way to replace frames on a website?
I want to build a new website heavily driven by LC & cgi. It needs to appear to use frames so that content is instantly updated throughout a given web page without having to reload the entire page. But I know not to use frames. What's the best alternative? iFrames? CSS? divs? php? I'd REALLY prefer to use a revlet. Too bad that alternative seems less and less practical these days. Thanks. Richard Miller ___ 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/mobGUI/screen sizes
I'm stuck. John Craig is apparently not responding to any messages, whether here, directly by email, by support ticket, or via the LC forum. I've been trying to convert a LC ios app (which uses mobGUI) to Android. I was hoping I could just add one custom size of 480x800 to the two iphone/ipad sizes I had already built for. But after testing at Verizon on a few Android devices, I see this won't work. Plus, I asked potential customers to send me their phone details, and just looking at the first five, I found the following: 480x800 720x1280 800x1280 600x1024 540x960 What a mess. So I see no way to use mobGUI for this. Looks like I have to rely on code to resize objects on the fly. Still, I want to use mobGUI for scrollers and other objects, as this is already deeply embedded in my app. So how do I handle this? I have no idea how mobGUI will react to resizestack messages on every card, which attempt to resize and re-place objects on each card. Should I just build in that code after the mobGUI preopencard code does its thing? Seems if I do this during development, though, it will make a mess of the object rect values mobGUI is storing. I'm lost on how to address this. Thanks for any suggestions. Richard Miller ___ 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: Options for selling Android apps
Thanks for the input. In our case, we want to focus on selling the Android app through our web site. Our app has a targeted market we can reach. Because of that, we need to build in an update mechanism. As far as anti-piracy goes, I was thinking of assigning a unique ID to each app, which gets checked each time the app starts. The app won't run without it. Is there any reason a scheme like this would not work? Seems easy to implement it. On 5/12/2012 10:51 PM, J. Landman Gay wrote: On 5/12/12 7:33 PM, Richard Miller wrote: Through my investigating online, it seems to be necessary to build in some type of anti-piracy scheme into Android apps... much the same as would be done for a desktop app. The Google Play Store offers something but I didn't bother. I'm not sure how a developer would implement it on their own. I haven't seen anyone do that. Also of concern is the issue of app updates. I found this about updates: "You just /upload/ a new apk file, which should have a higher version code and a higher version number than the previous apk." It seems that I need to write LC code into my app to check (each time it starts up) if an updated version is available. If there is, I simply alert the user to load the new version, which... as long as it is signed with the same private key and uses the same package name... will simply replace the outdated version. It's much easier than that. Each time you build an update, increase the version code in the standalone settings by at least one. That's all you need to do. You should also increase the version number for reference, though that's not the critical part for updates. When you upload the new build, the Android stores (both Google and Amazon) see that the code number has changed and will notify everyone who has it installed that there's an update. You don't have to do anything, it's all automatic. ___ 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