Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 45
Registered: ‎10-25-2012
My Device: 8520
My Carrier: ss
Accepted Solution

create hidden file

[ Edited ]

I want to store some images(which come from server ) in sd card  , These images should not be shown in blackberry media gallery. How can i create hidden file in blackberry for blackberry os 5 to 7.

Developer
Posts: 354
Registered: ‎06-05-2013
My Device: Blackberry Z10
My Carrier: Vodafone

Re: create hidden file

[ Edited ]

do like this:

FileConnection fileConnection = (FileConnection)Connector.open(path);

fileConnection.setHidden(true);

Contributor
Posts: 45
Registered: ‎10-25-2012
My Device: 8520
My Carrier: ss

Re: create hidden file

Thanks.  :smileyhappy: