File Sharing

You are able to control host files on the Emulator.

To share files in Linux:

  1. Run the Emulator Manager and click Create or Modify.
  2. In the File Sharing section, select the directory to share.
  3. Reboot the Emulator.

    After rebooting, the host machine's directory is shown at the /mnt/host directory of the Emulator.

To share files in Windows®:

  1. Run the Emulator Manager and click Create or Modify.
  2. In the File Sharing section, select the directory to share.
  3. Enter the SDB shell and run the mount command (mount -t cifs //10.0.2.2/<Emulator name> /mnt/host -o unc=//10.0.2.2\\<Emulator name>,user=<Windows ID>,pass=<Windows password>,noperm,rw).

    In the command, you need the Windows ID and password for the Emulator to connect to the host machine.

    C:\tizen_sdk\SDK\sdb> sdb shell
    
    # mount -t cifs //10.0.2.2/emulator-26100 /mnt/host 
    -o unc=//10.0.2.2\\emulator-26100,user=sdk,pass=test,noperm,rw

To share directories in Mac OS® X:

  1. Log in to your system with administrator account credentials.

    To enable and configure file sharing, you must have an administrator account username and password.

  2. In the Apple menu, go to System Preferences > Sharing.
  3. In the Sharing window, select the File Sharing check button in the Service list.
  4. Click Options, and select the Share files and folders using AFP and Share files and folders using SMB (Windows) check buttons.

  5. In the Sharing window, select the folders to share.

    Sharing directories

  6. Run the Emulator Manager and click Create or Modify.
  7. Enter the SDB shell and run the mount command (mount -t cifs //10.0.2.2/<SharedDirName> /mnt/host -o unc=//10.0.2.2\\<SharedDirName>,user=<Mac ID>,pass=<Mac password>,nounix,sec=ntlmssp,noperm,rw)

    In the command, you need the Mac ID and password for the Emulator to connect to the host machine.

    ~/tizen-sdk/tools/sdb shell
    
    # mount -t cifs //10.0.2.2/sdkShared /mnt/host 
    -o unc=//10.0.2.2\\sdkShared,user=sdk,pass=test,nounix,sec=ntlmssp,noperm,rw
Note
Currently, the UX configuration is not supported in Mac OS® X.

Where to Go Next