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
developer_aman_arora
Posts: 354
Registered: ‎06-05-2013
My Device: Blackberry Z10

How can we in a code controlled cut copy paste option of files and folders?


Hi,

 

I want to remove cut, copy, paste option of files & folders in my app. i am able to remove text option using clipboard but unable to files & folders, so please help me on this

 

Thanks & Regards

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

Re: How can we in a code controlled cut copy paste option of files and folders?

what do you mean with "files & folders" in your app?
----------------------------------------------------------
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
developer_aman_arora
Posts: 354
Registered: ‎06-05-2013
My Device: Blackberry Z10

Re: How can we in a code controlled cut copy paste option of files and folders?

[ Edited ]

means any file or folder that is available on device either on phone memory or external memory. Through my app i want to remove cut copy paste functionality of files and folder... so that no one can copy my files and folders untill i want it.. is it possible?

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

Re: How can we in a code controlled cut copy paste option of files and folders?

is there any way i can remove system menus?
Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How can we in a code controlled cut copy paste option of files and folders?

no, this is not possible.
----------------------------------------------------------
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
developer_aman_arora
Posts: 354
Registered: ‎06-05-2013
My Device: Blackberry Z10

Re: How can we in a code controlled cut copy paste option of files and folders?

any other way then?
Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How can we in a code controlled cut copy paste option of files and folders?

no, as far as i know there are not even BES policies for something like this.
----------------------------------------------------------
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
developer_aman_arora
Posts: 354
Registered: ‎06-05-2013
My Device: Blackberry Z10

Re: How can we in a code controlled cut copy paste option of files and folders?

Thanks for help, and one last thing i will like to know in clipboard available in blacckberry can we store files or pictures?
Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How can we in a code controlled cut copy paste option of files and folders?

it contains an Object, so you can put quite everything in it.
the system usually puts only a string in it i guess.

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/Clipboard.html#get()
----------------------------------------------------------
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