Thread: apps reading apps files
-
10-31-2008, 02:18 PM #1
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
-
10-31-2008, 02:47 PM #2iPhoneaholic
- 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
-
11-03-2008, 02:12 PM #3
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.
-
11-03-2008, 02:41 PM #4Livin the iPhone Life
- 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.



LinkBack URL
About LinkBacks

Reply With Quote
