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
AbeesMuhammed
Posts: 49
Registered: ‎05-20-2009
My Device: Not Specified

Move File from local memory to SDCard

Hi All,

I am looking for an API that can help to move a file in the local memory (device memory) to SDCard. I noticed "javax.microedition.io.file.FileConnection" with which I can create/delete/rename/read/write files.

 

Thanks

Abees

Please use plain text.
Guru I
Bifocals
Posts: 16,194
Registered: ‎07-23-2008
My Device: Torch 9850/ Playbook
My Carrier: VerizonWireless

Re: Move File from local memory to SDCard

 


AbeesMuhammed wrote:

Hi All,

I am looking for an API that can help to move a file in the local memory (device memory) to SDCard. I noticed "javax.microedition.io.file.FileConnection" with which I can create/delete/rename/read/write files.

 

Thanks

Abees


 

 

Hi and welcome to the forums!

Please specify your device, so we can help you better.

For example on my (9530) Storm, I can use a PC (windows) to see my device memory and SD card.

The design for the Storm is based on a mass storage (device) and a removable storage SD card.

I can move files between them.  You cannot remove core device OS files as they are protected.

Let us know your device and if we can help you.

Thanks,

 

Bifocals

 

Click Accept as Solution for posts that have solved your issue(s)!
Be sure to click Like! for those who have helped you.

Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

Follow Bifocals on Twitter

Please use plain text.
Developer
AbeesMuhammed
Posts: 49
Registered: ‎05-20-2009
My Device: Not Specified

Re: Move File from local memory to SDCard

[ Edited ]

Hi,

I am developing a blackberry application in which I would like to move a file from local memory to SDCard. The file I would like to move is created from my application itself. I am looking forward to get help on what APIs can I use for this purpose. If I could get an an example then it will be excellent. The version of OS I am using is 4.3.

 

 

Thanks

Abees

Please use plain text.
Developer
yosoh
Posts: 213
Registered: ‎07-18-2008
My Device: Not Specified

Re: Move File from local memory to SDCard

take a look at the FileExplorerDemo application which comes with the JDE.

--------------------------------------------------
problemSolved() ? kudosPlease():kudosPlease();
Please use plain text.