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

Testing and Deployment

Reply
Highlighted
Developer
Posts: 289
Registered: ‎10-17-2008
My Device: Torch 9800
My Carrier: Rogers
Accepted Solution

Is it possible to access shared files in the simulator?

My Playbook app creates some files in the shared files folder. When running my app in the simulator, is it possible to access (read) these files from Windows?

 

Thanks,

 

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
BlackBerry Development Advisor
Posts: 15,813
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Is it possible to access shared files in the simulator?

Yes you can using the Target File System Navigator in the BlackBerry NDK.  Connect to the simulator using the NDK then click on Window menu -> Show View -> Other -> QNX Targets -> Target File System Navigator.

 

You can use that view to copy between a BlackBerry PlayBook (real or simulator) and your computer.

 

 

 

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Developer
Posts: 289
Registered: ‎10-17-2008
My Device: Torch 9800
My Carrier: Rogers

Re: Is it possible to access shared files in the simulator?

Hi Mark,

 

Would you please provide further instructions on how to connect the simulator to the NDK? I'm coming from the WebWorks world. I downloaded and installed the NDK. However, I'm unable to figure out how to attach the simulator to the NDK. Is this even possible from WebWorks? My apologies for not mentioning that I'm not developing using the NDK before.

 

Thanks,

 

 

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
BlackBerry Development Advisor
Posts: 15,813
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Is it possible to access shared files in the simulator?

First, setup the PlayBook simulator as a target.

 

  1. Click on File -> New -> Other...
  2. Expand BlackBerry Tablet OS.
  3. Select BlackBerry Tablet OS Target and click Next.
  4. Enter the IP address of the simulator (or use Autodetect).  Leave the password blank and complete the wizard.

 

Once you have the PlayBook simulator configured as a target, use the following steps to access the folders.

 

  1. Click on the Window menu.
  2. Choose Show View -> Other.
  3. Expand QNX.
  4. Select Target File System Navigator and click OK.
  5. In the Target File System Navigator navigated to the folder that contains the file you want to copy.
  6. Right click on the file you wish to copy and choose Copy To.  You can also drag and drop files to and from this window.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.