본문 바로가기

map

15. Gps Cycle Computer 3.98 설명서

GPS CYCLE COMPUTER 3.98입니다.


제가 자전거를 타는데... 아주 유용하게 쓰일것 같습니다....

그러나.. 자전거 거치대를 질러야 할듯 하네요..

원문입니다.

GPS Cycle Computer

1. General Description

This is a GPS tracing application for Windows Mobile. You do not need any other GPS software to be installed, i.e. it works directly with Windows GPS driver. You do not need any data network connection to record a log, although there is an option to activate Live Logging (provided by www.crossingways.com), so you position is uploaded to the web site as well.

The tool logs GPS data into binary files with .gcc extension (binary files are much smaller than the text files to store the same information). gcc files then can be loaded back for viewing, or saved into .kml or .gpx format, to view in e.g. GoogleEarth. With the latest version of GoogleMaps, you can view kml files on your phone. Just click on a kml file in File Explorer. Note there is a bug in GoogleMaps installation, unless you install it into the main memory - see section "Useful info" below how to fix this.

To save battery power, GPS can be switched on/off at pre-defined intervals (5 sec ... 2 hours). .

Main display shows: trip distance; trip time (including or excluding "stop time", i.e. when speed is zero); current / average / max speed; altitude (abs or relative to starting point); heading; estimated battery usage. Display units are miles / nautical miles / km for distance, m / feet for altitude, mph / kmh / knots / minpmile / minpkm for speed.

Map display shows your track. Also you can use “maps” – any JPEG image with known coordinates of the corners as a background. You can also load a "track-to-follow" from gcc, kml or gpx file, which is displayed in different color.

2. Installation

Copy the GpsCycleComputer.CAB file into your Windows Mobile device and click on it from your phone FileExplorer to install. The tool can be intalled into any folder, so probably it is better to install it into "Internal Storage", to save main memory. The path to the tool (on UK Windows) will be then \Internal Storage\Program Files\GpsCycleComputer. You can also find this Readme.htm file in that folder, if you want to read it on your phone.

The tool shall work on any screen resolution in portrait mode. It was designed on a VGA screen, so you might have small distortions on other screens due to scaling. For landscape mode, the tool tries to adapt the button layout, but some controls might not be fully visible, i.e. that is to say that the tool is usable in landscape, but better use portrait mode.

The tool now supports AppToDate, i.e. if you have AppToDate installed on your phone (get it from here http://www.apptodate.org/get , more info available here http://forum.xda-developers.com/showthread.php?t=327990 ) - then you will be receiving latest GpsCycleComputer version automatically.

All CAB versions and the complete source code (in C#) are currently stored at Google Code project page: http://code.google.com/p/gccv2/downloads/list

3. Quick start. Controls on the "Main" screen

As you start the tool, you see the main screen with usual "cycle computer" info: trip time, clock, speed (current, average and max), and the info you would see on a GPS device: altitude, heading, latitude/longitude, plus some info about the GPS status. At the bottom there are 3 buttons: Options (left), Start (center) and Files (right). These 3 buttons changes as you move to different screens or start/stop GPS.

In most cases you shall be able just to click Start button, get GPS lock (so it is better to try this outside! ) and record you first track. Find an open place outside (which is not surrounded by trees or buildings), click the Start button and stay still (this helps to get GPS lock). You need to watch:

GPS display (bottom right of the main window) :

  • S - number after "S" is number of satellites found.
  • Snr - number after SNR is max Signal-To-Noise ratio, i.e. the signal quality. The higher, the better. Number below 20 is very low, and it is unlikely you will get a lock in this conditions.
  • T - number after T is difference in seconds between current UTC time of your phone and UTC time of GPS sample (from satellite). Might be negative - then you phone time is behind. What is important, is when the number is increasing, then the GPS cannot get hold on a fresh sample (i.e. searching)
  • Dh - number after Dh is "DHOP" == Horizontal Dilution Of Precision. 1 is very good lat/long precision, 50 is very bad lat/long precision.
  • Rectangle color: Green - GPS has lock, sample OK and recorded; Red - sample is bad/old/invalid, etc, GPS still searching; Yellow - pause button pressed, GPS is off.

Info display (bottom left of the main window) :

  • “gps on” – gps data is valid and logged into file
  • “gps off for xx sec” – gps is switched off for given time interval, as selected in Options
  • “gps searching + Letters + Number” – gps is searching. Number is the time in seconds since the start of the search, reset after 180 secs. P – position record found, T- time record found, S – speed record found (need P and T to start loggin. Also a check is made that time is increasing, so data is fresh).

If you have number of satellites 0, or "no gps data" for some time, then it is likely that your GPS setting are not correct.You need to read further how to set GPS options correctly, see section "Useful info", "GPS setup" below.

Assuming that all works (you see "gps on" and green rectangle) with the default settings (or if you have changed the setting, and it works!) , let us proceed with the desciption of the main screen.

When running, Start button changes to Pause - to pause GPS. Press Pause button again to continue logging. The File button changes to Stop - to stop the log and save it into a file. The Options button changes to Maps - which shows you track. When logging is on, you can switch between Main and Maps screens only. On the Maps screen, you can use Zoom in / Zoom out buttons, and move track line with your finger (like in GoogleMaps for Mobile). Also you can plot a "map" as a background for the track - see section "Maps" how to do that.

Note the the clock is only updated when logging is active. Also when logging, the tool will prevent your phone going into standby mode (note, the standby time has to be larger than 15 sec), so the screen shall be always on. By default, you can use the hardware "power" button to switch off the screen – GPS will continue logging. Although, this might not work on some phones, so there is a option to display a BkLightOff button, to let you switch off the screen and continue logging (see options).

When the logging is off, the clock is not updated (but you can click on any part of the main screen to get it updated), and you phone will be able go into standby and switch off the screen.

When logging, if you current speed is not 0, you shall see "heading" (blue arrow at the bottom right of the main screen). This shows direction of your travel, as it looks on a map with "north", as usual on a map, pointing up. Do not be confised - the arrow shows direction of your travel, not the "north" direction (north is up).

Now, if you have any data logged, you can stop the logging (press Stop button), and see what you can do with the log file.

4. Working with log files

A log file is automatically created as you click Stop button. The default name "year"+"month"+"day"+”_ “+”hour"+"min"+"sec"+ .gcc. The files are stored in the directory which you can set in Options. By default this is the directory where the executable is installed. It is also possible to enter a custom file name (see Options). Also a file “log.csv”, located in the same folder as gcc files, is updated with the summary of the trace (one line per trace / gcc file) – to give you a quick overview of all your logs in that folder.

To go into Files screen, click Files button (right button on the Main screen). You shall see a list of *.gcc files stored in the directory you selected (note, you cannot change the directory in the Files screen, you need go to Options to do that.

The buttons on Files screen are: on the right there are buttons to select next/prev file. Also you can selected a file by clicking on it. The center button on the bottom row - loads gcc file (and automatically goes to the Maps screen to view it). The left button on the bottom row - close the Files screen and return to Main.

Left and center buttons on the top row save the selected gcc file into KML or GPX - these are two popular formats to exchange GPS data. GCC is the internal format for this tool, so you must save file as KML or GPX before viewing them in other applications. When you save file into KML, a "*" is printed before the file name. If you save into GPX, then a "+" is printed - so you can quickly check which files have been converted into GPX and/or KML.

KML files can be viewed with GoogleEarth. Also, with the latest version of GoogleMaps, you can view KML files on your phone. Just click on a kml file in File Explorer (note that bug in GoogleMaps install - see Useful info, Problems with GoogleMaps installation.

To view GPX files you can try http://utrack.crempa.net/ web site. Also you can view GPX files in GoogleEarth (go to File | Load menu).

GCC file are assosiated with GPS Cycle Computer, so you can also open gcc file by clicking on it from FileExplorer on your phone. But the tool does not load the settings correctly in this case, and also if you have the tool already opened, it does not load another file again (i.e. you need to close it, to get it load a file). If you know how to fix this - please let me know. So at the moment this seems not a very usable option to open gcc files (i.e. better to load them from the tool, as explained above)

5. Options

Options must be selected before the logging is activated, otherwise the options button is hidden. If you want to change any options during logging, you can press "pause" button (then the "options" button is available), and resume logging (press "pause" again) after updating options. This way you can change e.g the logging interval, load different maps or track-to-follow. Note that even if you change the input/output file folder, the currently logged file still be written in the folder you set as you started the log, i.e. it will not be changed.

There are a few option pages, so press "next" or "previous" (center or right buttons) on options tab to switch between option pages.

The first options you see:

  • Show/hide option view selector ... - there are quite a few options pages, so it is likely that you might not want to scroll over all of them. This option lets you choose which option pages you want to see. By default, all pages are shown.
  • Set jpeg maps files location ... - specify the location for jpeg maps files. You can select existing folders only, so please create new folders with File Explorer. By default, this is set to the sub-folder "maps" of the location of the GpsCycle executable. Note that after changing maps location all data is reset, so you might need to reload the log file (if you had any loaded).
  • Set input/output files location ... - specify the location for input/output files. By default, this is set to the location of the GpsCycle executable. You can select existing folders only, so please create new folders using File Explorer. Also you can use File Explorer to rename/move/copy gcc files, if required. .
  • "Load track to follow ..." - you can load a track data from an existing file. The line is displayed in alternative color on Maps display. You can load data from "gcc", "kml" or "gpx" files - use "left/right" buttons on the open file page to select different file types. Note that the track-to-follow (the 2nd line) is plotted only if you have any data to display, e.g. if you have started logging, or have an existing gcc file loaded to view (using the "Files" button on the Main screen). If you want to clear the track-to-follow, press "Clear..." button. If you have problems loading file, an error message will be displayed. If you have a KML or GPX file which can be loaded correctly into e.g. GoogleEarth, but cannot be read by this tool, please send me the file, I will try to fix this.

Page "GPS options":

  • GPS activity : choose how often you would like to run GPS (always on, or switch it on/off at given intervals)
  • Stop GPS if battery < 20% : is a safety feature, to avoid completely draining the battery. Default on.
  • Read GPS data directly – please read "Useful info", "GPS setup" section. If “off”, the Windows “parsed” GPS driver is used, which does not require any options to be entered by the user - but this does not always work well, also you cannot use hardware power button to switch off the phone, leaving GPS running. So the default/recommended is "on”, COM4, 4800 baud rate (works fine on most phones with WinMobile 6.1). In this case the tool reads and parses the GPS data directly, and the "raw" Windows driver is used. The functions from “own” GccGPS.dll are called, which, I think, might work a bit better than the Windows “parsed” driver.
  • Manual altitude correction, m - if your GPS hardware does not do this for you (e.g. on Diamond), then you can manually enter the value to display correct height above the sea level. The correcton values (called GEOID) for your location can be computed here: http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/intptW.html?

Page "Main screen options":

  • Units : select units for the display and graphs.
  • Exclude stop time : if activated, the points with zero speed are removed from "trip time" and "average speed" calculations. This is useful to see the "net time" when you e.g. cycling and make breaks during the trip, without the need to switch off the logger.
  • Ask for log file name – show an edit box, so you can enter a custom log file name before starting logging. Default off (the file name generated automatically).
  • Show BkLightOff button - by default, you shall be able to switch your phone off by the hardware power button, and the GPS will continue logging. If this does not work on your phone (or you do NOT want to use "read GPS data directly" settings) - then you shall display "BkLightOff" button and use it to switch off the screen during logging. The button is displayed instead of "Pause" button, the center button on the Main screen when logging. Note that In this mode, if you press the hardware power off button, the GPS stops - so you will not get any log. I.e. be carefull, and use BkLightOff button for the logging to continue. Default off.
  • Show relative altitude - when "on", on Main screen, show altitude relative to the starting point, instead of the absolute altitude. Default off.

Page "Maps screen options":

  • Plot track as dots - plot each track point as dot, or connect them with lines.
  • Track – let you change the color and width of the track. The same line width and color settings are also used for the line saved into KML file.
  • Plot 2nd line as dots - for "track-to-follow" line: plot each track-to-follow point as dot, or connect them with lines.
  • "2nd line" - for "track-to-follow" line: let you change the color and width.
  • White background - By default, the tool background color is used on the map page to plot background. If you want to make the maps background always white (regardless of tool background) - set this on.
  • Multi-maps - option to plot multiple jpeg images at the same time. This takes more memory and is slower, but gives a better picture. Default is off (i.e. a single, the best, map is plotted). With this option, you can select how many maps to plot at the same time (2, 3 or 4), and also which map scale considered as "the best" - this is used to decide in which order to overlay maps on the top of each other (you can have 1:1, 2:1 or 1:2). Try to experiment with different setting, to see which one works best for you.

Page "KML/GPX options":

  • Save altitude to KML - save altitude data to KML file, and set <altitudeMode> tag to "absolute". With this option on, you shall see a 3D line above terrain. When this options is off, then the track line just follows the terrain. Note the the absolute value for the altitude is offset by GEOID value (see option below), so you can move the line up/down, if required, by changing the GEOID setting before saving the KML file. But often, due to unaccurate altitude reporting by GPS, the track line goes underground and dissapears on GoogleEarth display. So if you are on the ground (not e.g. flying, etc), then it is better to keep this option off, and just let the line to follow terrain. Default off.
  • Save GPX with rte tag - use <rte> tag instead of "<trk>" tag - try to save GPX files with this option on or off if you have problems reading GPX file with another application. Default off.
  • GPX time adjustment, hours - by default, the time saved into GPX file is the "local time" when the track was recorded (this is what is saved into .gcc file). But some tools (and the GPX spec, actually), needs the "UTC time". So you can use this option to do the corresponding time adjustment. "+1" means that 1 hour will be added to every time sample before saving into GPX file.

Page "Live logging options":

  • "Live logging options" page, provided by www.crossingways.com.You need to create an account at that web site, to be able to use this feature. Please visit web site for all info ( I am afraid I cannot answer your questions about this feature, but I will try to arrange for someone from crossingways to help)
  • "Hide/show keyboard ..." - click to show keyboard, if you need it to type username and password.
  • "User name" and "Password" - as used to log into crossingways web site. You need to enter this only once, then it is stored on your phone (in encrypted form). After you typed these information, make sure you have a data connection on you phone (or connected with ActiveSync or WiFi), and click "Verify login ..." - to check that you can login OK to the web site. If you have a message that it has been verified, than your name/password is stored, and you can proceed with live logging. If you have an error message, then you need to check your data connection, and/or check if you have your name/password correct (e.g. make sure that you can log into crossingways web site).
  • "Live logging": select "off" to disable this feature, or set a time interval to upload your position to the web site.

When live logging is activated, you will be asked each time you click "Start" button, if you want to proceed. Also in the "info" box you will see messages "livelog ok" or "livelog error!" - which tells you the status of last log attempt..

and finally:

  • "About" page, where you can check the current tool version and see other important info.

6. “Maps”

A “map” is any JPEG image with known coordinates of the corners. It is plotted as a background on “Maps” page. Maps are automatically selected – the map which has better coverage of the picture (in % of the picture area) and higher resolution (lower km per pixel) is selected. Also there is a option to plot multiple maps at the same time - read below how it is implemented.

So first you need a jpeg image, the file must have .jpg or .jpeg extension, e.g. “MyTown.jpg”. Do not create very large images, as it takes long time to load and plot them - a good size is a standard PC screencapture (e.g. about 1600x1200).

To specify the map coordinates, you can use 2 methods. First method is to create a text file (with .txt extension and the same name as the image, e.g. “MyTown.txt”) which contains 4 lines: 1st line - latitude of the bottom left corner, 2nd line – longitude of the bottom left corner, 3rd line - latitude of top right corner, 4th line – longitude of the top right corner. The lat/long must be in decimal format, e.g. 55.976598, just the decimal number, no degrees character, etc.

You need to place the jpg and txt files into folder with your maps. By default, this is the “maps” subfolder where GpsCycleComputer executable is installed on your phone, e.g. if you install into “Internal Storage”, then the default location (on English Windows) will be: “\Internal Storage\Program Files\GpsCycleComputer\maps”. This folder is created during CAB installation and has a text file “maps_folder.txt” inside, so you shall be able to identify it easily. Note that you can change the maps location in Options. The tool supports up to 512 “maps” per folder.

The second method is to use GoogleEarth to create maps, it is quick and accurate. A very good and detailed description how to create such a map is given in the RunGps manual, section 5.2.2 (look at http://www.rungps.net/wiki/DownloadsEN). The only difference is that you need to save location as “.kml” file, not as “.kmz” file used by RunGps. If you already have a .kmz file, then it is easy to convert it to .kml: simple change the .kmz extension into .zip (this is a zip file), and unzip it – the unzipped file will be the .kml.

So here are the main steps:

  • Start GoogleEarth and select the area to be used as a map.
  • Make sure that the “Terrain” layer is OFF, otherwise the map will be distorted (the layers are shown in the side bar)
  • Make sure the map is not rotated, i.e. the north is up. Press “r” (in English version) to “reset” any rotations.
  • You can also switch on grid (Ctrl-L), to check that the map is not rotated – but better to save picture without grid.
  • Save the image (Ctrl-Alt-S) as a jpeg file.
  • Now add a placemark (Ctrl-Shift-P), do not move/edit it, just press OK to put it in the centre of the image.
  • Save this location (Ctrl-S), select “.kml” file, and give it the same name as the .jpg file for the map.

This is it! As with the txt files, you need to place the jpg and kml files into folder with your maps (by default, this is the “maps” subfolder where GpsCycleComputer executable is installed).

Here is my interpretation how this works for kml files: The .kml file is just a text file. It contains the coordinate of the map centre (LookAt point) and the height of the “eye” This is a single point, but as I understand, the default angle of view along the horizontal (x-axis) is 60 degrees, so knowing the height of the “eye” and this view angle allows to determine the map size along x-axis. As we know the picture size in pixels, then we can determine the y-size of the map.

As I mention, the maps are automatically selected - as you touch and lift you finger from the screen or press zoom-in/zoom-out buttons. The map name is displayed at the bottom of the screen. If no maps covers the view area, then no map is used, and the display says “no map”. The track line colour and width are borrowed from the KML track line settings (on the option page).

Note that you can see the map only as a background for your existing track, you cannot just browse any maps you created without having a track recorded for that location (well, if you want to see the map jpeg image - just click on it in File Explorer - this is just a jpeg!)

Multi-maps plotting algorithm - tries to plot multiple jpeg maps (instead of a single, the best, map). The maps a simply plotted on the top of each other, so the trick is to decide in which order to plot the maps. Well, I have an idea to plot the maps in order of "map quality"- starting from the worst, and finishing with the best, so we have the best map on top. There are two factors which determine "map quality" - first is how much area of the screen is covered by the map (the best map will cover 100%). Second factor is what is map zoom level - clearly, there is a zoom level at which the map is best readable on the phone screen - this is selectable in options (you can choose 1:1, 2:1 or 1:2). If the zoom level is different (i.e. if you zoom-in or zoom-out) - the map quality will drop (details are too fine and not possible to read, when you zoom-out, or, details dissappear as you zoom in more and more). So the map quality is defined as multiplication of map coverage by zoom quality factor. Well - this is probably too complicated to explain - but all you need is to experiment with different settings and see which one works best for you. Note that the more maps you use, the more memory requirements.

Regarding what set of maps to create - I think the best idea to create maps for the same area at different zoom level - e.g. a overview map, then maps which cover some part in more and more details. Then the tool will try to select the best (or the best set of) maps for you. Do not create very large or very small images, the best is the standard PC screen capture (e.g. 1600x1200 or smaller).

7. Custom button skins and custom back / fore color

You can set your own background / text color and images for all buttons. All what required is to edit jpeg files which are supplied with the source code (look into GpsCycleComputerSource.zip) and copy the new images into the folder with GpsCycleComputer.exe on your WinMobile, then re-start GpsCycleComputer. The new images will be loaded at the startup. If you want to change just a single button, just copy the files for that button, all files are not required. For example, if you want the change “Maps” button for bottom menu, edit files “map.jpg” and “map_p.jpg” (there are two images, as button has two states, "normal" and "pressed"). Better do not change the image sizes, to avoid image distortions. To change the background color, edit file “bk_color.jpg”. The image shall be filled with a single color. For the font (fore) color, edit fore_color.jpg (and place then with GpsCycleComputer.exe).

8. Source code

A complete source code (in C#) is provided. For GCC file format see file Form1.cs, function "LoadGcc" which loads a gcc file. Basically after a header with general data, the data is written as 5 short int (short int = 16 bits = 2 bytes) which are : x, y, z (in metres, relative to starting point), speed (in kmh*10) and time (sec, relative to start). Also there are a few special records (also as 5 short ints) to save some control info, like battery status. Feel free to change anything you like, but please send me you comments/bug fixes.

The project files for MS Visual Studio 2005 are provided. The solution file (*.sln) contains 3 projects: GccGPS (this is the dll to work with GPS - you need to build this for PocketPC 2003 target, release); then GpsCycleComputer project itself (to build the executable - build for Any CPU, release); and the CAB project, the one which creates a CAB (build this last, for Any CPU, release). If you have problems you could create a project files yourself, and just add the existing source files to it. If you have problems building dll - I just use the Wizard to set a MFC DLL project for me (so you could try to do the same), then just add there GccGPS.cpp and .h. If this still does not work, then you actually do not need to build DLL, just copy it from the installation (after you install the application on your phone).

9. Useful Info

9.1 GPS setup

There are many ways for a software to connect to GPS. Usually it is assumed that the GPS hardware is connected to a serial port (e.g. COM0..COM14), so all is requried for a software is to "open" the required serial port and listen to the GPS data. The data comes in a form of text strings in so called NMEA format.

In addition, Windows provides two drivers to connect to GPS (you can read about this here: http://msdn.microsoft.com/en-us/library/bb201942.aspx) - Windows "raw" GPS driver and Windows "parsed" driver. "Raw" driver is also called "multiplexer", as it does not do any processing of the GPS data, but simply forwards it to all applications, i.e. multiple tools can be connected to GPS at the same time. The COM port for the "raw" driver is different from the GPS hardware port, and it is set in Windows "Settings", "System", "External GPS", "Programs" tab - this is usually COM4 (in WinMobile 6.1). The "parsed" driver does more work for you - it converts GPS data into actual latitude/longitude, etc, so you can just retrieve this data without any knowledge of a COM port or NMEA strings generated by GPS.

So how all this can be set in the tool? There is a check box "read GPS data directly", COM port and baud rate selectors on Options page.

Option 1 (default and recommended): Check (i.e. select) "read GPS data directly", set COM port to the multiplexer value (check Windows "Settings", "System", "External GPS", "Programs" tab - usually this is COM4), baud rate does not matter (I think) for multiplexer, set to e.g. 4800. This way you use Windows "raw" driver, and let multiple apps to use GPS at the same time.

Option 2 (very easy, but often GPS does not work well): Un-check (un-select) "read GPS data directly", the COM/baud rate setting are not used in this case. This way you use Window "parsed" driver and let Windows fully manage and process GPS data for you. Note: with this option you cannot use the phone hardware power off button to switch the phone on/off, and still have the GPS logging - you will need to use BkLightOff button (center button on Main screen, select appropriate option to show it) - to switch the bklight off.

Option 3: Check (select) "read GPS data directly", set COM port and baud rate to the GPS hardware port setting (you shall have some instructions from the GPS manufacturer). This way you are connected to the GPS directly. Not sure if this will work correctly with multiple GPS applications running at the same time.

You shall be getting at least 1 satellite very quickly (see main screen display, GPS section, parameter "S"), if the settings are correct. If you have 0 satellites or "no gps data" for some time - then something might be wrong in your setup.

Tips for a quick GPS lock: 1) use QuickGPS tool (it is supplied with Diamond); 2) do soft-reset for your phone, specially after software updates; 3) find a place outside building with clear sky view (i.e. do not stay next to a large building wall); 4) do not move your phone, keep it still relative to ground (not relative to your car dashboard while you are driving off !). On Diamond, in this conditions, usually you will get a lock in under 30 sec.

9.2 Location of a temporary file created during logging

During loging, the tool creates a temporary file "tmp.gcc" in the root folder (i.e. \tmp.gcc), then copies it into the required gcc file as logging is finished. Writing into a file in the main memory seems make the application more stable, than writing into a file located in \Internal Storage. If you phone crashes (and the "final" gcc file was not created), then you still can restore most of your log (the last part might be missing, as the data is not written instantly into the file by Windows). All you need to do is to locate the tmp.gcc file and copy it into the required location with desired name - then you shall be able to open this file with the tool as usual.

9.3 Problems with GoogleMaps installation, if you cannot open KML file

There is a problem with some versions of GoogleMaps for Mobile - it cannot open a KML file as you click on it in your phone File Explorer. You need to edit registry key to fix this. If you do not know how to edit a registry key, then a simple solution would be to install GoogleMaps into main memory - then it shall work. If you have experience with registry, then go to HKEY_CLASSES_ROOT, "kml" key (without . upfront, as there is a key called ".kml"). Inspect the path to your GoogleMaps.exe, it could be wrong - usually the part "Internal Storage" (on UK Windows) is missing - this is what you need to add.

Note that you shall not use any tools to associate kml file with GoogleMaps, as these tools do not know about extra command-line switches (e.g. -KML_FILE) required, i.e. they create incorrect association and you still will not be able to open KML files.

9.4 Running from AC

I managed to tell Windows do NOT switch off the screen and GPS when running from battery, but seems these functions does not work when running from AC adaptor. So it is recommended to set the Windows setting "do not switch bklight" and "do not go into standby" when running from AC. Send me a message, if you know how to fix this.... (I guess, set the values in registry is one option?)

10. Contact

Programming: AndyZap

Design: expo7. Special thanks to AngelGR.

http://forum.xda-developers.com/showthread.php?t=424423

http://code.google.com/p/gccv2/downloads/list

Good luck!