Read/write files on iDisk/mobileme ?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
olive
Posts: 12
Joined: Tue Nov 02, 2010 6:43 pm

Read/write files on iDisk/mobileme ?

Post by olive » Fri Dec 31, 2010 7:19 pm

Hello,

on IOS, is it possible to write / read files on a remote mobileme iDisk?

Thank you

Olivier

hliljegren
Posts: 108
Joined: Sun Aug 23, 2009 7:48 am
Contact:

Re: Read/write files on iDisk/mobileme ?

Post by hliljegren » Sat Jan 01, 2011 10:12 pm

There is an API for that but the API needs to be supported by Runrev in order for us to use it. Another method for accessing iDisk is to use webdav and if I recall correctly, putting a file on webdav server is a "simple" http PUT. Everything webdav does sits on top of standard HTTP, but you need to be able to examine the http headers, so if libURL was supported you could at least implement your own solution. BUT libURL isn't supported yet, so at the moment I think you are out of luck. AFAIK libURL will be supported in the (near?) future.
___________________________________
MacBook Pro, 15" 2.6GHz i7 Mac OS X 10.10.4
iMac 27", 3.2 GHz Quad i7, Mac OS 10.10.4
LiveCode 7.0.6 or 8.0dp4

olive
Posts: 12
Joined: Tue Nov 02, 2010 6:43 pm

Re: Read/write files on iDisk/mobileme ?

Post by olive » Sat Jan 01, 2011 10:51 pm

ok, thank you hliljegren !

Do you know if there is an API to send / receive email in the background?
And if so, do you think runrev will soon implement in the IOS version?

Thank you

Olivier

hliljegren
Posts: 108
Joined: Sun Aug 23, 2009 7:48 am
Contact:

Re: Read/write files on iDisk/mobileme ?

Post by hliljegren » Sun Jan 02, 2011 8:03 pm

Sending email in the background is (AFAIK) not allowed according to Apple's developer license. But Runrev already has a tutorial on how to send email using the "built-in" mail application.
___________________________________
MacBook Pro, 15" 2.6GHz i7 Mac OS X 10.10.4
iMac 27", 3.2 GHz Quad i7, Mac OS 10.10.4
LiveCode 7.0.6 or 8.0dp4

olive
Posts: 12
Joined: Tue Nov 02, 2010 6:43 pm

Re: Read/write files on iDisk/mobileme ?

Post by olive » Mon Jan 03, 2011 8:22 am

ok, thank you !

Post Reply

Return to “iOS Deployment”