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

Java Development

Reply
Trusted Contributor
pli
Posts: 174
Registered: 09-04-2011
My Carrier: at&t
Accepted Solution

content of file at device retrieved by using BB desktop manager is not completely right

My applications have logs file and it seems too hard to read on device (screen it too small), so I used the Blackberry destop manager to copy the files into my computer. However the file content is just not correct. It is missing end of file content. The sequence of contents is not right as well. Some characters are seems deleted or changed. I could get slight different file content with each copy.  However I could view the correct file at the BB device. I never have any trouble to copy files from computer to device thru desktop manager and they are always correct.

 

Am I missing sth or is this a known issue? Somehow I could not find a good keyword to search on google.

 

 

Please use plain text.
Administrator
MSohm
Posts: 11,465
Registered: 07-09-2008
My Carrier: Bell

Re: content of file at device retrieved by using BB desktop manager is not completely right

Are you copying the file using the Synchronization APIs or by accessing your BlackBerry Smartphone as a USB drive on your PC?

 

How is the file being created on the device?  Ensure that you are closing all streams before copying the file.  

 

Close connections

http://supportforums.blackberry.com/t5/Java-Development/Close-connections/ta-p/444878

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Trusted Contributor
pli
Posts: 174
Registered: 09-04-2011
My Carrier: at&t

Re: content of file at device retrieved by using BB desktop manager is not completely right

Thanks. I was accessing the log file of my application which is still in use. I think that as long as file is closed, I am able to get correct content.

Please use plain text.