Transfer data from 1 App to another
Darren Andes
2 posts
|
Has anyone thought of any ways to transfer data from a SQLite database from one iPhone application and import it into another? The closest functionality I can find is the ability to Register a Custom URL Scheme and using the openURL call, but I’m not sure how much data you can transfered using this method. |
Felipe Laso
76 posts
|
Hey Darren. Each iPhone app has it’s own “sandbox”. So sharing local resources (that is resources that are saved by an application on the device) is not possible. It kinda sucks if you are making a suite of apps or need connectivity from another application, but you can do two things that come to mind: • Subscribe your app to the notification services so that another app can call your application for certain functionality (although you wouldn’t be sharing it’s data). • Or you can load your data off a server using a database or whatever file/information you need to load. I’m not sure if there are other better ways to share data between applications, but from what I have read it’s not possible due to iPhone’s secure nature and it’s sandbox implementation. Take care, |
Ronny Bangsund
11 posts
|
I would probably use a server, like Felipe suggested. Maybe link the data to a device’s UDID and a user-selected password. |
Paul Wilson
17 posts
|
Hi Felipe, I was wondering what you meant by this:
Was that registering a custom url, or is there some other means of communicating between apps? If the latter, do you have a link for info on that? Thanks, |
4 posts, 4 voices
