×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    16

    Question deploy images to c:\Private and hide it from gallery app

    Hi,

    In my application we need to export few images to c:\Private in the device. And this should not be visible in the gallery. How can i do it ? Thank you in advance.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: deploy images to c:\Private and hide it from gallery app

    In the same application's own private folder, or some other application's private folder? (You can't write directly to the \Private folder, nor to any other application's subfolder under \Private without TCB and AllFiles capabilities.)

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    16

    Re: deploy images to c:\Private and hide it from gallery app

    @petrib
    Thank you.
    I used DEPLOYMENT keyword and added the following in my .pro file and it worked.

    myFiles.path = e:\private\<UID3>\images
    DEPLOYMENT += myFiles

  4. #4
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: deploy images to c:\Private and hide it from gallery app

    You don't need to specify the "e:\private\<UID3>\". The application private directory is the default location.

  5. #5
    Registered User
    Join Date
    May 2010
    Posts
    16

    Re: deploy images to c:\Private and hide it from gallery app

    @danhicksbyron

    So What should i be writing in the pro file ?

  6. #6
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: deploy images to c:\Private and hide it from gallery app

    Quote Originally Posted by ashwinbhatks View Post
    @danhicksbyron

    So What should i be writing in the pro file ?
    For a single file, ".".

  7. #7
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Re: deploy images to c:\Private and hide it from gallery app

    In my app i need to store a lot of jpg ..actually i store all that on mass memory disk e: where gigabytes are availables ...
    but i dont want that images showing in the gallery ...
    Is there something better i can do instead of renaming .jpg to different extension ? (i suppose gallery show a file it as it recognize the jpg extension)
    Keep it simple, stupid
    borg - http://store.ovi.com/content/116105

  8. #8
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: deploy images to c:\Private and hide it from gallery app

    You can install your app on E:

  9. #9
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Re: deploy images to c:\Private and hide it from gallery app

    Quote Originally Posted by danhicksbyron View Post
    You can install your app on E:
    Hello, it's ok if i can force users to install on E:
    I'm not aware about if it is possible or not ...
    can this be done?
    Keep it simple, stupid
    borg - http://store.ovi.com/content/116105

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: deploy images to c:\Private and hide it from gallery app

    Quote Originally Posted by lucarocchi View Post
    Hello, it's ok if i can force users to install on E:
    I'm not aware about if it is possible or not ...
    can this be done?
    ideally you should not force the user to install on a specific drive. If you really want it then you can do it by directling all installation paths to e:/ or any other you wanted,

  11. #11
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Re: deploy images to c:\Private and hide it from gallery app

    Quote Originally Posted by skumar_rao View Post
    ideally you should not force the user to install on a specific drive. If you really want it then you can do it by directling all installation paths to e:/ or any other you wanted,
    Can you point me how to configure install package to install on E:?
    Keep it simple, stupid
    borg - http://store.ovi.com/content/116105

  12. #12
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: deploy images to c:\Private and hide it from gallery app

    In the Symbian .pkg file, use a specific drive letter instead of '!' (the exclamation point makes the Symbian installer prompt the user for the installation drive).

    How that translates to Qt is probbably somehow via the pro file: http://doc.qt.nokia.com/4.6/qmake-va...reference.html

Similar Threads

  1. copy images from Gallery to computer
    By kumar_a in forum Symbian Tools & SDKs
    Replies: 10
    Last Post: 2008-10-10, 05:46
  2. Does S60 Gallery retrieved images from an application's private folder?
    By ferranhalden in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2008-03-28, 17:54
  3. Replies: 6
    Last Post: 2007-07-18, 10:58
  4. Get into the images gallery
    By Sory in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-05-10, 04:41

Posting Permissions

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