My application is used for security purpose. so, from my application user captures photos that all photos are stored in a folder that folder should not access from any other app
Its not possible to give no access to that folder when device connected to pc.. Also its not possible on sdcard also, But you can use different format for images that can be opened only from your application, or you can encrypt images. Or if you want to hide images from showing them into gallery, you can put a blank file with name as ".nomedia" in your folder. But its not possible cause if u read docs about WRITE_EXTERNEL_STORAGE permission you will understand what I am saying. :)