Home | History | Annotate | only in /development/simulator/app
Up to higher level directory
NameDateSize
Android.mk19-Dec-20103.2K
assets/19-Dec-2010
AssetStream.h19-Dec-20102.8K
DeviceManager.cpp19-Dec-201035.6K
DeviceManager.h19-Dec-20108.5K
DeviceWindow.cpp19-Dec-20107.3K
DeviceWindow.h19-Dec-20101.8K
executablepath.h19-Dec-2010848
executablepath_darwin.cpp19-Dec-20101K
executablepath_linux.cpp19-Dec-2010892
ExternalRuntime.cpp19-Dec-20101.9K
ExternalRuntime.h19-Dec-2010615
help/19-Dec-2010
LinuxKeys.h19-Dec-2010400
LoadableImage.cpp19-Dec-20102K
LoadableImage.h19-Dec-20101.9K
LocalBiChannel.cpp19-Dec-201011.4K
LocalBiChannel.h19-Dec-20101.4K
LogBundle.h19-Dec-20101.2K
LogMessage.cpp19-Dec-20102.1K
LogMessage.h19-Dec-20102.4K
LogPool.cpp19-Dec-20101.9K
LogPool.h19-Dec-20101.6K
LogPrefsDialog.cpp19-Dec-201013.3K
LogPrefsDialog.h19-Dec-20101.9K
LogWindow.cpp19-Dec-201032.4K
LogWindow.h19-Dec-20103.8K
MainFrame.cpp19-Dec-201041.9K
MainFrame.h19-Dec-20103.4K
MessageStream.cpp19-Dec-201010K
MessageStream.h19-Dec-20105.2K
MyApp.cpp19-Dec-201014.7K
MyApp.h19-Dec-20102.6K
PhoneButton.cpp19-Dec-20104.7K
PhoneButton.h19-Dec-20102.5K
PhoneCollection.cpp19-Dec-20104.4K
PhoneCollection.h19-Dec-20101.4K
PhoneData.cpp19-Dec-201021.1K
PhoneData.h19-Dec-201010.4K
PhoneWindow.cpp19-Dec-201032.5K
PhoneWindow.h19-Dec-20106K
Pipe.cpp19-Dec-201011K
Pipe.h19-Dec-20103.1K
ported.cpp19-Dec-20103K
ported.h19-Dec-20101.3K
Preferences.cpp19-Dec-201011.5K
Preferences.h19-Dec-20103.2K
PrefsDialog.cpp19-Dec-20109.2K
PrefsDialog.h19-Dec-20101.3K
PropertyServer.cpp19-Dec-201013.5K
PropertyServer.h19-Dec-20101.7K
README19-Dec-20102.9K
Resource.h19-Dec-20103K
Semaphore.cpp19-Dec-201011.7K
Semaphore.h19-Dec-20101.3K
Shmem.cpp19-Dec-201012.9K
Shmem.h19-Dec-20103.1K
SimRuntime.h19-Dec-20103.2K
UserEvent.cpp19-Dec-2010392
UserEvent.h19-Dec-20101.5K
UserEventMessage.h19-Dec-20102.4K
utils.h19-Dec-20101K

README

      1 Android Simulator README
      2 Last updated: 14-Nov-2007
      3 
      4 See "docs/sim-layout-xml.txt" for a description of the layout.xml files
      5 in the device directories.
      6 
      7 The coding conventions here are generally aligned with wxWidgets' style,
      8 which is similar to standard Windows style.  The only significant shift
      9 from Android style is that function names are capitalized.  Note the
     10 simulator code is not part of the "android" namespace.
     11 
     12 
     13 ===== Arguments =====
     14 
     15 The config file for the simulator, ".android.cf", can live in your
     16 $HOME directory or in $cwd.  The copy in $cwd takes priority.  If a
     17 config file does not exist, one will be created in your home directory.
     18 (Note that the current directory is set by "runsim.sh", so if you launch
     19 the simulator from the script it will look for the config file in your
     20 "install" directory.)
     21 
     22 The simulator takes the following optional arguments:
     23 
     24  -f <file> : specify the configuration file to use.
     25 
     26  -p <platform> : specify platform information.  This is usually
     27     something like "Linux-release" or "CYGWIN_NT-5.1-debug".
     28 
     29  -r : reset paths.  This causes the simulator to regenerate the paths
     30     based on defaults.  This is useful when copying your .android.cf from
     31     a different system, because it updates all the local paths without
     32     disturbing the other options.
     33 
     34 
     35 ===== Preferences Quick Reference =====
     36 
     37 Path preferences.  These are reset by the "-r" flag:
     38 
     39 "debugger"            (str) Path to the debugger (usually /usr/bin/gdb).
     40 "valgrinder"          (str) Path to valgrind (usually /usr/bin/valgrind).
     41 
     42 Common prefs:
     43 
     44 "auto-power-on"       (bool) Automatically start runtime on simulator start.
     45 "debug"               (bool) Launch the runtime inside <debugger>.
     46 "valgrind"            (bool) Launch the runtime inside <valgrinder>.
     47 "log-*"               (various) Preferences for the log window.
     48 "window-*"            (int) Positions and sizes of windows.
     49 "default-device"      (str) Name of the device that opens initially.
     50 "ld-assume-kernel"    (str) Hack to make goobuntu GDB work; use "" to disable.
     51 
     52 Less-common prefs:
     53 
     54 "gamma"               (float) Gamma correction factor (default 1.0).
     55 "window-device-x"     (int) Position of device window.
     56 "window-device-y"     (int) Position of device window.
     57 "trap-sigint"         (bool) Catch Ctrl-C.  Kill the runtime when we do.
     58 "refocus-on-restart"  (bool) When runtime rstarts, give focus to phone window.
     59 "launch-command"      (str) Command to run, e.g. "xterm -e" (cmd is appended).
     60 "launch-wrapper-args" (str) Args to launch wrapper, e.g. "-wait -output foo".
     61 
     62 
     63 (If you prefer gnome-terminal to xterm, you can use something like
     64 "gnome-terminal --disable-factory -x".  The "disable-factory" arg is
     65 needed to ensure that it inherits the environment variables.)
     66 
     67 
     68 ***** NOTE *****
     69 
     70 If you're using a non-goobuntu system, make sure "ld-assume-kernel" is ""
     71 in your .android.cf.  gdb works correctly on Ubuntu 7.04 (fiesty) and 7.10
     72 (gutsy), and the goobuntu workaround will cause shared library version
     73 failures on startup.
     74 
     75