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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
testinz
Posts: 104
Registered: ‎09-03-2012
Accepted Solution

How to copy file?

Just wondering how do you do copy file operation?

 

Also, where is the best place to store your applicatin specific file?

Please use plain text.
BlackBerry Development Advisor
jomurray
Posts: 27
Registered: ‎09-06-2010

Re: How to copy file?

You should use QFile: https://developer.blackberry.com/cascades/reference/qfile.html to perform reading and writing of files. There is a good description of the various file locations and their use by appliations in this document on slides 14 and 15:  https://developer.blackberry.com/cascades/files/webinars/dealing_with_data.pdf

Please use plain text.
Developer
testinz
Posts: 104
Registered: ‎09-03-2012

Re: How to copy file?

Thanks JoMurray.

Is there a file length restriction?
Please use plain text.
BlackBerry Development Advisor
jomurray
Posts: 27
Registered: ‎09-06-2010

Re: How to copy file?

I'm not aware of any specifc restrictions.

Please use plain text.
Developer
smiley
Posts: 1,101
Registered: ‎07-14-2008
My Carrier: Fido

Re: How to copy file?

Not related but how do you read and write file from sd card?

Please use plain text.