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
Developer
myquestion
Posts: 235
Registered: ‎11-12-2008
My Device: Not Specified

Delete video files Blackberry

How to delete all video file from Blackberry Programatically...

Piece of Code will be helpfull..

Thanks

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Delete video files Blackberry

the same as any other file.
http://www.blackberry.com/developers/docs/7.1.0api/javax/microedition/io/file/FileConnection.html#de...
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
myquestion
Posts: 235
Registered: ‎11-12-2008
My Device: Not Specified

Re: Delete video files Blackberry

yes i know this api...

Is there is any code from which u can help me out...

Thanks in advance..

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Delete video files Blackberry

what exactly do you want to achieve?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
myquestion
Posts: 235
Registered: ‎11-12-2008
My Device: Not Specified

Re: Delete video files Blackberry

to delete all the video files and corresponding all files from blackberry?

with a button click...

 

Thanks in advance..

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Delete video files Blackberry

recursively traverse all directories and delete all video files you encounter, i'd say.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter