LC iOS Command 'mergPopActivity' [was Re: The iOS "Files" folder]

2020-10-18 Thread Graham Samuel via use-livecode
I have been trying to use this command, initially to allow an iOS app to put something in the “Files” folder on an iPhone, but I’m now more interested in the whole idea of Activity Views and how to exploit them in an iOS app. I believe that the LC ‘mergPopActivity' command is a wrapper for some

Re: The iOS "Files" folder

2020-10-15 Thread Brian Milby via use-livecode
Using iCloud shouldn’t require internet access for the app as it is designed to work offline and sync when the network is available. My comment was aimed at the need to have data retained separately from the app. Sent from my iPhone > On Oct 15, 2020, at 3:51 PM, Graham Samuel via use-livecode

Re: The iOS "Files" folder

2020-10-15 Thread Graham Samuel via use-livecode
Believe it or not, there is a class of apps that doesn’t need to use the internet. I’m thinking for example of apps meant to be used on a device such as a phone while it’s in motion or on a journey. Internet access isn’t guaranteed in many parts of the world. Although smart phones do have to mak

Re: The iOS "Files" folder

2020-10-14 Thread Brian Milby via use-livecode
Apple has already provided a way forward for this. Their current best practice is for apps to store files in their Documents folder in iCloud. This provides seamless access between multiple devices and data security since it is not tied to the app remaining installed. I briefly looked at the

Re: The iOS "Files" folder

2020-10-13 Thread John Balgenorth via use-livecode
One my iPad I have everything turned on for iCloud and I am sure everything is backed up with my backup file. I do not see all of my individual files when I access icloud except for ones I added through a different means than the application. The issue of apps becoming outdated and any files bein

Re: The iOS "Files" folder

2020-10-13 Thread John Balgenorth via use-livecode
Think and say anything you want! A lot of people value accessing their files. Someone will eventually make a device that allows you to save your files properly and you will see a lot of people switch platforms. If you have any evidence suggesting people do not care about their files please prov

Re: The iOS "Files" folder

2020-10-13 Thread Phil Davis via use-livecode
On a related note, there is a "File Sharing" check box in the iOS > Requirements tab > Requirements and Restrictions section of the Standalone App settings. What does that do? Thanks - Phil Davis On 10/13/20 9:19 AM, Andrew at MidWest Coast Media via use-livecode wrote: It looks from the min

Re: The iOS "Files" folder

2020-10-13 Thread Andrew at MidWest Coast Media via use-livecode
> It looks from the minimum documentation I have that you could do much the > same with an image, but I have not tried it. I use this in a (now abandoned) feature of an app to take a screenshot of the mobile stack and share the image. Switched to this after mergSocial stopped working when App

Re: The iOS "Files" folder

2020-10-13 Thread Bob Sneidar via use-livecode
I’m gonna say you have a bone to pick with Apple. Bob S On Oct 12, 2020, at 4:34 PM, John Balgenorth via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: So for school children who are interested in keeping their work for the rest of their life it all depends on Apples mood since it

Re: The iOS "Files" folder

2020-10-13 Thread Bob Sneidar via use-livecode
I’ll have to take issue with that one. If your device is set to sync to the cloud, your notes will be preserver. There’s no unlikely about it. The only way they would not sync is if you had sync turned off for notes. In that case it is not only likely but certain you will lose any new data since

Re: The iOS "Files" folder

2020-10-13 Thread Graham Samuel via use-livecode
Elanor has given me some more information about the very poorly documented mergPropActivity - I don’t know how to get someone who really understands it to provide meaningful documentation. Meanwhile, thanks to Elanor, I can generate a text file within my iOS app and can have a button within the

Re: The iOS "Files" folder

2020-10-12 Thread John Balgenorth via use-livecode
;>> this is sandboxed from other apps. That being said, there is obviously a >>> way for an app to request permission from the iOS to access another app’s >>> storage. I’m not sure if Livecode has that mechanism though. it’s probably >>> some kind of Xcode l

Re: The iOS "Files" folder

2020-10-12 Thread Dev via use-livecode
sure if Livecode has that mechanism though. it’s probably some kind >> of Xcode library. >> >> Bob S >> >> >> On Oct 10, 2020, at 8:42 AM, Graham Samuel via use-livecode >> mailto:use-livecode@lists.runrev.com>> wrote: >> >> Is it p

Re: The iOS "Files" folder

2020-10-12 Thread J. Landman Gay via use-livecode
runrev.com>> wrote: Is it possible to access (write to) the iOS “Files” folder from an iOS app? I see that there is no specialFolderPath entry for it, but it appears that some apps do allow saving to the folder, and one is then allowed to open such files with an appropriate app. Basically

Re: The iOS "Files" folder

2020-10-12 Thread John Balgenorth via use-livecode
m Samuel via use-livecode > mailto:use-livecode@lists.runrev.com>> wrote: > > Is it possible to access (write to) the iOS “Files” folder from an iOS app? I > see that there is no specialFolderPath entry for it, but it appears that some > apps do allow saving to the folder, and o

Re: The iOS "Files" folder

2020-10-12 Thread Rick Harrison via use-livecode
Hi Graham, You can write to your own app’s preference’s folder. Due to sandboxing Apple doesn’t want you writing stuff elsewhere. You can sometimes write to special folders, I don’t know the list off of the top of my head however. Keep us informed of your progress. Rick > On Oct 12, 2020, at 1

Re: The iOS "Files" folder

2020-10-12 Thread Graham Samuel via use-livecode
anyone on this list has ever used it. Graham > On 10 Oct 2020, at 17:42, Graham Samuel via use-livecode > wrote: > > Is it possible to access (write to) the iOS “Files” folder from an iOS app? I > see that there is no specialFolderPath entry for it, but it appears that some

Re: The iOS "Files" folder

2020-10-12 Thread Bob Sneidar via use-livecode
some kind of Xcode library. Bob S On Oct 10, 2020, at 8:42 AM, Graham Samuel via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Is it possible to access (write to) the iOS “Files” folder from an iOS app? I see that there is no specialFolderPath entry for it, but it appears tha

The iOS "Files" folder

2020-10-10 Thread Graham Samuel via use-livecode
Is it possible to access (write to) the iOS “Files” folder from an iOS app? I see that there is no specialFolderPath entry for it, but it appears that some apps do allow saving to the folder, and one is then allowed to open such files with an appropriate app. Basically I am thinking of giving

Re: What the heck? Writing and reading ios files??

2020-06-25 Thread Richard Gaskin via use-livecode
Ralph DiMola wrote: > I did not know that. I thought all DNS was case insensitive not just > the TLD. I never seen it to the contrary. > > The Unicode thing is scary though. It validates my surfing habits. I > never use email links. If I get an email from say my bank I always > type the URL into

RE: What the heck? Writing and reading ios files??

2020-06-25 Thread Ralph DiMola via use-livecode
PM To: Ralph DiMola via use-livecode Cc: Mark Wieder Subject: Re: What the heck? Writing and reading ios files?? On 6/25/20 2:16 PM, Ralph DiMola via use-livecode wrote: > FYI: So does Android. > > ...Imagine if we had case sensitive URLs or email addresses... Um. In that case, you'

Re: What the heck? Writing and reading ios files??

2020-06-25 Thread JB via use-livecode
Glad to see you got it working! JB > On Jun 25, 2020, at 3:25 PM, Prothero-ELS via use-livecode > wrote: > > JB, > Thanks for the comment. Yes, I went back to my previous use of “_” in the > file name. All is working now. It was the difference between “l” and “L” in a > file name. Sheesh! >

Re: What the heck? Writing and reading ios files??

2020-06-25 Thread Mark Wieder via use-livecode
On 6/25/20 2:16 PM, Ralph DiMola via use-livecode wrote: FYI: So does Android. ...Imagine if we had case sensitive URLs or email addresses... Um. In that case, you'll probably be surprised to find out that URLs *are* case-sensitive. It's only the TLD where it doesn't matter. What *is* a pr

Re: What the heck? Writing and reading ios files??

2020-06-25 Thread Prothero-ELS via use-livecode
JB, Thanks for the comment. Yes, I went back to my previous use of “_” in the file name. All is working now. It was the difference between “l” and “L” in a file name. Sheesh! Bill William Prothero https://earthlearningsolutions.org > On Jun 25, 2020, at 2:27 PM, JB via use-livecode > wrote: >

Re: What the heck? Writing and reading ios files??

2020-06-25 Thread JB via use-livecode
I don’t think the underscore character “_” should cause any problems in the pathname but if you use a space in the name you need to be sure and enclose the pathname in quotes or it will fail. JB > On Jun 25, 2020, at 1:53 PM, Terry Judd via use-livecode > wrote: > > On 26/06/2020, 02:40, "use-

RE: What the heck? Writing and reading ios files??

2020-06-25 Thread Ralph DiMola via use-livecode
al Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of prothero--- via use-livecode Sent: Thursday, June 25, 2020 4:07 PM To: JJS via use-livecode Cc: proth...@earthlearningsolutions.org Subject: Re: What the heck? Writing and reading ios files?? Folks: Thanks fo

Re: What the heck? Writing and reading ios files??

2020-06-25 Thread Terry Judd via use-livecode
On 26/06/2020, 02:40, "use-livecode on behalf of William Prothero via use-livecode" wrote: Jacqueline: Thanks for responding. I am really stuck on this. I can write the file, and get a list of the files I write, but when I try to read the file using the same code to create the fil

Re: What the heck? Writing and reading ios files??

2020-06-25 Thread prothero--- via use-livecode
Folks: Thanks for you input. What I found out is that the iPhone cares very much about case in text, but running the app on my desktop didn’t care about case, so I had a mystery solved only by going down every blind alley until I finally found the offending code. It also seems, but I haven’t te

Re: What the heck? Writing and reading ios files??

2020-06-25 Thread William Prothero via use-livecode
Jacqueline: Thanks for responding. I am really stuck on this. I can write the file, and get a list of the files I write, but when I try to read the file using the same code to create the filepaths, etc, the read routine says the file doesn’t exist. It all works in the dev environment. I had us

Re: What the heck? Writing and reading ios files??

2020-06-25 Thread Klaus major-k via use-livecode
Hi Bill, > Am 25.06.2020 um 02:35 schrieb prothero--- via use-livecode > : > > Folks: > I’m having a very weird problem writing then reading the same file on ios. I > must be missing something very basic. I’ve checked the path to the file when > it is written and it matches exactly to the path

Re: What the heck? Writing and reading ios files??

2020-06-24 Thread J. Landman Gay via use-livecode
Mobile is case-sensitive, desktop isn't. The "documents" folder should be all lower case. If that's not the problem then show us the lines of script that both create the file path and retrieve it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperacti

Re: What the heck? Writing and reading ios files??

2020-06-24 Thread JB via use-livecode
Another solution might be to copy and paste a file or create a new file of any type and give it a name like myPath or whatever. Put that file in the same location of the directory you expect your other file to show up in. You can use any method to get the file path of your new file myPath and use

Re: What the heck? Writing and reading ios files??

2020-06-24 Thread JB via use-livecode
I didn’t test the code so I do not know what is happening with the file. But and idea to test for problems is only write code that will put something like :Hello world!” into the file and see if you can locate the file on your drive. If you still have the problem at least it can be fixed within t

Re: What the heck? Writing and reading ios files??

2020-06-24 Thread prothero--- via use-livecode
Added info: I’ve tried putting the files in “cache”, in the “Documents” folder directly, and using > put URL ("file:"&tFile) to store the data. Didn’t change anything. I also looked at the lesson on reading and writing livecode files. Nothing helps. I’m using Livecode Business 9.6.0 on a Mac r

What the heck? Writing and reading ios files??

2020-06-24 Thread prothero--- via use-livecode
Folks: I’m having a very weird problem writing then reading the same file on ios. I must be missing something very basic. I’ve checked the path to the file when it is written and it matches exactly to the path when I try to read it. In the read routine, I check for the file’s existence and it sa

Save a file on iOS Files app ?

2019-03-16 Thread Ludovic THEBAULT via use-livecode
Hello, It is possible to save a file on an iPhone which can be accessed by the iOs Files app (at least in the On My Phone folder) ? Thanks ! https://support.apple.com/en-au/HT206481 ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Setting the Extended Attribute of iOS files/folders

2011-12-12 Thread ddas
Hi All, It's been a few days since I brought up this matter. Is there any chance of Revolution supporting setting the extended attributes of ios files/folders any time soon or does it already and I am not aware of it. Thanks, Debdoot __

ios files

2011-07-24 Thread gwendalwood
entcount close file temp1 ****** Message: 4 Date: Sun, 24 Jul 2011 09:30:00 +1000 From: Gerry Orkin To: How to use LiveCode Subject: Re: iOS files Message-ID: Content-Type: text/plain; charset=us-ascii Post your code... Gerry -- Sent from my iPhone. On 24/0

Re: iOS files

2011-07-24 Thread J. Landman Gay
On 7/23/11 11:19 AM, gwendalw...@cox.net wrote: Anyone know how to read and write files in an iOS application running on an iPad 2? Also, does anyone know how to print from within the iOS application? Any hints would be appreciated. My routines work in the simulator for reading and writing files,

Re: iOS files

2011-07-23 Thread Gerry Orkin
Post your code... Gerry -- Sent from my iPhone. On 24/07/2011, at 2:19 AM, wrote: > Anyone know how to read and write files in an iOS application running on an > iPad 2? > Also, does anyone know how to print from within the iOS application? > Any hints would be appreciated. My routines work

iOS files

2011-07-23 Thread gwendalwood
Anyone know how to read and write files in an iOS application running on an iPad 2? Also, does anyone know how to print from within the iOS application? Any hints would be appreciated. My routines work in the simulator for reading and writing files, but don't work on the iPad 2.