10-19-2011 09:39 AM
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.
Solved! Go to Solution.
10-25-2011 02:45 PM
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-Develo
10-28-2011 11:22 AM
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.