Results 1 to 4 of 4
Discuss Create symlink in Apps ???? at the General - Hackint0sh.org; Hello everyone, In the next days I have been trying to find a way in ...
  1. #1
    Newbie Array

    Join Date
    Apr 2008
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Create symlink in Apps ????

    Hello everyone,

    In the next days I have been trying to find a way in which I could access the Documents from different applications (like Reedle Docs, iWork, in case of the iPad....) from GoodReader and have all my documents organized in one App, and not having the documents duplicated in different applications, like Apple wants us to do so.

    I tried to create symbolic links using iFile from the Documents folder of one app to the other's one (for exemple, create a symlink of Documents folder of ReedleDocs to the Documents folder of GoodReader) but in this case, GoodReader isn't able to see that folder.
    In the other hand, if I create the symlink not of the Documents folder of another App but from the "general" Docs folder (/var/mobile/Documents) it is seen by GoodReader, but I can't modify it. I tried to change the permission to 777, but the problem is still being there....

    Any ideas?

    Thanks in advance!



  2. #2
    Moderator Array

    Join Date
    Aug 2007
    Posts
    781
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    51

    Default

    Applications from the AppStore are sandboxed, which means they only get to write to their own folders, it can't write to /var/mobile/Documents, it can only read, like it does for displaying the camera roll, contacts, etc.
    Have you tried creating a symlink from the Documents folder of one app to a folder inside other app's Documents folder (like Documents/DocumentsSymlinked)? I don't know how GoodReader display the folders, but you should give it a try.

  3. #3
    Newbie Array

    Join Date
    Apr 2008
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Thank you for your reply. I have tried that but, in this case GoodReader doesn't even show the folder, it's like it wasn't there.

    So, I can't get GoodReader to write out of it's App folder... I don't know why GoodReader can't see this symlink folder. Any ideas?

    Thx!

  4. #4
    Moderator Array

    Join Date
    Aug 2007
    Posts
    781
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    51

    Default

    Hmm yeah, it won't see because despite the fact the symlink is on GoodReader's folder, it links to a folder outside of its sandbox, and inside another app's sandbox, which GoodReader simply can't even read (or write).
    What you could do is create a script to copy the files from the other app folder to GoodReader's folder, like a "synchronization".

 

 

Similar Threads

  1. Replies: 3
    Last Post: 10-31-2011, 05:09 PM
  2. MacNN: miApp platform used to create apps, ad campaigns
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 09-26-2009, 03:40 AM
  3. Create iPhone/iPod apps in Windows
    By John6000 in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 08-23-2008, 08:18 PM
  4. Replies: 18
    Last Post: 04-22-2008, 10:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 11:24 PM.
twitter, follow us!