Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Customizing Emulator Configuration

From Wiki
Jump to: navigation, search
Article Metadata
Created: vasant21 (28 May 2007)
Last edited: hamishwillee (20 Jul 2012)

There are a variety of settings in epoc.ini that you can be used to customize emulator behavior.

1 ) You can define the text in the emulator title bar via the WindowTitle statement.

2) You can also define virtual buttons and hot keys for the emulator, mapping them to key code events via the VirtualKey and KeyMap statements.

The individual SDKs use these settings to simulate specific phones, so normally you would not modify them – however you may want to customize them in developing specific tests or demos.

// Example for S60 epoc.ini
# S60 in emulator title bar.
WindowTitle S60
# button at defined rect pixel area simulates 0 on keyboard.
VirtualKey 0 rect 126,568 64,28
# Following causes left Alt-1 to send EstdKeyDevice0
# keycode (keycodes in e32keys.h).
KeyMap LeftAlt 1 EStdKeyDevice0

epoc.ini is located at epoc32\data,Following are the available configuration options available :

  • Screen size and position
  • Fascia bitmap
  • Window title
  • Digitiser size
  • Virtual key regions
  • Key mapping
  • LEDs
  • Debugging
  • Pointer type
  • Memory capacity
  • Colour depth
  • Alias name
  • Comments

For detailed explanation for all the available options refer SDK : Developer Library » Tools and Utilities » Emulator » Emulator reference » Emulator configuration file: epoc.ini

This page was last modified on 20 July 2012, at 05:49.
23 page views in the last 30 days.