Apps Work Together?

Discussion in 'iOS Apps' started by jmccray, Jan 21, 2009.

  1. jmccray macrumors regular

    Joined:
    Jan 23, 2008
    #1
    Can apps reference each other or work together? For example, if I am in ABContacts, which is my premiere contacts app, and I want to send someone a birthday card with hiCard, is this possible? I guess what I am asking, as I know that it's not currently possible, but can a developer link to another developers' app? Thanks!
     
  2. jmccullough108 macrumors 6502a

    jmccullough108

    Joined:
    Nov 2, 2008
    Location:
    St. Louis, MO
  3. kas23 macrumors 603

    kas23

    Joined:
    Oct 28, 2007
    #3
    I would love to be able to do stuff like this. There are so many apps currently that could work very well together if they were able to "communicate" with each other. However, due to Apple's policy of apps not being able to run in the background, this won't happen. Once an app is closed, it's closed. There may be something in the jailbreaking community to help with this though.
     
  4. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #4
    The developers would have to work together to send the information to an outside server so both apps can access the data.
     
  5. kas23 macrumors 603

    kas23

    Joined:
    Oct 28, 2007
    #5
    Not necessarily. Suppose you have a document in one of those file storing apps (like Briefcase), but this app cannot e-mail it. Wouldn't it be great if another email app was able to access that file from the file storing app and then email it? Or, if you downloaded a file from the internet with an app like iDownload, but you wanted to then edit this document. It would be great if a program that could edit documents could grab the doc from iDownload and then edit it.
     
  6. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #6
    Yes necessarily. One app can not talk to another app directly on the device. They need to send their data to an outside place (like their web server) then have the 2nd app pull that data off the server to be able to use it.
     
  7. kas23 macrumors 603

    kas23

    Joined:
    Oct 28, 2007
    #7
    No, you're misunderstanding me. You are talking about a way apps could be able to communicate within the confines of the current SDK. I am talking about a hypothetical situation where Apple would actually loosen-up and allow background running apps. In order to copy a document from one app and transfer it to another, you sure as heck wouldn't need to have it first sent to a remote server and then have it downloaded from another app. It could all be done locally. But, with the current SDK, Apple does not allow this to happen. What you describe is a work-around using the current SDK.
     
  8. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #8
    You never specified that you wanted it to be done within the confines of the SDK locally. Right now, there is a way for apps to talk to each other, that is by talking to an external server. All Apple needs to do is allow developers to write to a common area, no need for background apps.
     
  9. kas23 macrumors 603

    kas23

    Joined:
    Oct 28, 2007
    #9
    Oh well. That would be awesome if an app could write to a common area (just we do for saved photos) that could be used by any app on the iPhone. This would make the iPhone much better. I really unsure why they didn't make a common for saving documents. Maybe this is what they aim to do with their fee-based iWork website - make an area of the cloud your common area.
     
  10. admanimal macrumors 68040

    Joined:
    Apr 22, 2005
    #10
    Applications already have the ability to communicate with each other without the need for any external servers or anything, with some limitations. An app can support the use of URLs to allow external apps to send them information. So in the original example, hiCard would just need to support a particular URL format (and publicly publish it) for sending cards (e.g. hicard:newcard&sendto=mom). Then ABContacts could build in support for this type of URL to allow it to send data to hiCard.
     
  11. Jeremy1026 macrumors 68020

    Jeremy1026

    Joined:
    Nov 3, 2007
    #11
    Apps have no access to data outside of its own sandbox unless it is the devices address book or photo album.
     
  12. admanimal macrumors 68040

    Joined:
    Apr 22, 2005
    #12
    Nothing I said in my post is incorrect. You can pass actual data as part of the URL. This does not involve one application reading files inside the sandbox of another. There may be some limit to the length of a URL which will limit the amount of data you can send, but it would work fine for the OP's example.
     

Share This Page