PDA

View Full Version : [iPhone SDK] Can the SDK read files on the disk ?


jchiar
03-12-2008, 11:38 PM
Ive got the SDK. I cant figure out if and how the SDK can access a file or folder on the file system?

I am working on an app that needs to be able to read mp3 file that are put in a folder in disk mode.

Can this be done?

davidb367
03-13-2008, 02:11 AM
Short answer: NO

The SDK documentation explicitly states that all 3rd party developer applications run in sandbox mode (i.e. no access to hardware, devices, or file system.) All application data is stored in the application's file space. Applications do have access to WIFI and EDGE (with restrictions.)

This will require hacking to either elevate the permissions to root level, certificate hack, or Springboard hack to change the access permissions if Springboard enforces those restrictions.

wlp5
03-13-2008, 09:37 AM
So, that means SDK apps (without other hacks) won't be able to manipulate the ipod database to add/remove songs/videos or are there any specific functions that allow this.