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
Contributor
Posts: 48
Registered: ‎06-30-2010
My Device: 9000
My Carrier: Non
Accepted Solution

Problem in writing the data in to file which is inside SDcard.

Hi,

 

       In my application i'm trying to write the data in a text file which was inside SDcard.

 Everything was working fine. If once i connect my device to PC using USB , after unplug the device also the data is not appending int he filesystem. Plz can anyone help me to solve this issue.

 

 

 

Thanks,

Dhivya

BlackBerry Development Advisor
Posts: 15,882
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Problem in writing the data in to file which is inside SDcard.

Only 1 source can access the microSD card at a time.  So if the BlackBerry Smartphone is connected to a PC and mass storage mode is enabled, your application won't be able to access the microSD card.  Mass storage mode allows your PC to view the microSD card as a drive on your PC.  This is configurable in the Options of the device.  You can set it to on, off or prompt.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Highlighted
Contributor
Posts: 48
Registered: ‎06-30-2010
My Device: 9000
My Carrier: Non

Re: Problem in writing the data in to file which is inside SDcard.

Thanks for ur help.