+ Reply
Results 1 to 4 of 4
  1. #1
    Green Apple
    Join Date
    Aug 2007
    Posts
    98
    Thanks
    19
    Thanked 13 Times in 8 Posts

    Default apps reading apps files

    Hey everybody.

    I was just wondering how far this "sandbox" thing goes. Say I make an app that lets you transfer files to your iPhone (kinda like airsharing, briefcase, etc) and then I make another app that wants to read those files and do something with them. Is this possible at all, and I mean officially? I know that it's not really supposed to but you know how you can set up an app url protocol like myapp://filename.extension or something like that? Something that safari could handle. Basically it's like how you go into safari and type tel://yournumber and it sends it to phone.app to call that number. well what if i set up a webview in my app to retrieve my other app (airsharing-type)'s files. Thanks in advance.

    Swell

  2. #2
    iPhoneaholic jakecigar's Avatar
    Join Date
    Aug 2007
    Location
    San Francisco, CA
    Posts
    476
    Thanks
    24
    Thanked 112 Times in 94 Posts

    sure it works, but then your app is gone, and the other app has control!
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  3. #3
    iPhone? More like MyPhone
    Join Date
    Oct 2007
    Posts
    132
    Thanks
    2
    Thanked 18 Times in 15 Posts

    With firmware 2.0.x, any App could read and write files anywhere in
    /private/var/mobile/Applications

    With firmware 2.1 it doesn't work.
    You are restricted to /private/var/mobile/Applications/YOUR_APP_UUID

    If you have a jailbroken phone and install the app in /Applications you can read and write anywhere you want.

  4. #4
    Livin the iPhone Life 461am's Avatar
    Join Date
    Aug 2008
    Location
    Houston, TX
    Posts
    1,241
    Thanks
    28
    Thanked 183 Times in 159 Posts

    The only way I see this working is if the first application stores all the data (that is to be used by the second application) on a server.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts