×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    33

    file location for emulator

    ciao a tutti~

    why the emulater cannot find e drive of the pc.

    or does the emulator has a specific folder in C, which is considered to be a virtual 'e:'?

    I'm using a folder under e: to store the images.

  2. #2
    Super Contributor
    Join Date
    May 2006
    Location
    Oulu, Finland
    Posts
    622

    Re: file location for emulator

    Hi yanhua,

    You can access C: and D: at
    • 2nd edition
      Code:
      C:\Symbian\8.0a\S60_2nd_FP2\epoc32\wins
    • 3rd edition
      Code:
      C:\Symbian\9.1\S60_3rd_MR\Epoc32\winscw


    I'm not sure that adding a E: folder will be enough to make it work.

    The thing you can do is to use e32.in_emulator() like

    Code:
    drive = 'E:\\'
    path = 'images'
    if in_emulator():
        drive = 'C:\\'
    image_path = os.path.join(drive, path, 'blabla')
    and then use image_path variable in your code

    LFD
    Devices:
    Nokia E61 3rd Edition - pys60 1.4.0

    Tips and modules:
    http://www.lfdm.net/thesis

Similar Threads

  1. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  2. Problem opening file from a dynamic path
    By didienGanteng in forum Symbian
    Replies: 12
    Last Post: 2007-06-27, 11:13
  3. Read File From Specific location
    By decisor in forum Mobile Java General
    Replies: 6
    Last Post: 2006-07-07, 23:22
  4. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •