The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-31-2008, 03:18 PM
iPhone? More like MyPhone
 
Join Date: Aug 2007
Posts: 104
Thanks: 19
Thanked 13 Times in 8 Posts
Send a message via AIM to swell
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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 10-31-2008, 03:47 PM
jakecigar's Avatar
iPhoneaholic
 
Join Date: Aug 2007
Device + Firmware: 2 x 3G iPhone 2.2, pwned
Operating System: OS X 10.5.6
Location: San Francisco, CA
Posts: 475
Thanks: 24
Thanked 108 Times in 93 Posts
Send a message via AIM to jakecigar Send a message via Yahoo to jakecigar Send a message via Skype™ to jakecigar

sure it works, but then your app is gone, and the other app has control!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 11-03-2008, 03:12 PM
iPhone? More like MyPhone
 
Join Date: Oct 2007
Posts: 111
Thanks: 2
Thanked 17 Times in 14 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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 11-03-2008, 03:41 PM
461am's Avatar
Livin the iPhone Life
 
Join Date: Aug 2008
Operating System: Windows XP | Mac OSX | Ubuntu
Location: Houston, TX
Posts: 1,241
Thanks: 28
Thanked 171 Times in 155 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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 12:38 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top