File Transfer
Posted: Sat Mar 12, 2011 5:52 pm
I'm struggling to see how I can use files generally for transfer to/from an iPad and a laptop. I'd like to upload control files and download results files from a known area on the iPad, such as the special Documents folder.
For example, I'm developing an iPad app that will be used to present a number of different forms and the idea is that the form content is contained in 3 control files (the questions in one file and two different picking lists in the other two files) which are then used during the preopenstack handler to build the actual form elements on screen. This is all working fine in the simulator where, for testing purposes I have the control files in the same folder as the app when running as a Mac app and in the iPad simulator's special Documents folder when running in the simulator.
However, I don't see how I can upload these 3 control files into the special documents area or get results files back again from there with an actual iPad rather than the simulator. I thought of using the email as a way of getting the results back out again, but there doesn't seem to be a way of sending emails with attachments. Also, I'm not sure how I'd get the control files uploaded to the iPad to start with!
Some simple form of file transfer into and from the iPad must be supported somehow, perhaps not in the current LiveCode release, but at some point?!
Any suggestions please?
Peter
For example, I'm developing an iPad app that will be used to present a number of different forms and the idea is that the form content is contained in 3 control files (the questions in one file and two different picking lists in the other two files) which are then used during the preopenstack handler to build the actual form elements on screen. This is all working fine in the simulator where, for testing purposes I have the control files in the same folder as the app when running as a Mac app and in the iPad simulator's special Documents folder when running in the simulator.
However, I don't see how I can upload these 3 control files into the special documents area or get results files back again from there with an actual iPad rather than the simulator. I thought of using the email as a way of getting the results back out again, but there doesn't seem to be a way of sending emails with attachments. Also, I'm not sure how I'd get the control files uploaded to the iPad to start with!
Some simple form of file transfer into and from the iPad must be supported somehow, perhaps not in the current LiveCode release, but at some point?!
Any suggestions please?
Peter