×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    8

    Appliation's private folder

    Hi,
    I'm looking for something similar to Symbian's private folder/application feature in Harmattan.
    From Dev. library I read about storing in /home/user/private folder but after testing it I observed that stored files by a given application can be read by another.
    In short I have 2 apps:
    - App. x stores data in /home/user/private/fx.txt using QFile
    - App. y reads data from /home/user/private/fx.txt using QFile
    I was expecting /home/user/private/fx.txt to be accessible/visible only for App. x
    I'm I missing something? Probably some credentials in the manifest? (I'm using default manifest for both apps)

  2. #2
    Registered User
    Join Date
    Nov 2011
    Posts
    2

    Re: Appliation's private folder

    Current version of QtCreator doesn't include aegis manifest to deb packages by default. And if your apps don't have unique AID then then everybody can read the file.

    If you use platform SDK with scratchbox, aegis manifest files are automaticly added. Or if you want to use QtSDK, then you need to manually change the manifest from automatic to manually created.

    (you can double check if deb file includes manifest by extracting the deb file with: ar -vx file.deb; tar -zxvf control.tar.gz; if it doesnt have the aegis manifest, then more editing is needed).

    I tested with my custom x and y applications and with proper manifest files applications don't see each others files.

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    8

    Re: Appliation's private folder

    Hi rainisto,
    Thanks for the effort.
    QtCreator was including the manifest in the package, the problem was that I used QtCreator to deploy the application on device.
    If packages are copied to device and installed from there, the private storage works well.

Similar Threads

  1. Private folder sharing.
    By StasV in forum Symbian
    Replies: 3
    Last Post: 2009-11-04, 11:37
  2. Cannot use own private folder?
    By trogo in forum Symbian
    Replies: 6
    Last Post: 2009-01-27, 11:05
  3. Name of the private folder
    By rihoe in forum Symbian
    Replies: 6
    Last Post: 2008-04-23, 12:30
  4. Replies: 3
    Last Post: 2007-09-20, 16:48
  5. Private folder is not really private
    By vanvu76 in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-05-16, 17:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×