App icons and images displayed in gallery

Thread is closed for posting
3 posts, 0 answers
  1. Mathias
    Mathias avatar
    4 posts
    Member since:
    Sep 2012

    Posted 02 May 2013 Link to this post

    I'm developing an app for Android and, to my surprise, I recently discovered that all app icons and images are displayed in the phone's gallery. 
    I did a quick search on this and found the advice to put in a ".nomedia"-file in the  image folder, which didn't work.
    Can this issue be avoided and how? 

    I've tested this on several devices including a LG Nexus 4 and a Sony Xperia Z.

    Thanks in advance!
  2. Kristian D. Dimitrov
    Kristian D. Dimitrov avatar
    68 posts

    Posted 06 May 2013 Link to this post

    Hi Mathias,

     Our build procedure has a build setting Debug and Release. When the application is build with Debug setting, it is unpacked on the device's SD card. This is necessary in order for LiveSync to work, because the files of the application are sand-boxed and we can't modify them unless the application actually uses the ones on the SD card. The appearance of the images in the gallery is a side effect of the files being on the SD card. Once the application is built in Release mode (for publishing) the images won't be included in the gallery of the phone (make sure that the Icenium folder on the SD card is deleted).

    Bare in mind that when the application is build in Release mode LiveSync won't work any more.

    Kind regards,
    Kristian D. Dimitrov
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
  3. Mathias
    Mathias avatar
    4 posts
    Member since:
    Sep 2012

    Posted 07 May 2013 Link to this post

    Thanks for your reply, I will have a look at the build settings.
Back to Top