This is a migrated thread and some comments may be shown as answers.

App icons and images displayed in gallery

2 Answers 56 Views
Android Devices
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mathias
Top achievements
Rank 1
Mathias asked on 02 May 2013, 02:01 PM
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 Answers, 1 is accepted

Sort by
0
Kristian D. Dimitrov
Telerik team
answered on 06 May 2013, 12:38 PM
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.
0
Mathias
Top achievements
Rank 1
answered on 07 May 2013, 01:59 PM
Thanks for your reply, I will have a look at the build settings.
Tags
Android Devices
Asked by
Mathias
Top achievements
Rank 1
Answers by
Kristian D. Dimitrov
Telerik team
Mathias
Top achievements
Rank 1
Share this question
or