If you want to build Navit on your machine please follow the instruction on the page Compiling Navit for WinCE/WinMobile.
|Windows CE 4.0||?|
|Windows CE 4.1||?|
|Windows CE 4.2||?|
|Windows CE 5.0||?|
|Windows CE 6.0||?|
|Windows Mobile 2002||?|
|Windows Mobile 2003||?|
|Windows Mobile 5.0||?|
|Windows Mobile 6||?|
|Windows Mobile 6.1||?|
|Windows Mobile 6.5||?|
- 1 Download cab or zip File of Navit
- 2 Installation of Navit
- 3 Running Navit
- 4 Vehicle settings for various devices
- 5 See also
SD Card or MicroSD Card
- Copy the cab-file onto a SD card. Insert it in your mobile device. Start the cab-file for installation.
- Unpack the zip-file onto a SD card. Insert it in your mobile device. Navigate to the folder navit. Start navit.exe.
If you mobile device with WinCE/WinMobile is directly connected to the internet. Download the cab file and install it.
For configuration with the navit.xml file it it useful to tranfer the the navit.xml to your Desktop-Computer (ActiveSync on Win.. or with SynCE on Linux). Edit the XML-file navit.xml and store it back on your mobile device.
GPS Receiver communicates with the Operating System OS via COM1, COM2, ... normally. You have to set the COM-interface with the XML-tag in navit.xml. For example for a bluetooth receiver connected via (virtual) com port com6 working at baudrate 38400 you need to use
<vehicle source="wince:com6:" baudrate="38400" />
Note the colon : after COM6. Without it, you'll probably see lots of "vehicle_wince:initDevice:Waiting to connect to com<n>" in the log file.
The number of bluetooth virtual com port can be configured and / or reviewed in Bluetooth Settings on tab Serial port as value of input box Outbound COM port.
If you have an internal GPS receiver, then you will have to determine the com port of the GPS. Go to Settings > Connections > GPS. (Sometimes this item is hidden. Then you can run the program WMGpsShow to unhide it.) Tap Hardware and you can see the "GPS hardware port" and "Baud rate". If you have GPS hardware port COM7 and Baud rate 57600, then you have to use in Navit:
<vehicle source="wince:com7:" baudrate="57600" />
At my device I had to use big letters for the com device: COM5 to get it work (added by Killerhippy, hope it helps)
If the above does not help have a look at registry\HKLM\Drivers\BuiltIn\GPSserial\FriendlyName do determine your GPS-COM-Port.
To use the navigation_next_turn OSD item on WinCE, the icon must be explicitely sourced. In navit.xml it should something like:
<osd enabled="yes" type="navigation_next_turn" x="140" y="0" font_size="500" w="60" h="40" background_color="#000000c8" icon_src="%s_wh_32_32.png" />
See http://trac.navit-project.org/ticket/498 for more information.
Speech output should work out of the box on WinCE. In navit.xml which comes with the WinCE Navit-build you can find:
<speech type="espeak" cps="15"/>
All files are included and no additional installation/configuration (and no espeak.exe) is necessary!
Download a Map from OpenStreetmap
Use Navit pre-processed OSM maps. With your browser on desktop:
- Navigate to the region you want,
- mark a rectangle for your map (e.g. for Germany) and click select for the chosen rectanglular map.
- then click on download and save the file to country.bin (e.g. germany.bin) on your desktop computer.
- copy the file to on your WinCE/WinMobile device via ActiveSync or SynCE on Linux. Because of the size of the maps can copy the map to the (Micro-)SD card on your Desktop PC and insert the card in your mobile device later. Create a directory for the maps on your SD card and copy the files from desktop to that folder (on Linux assuming the SD card was mounted in /StorageCard). Create a directory /maps on the SD card and transfer the map via ActiveSync on mobile device, so that the map can be accessed by the following path. Change name and path to file according to your mobile device.
Note that the separator between directories is on Win-OS the "\" and Linux, Mac, ... "/".
- The created a directory will be used in navit.xml so that navit is able to find and use the map:
- Add and enable the map for the application in navit by changing the lines (at approx line number 370)
<mapset enabled="yes"> <map type="binfile" enabled="yes" data="\StorageCard\maps\\specificmapfilename.bin"/> </mapset>
It seems you need to specify the bin name in newer versions of navit. I also had to add two backslashes before the bin name running 0.2.0, or the log would tell me it couldn't find the map file. This is most likely a bug...
Disable unused mapset sections by setting enabled to no, e.g. the pre-installed sample maps at line 370 in navit.xml.
<mapset enabled="no"> <xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/> </mapset>
- Edit starting location to see, whats on your map: 4123 N 1234 E means 41.23 North and 12.34 East:
<navit center="4123 N 1234 E" zoom="256" tracking="1" cursor="1" orientation="-1" recent_dest="10">
If you have a WinCe device with only 64 MB RAM you may encounter problems if you try to route to far destinations. Perhaps you can fix this in WinCe under "Einstellungen/System/Arbeitsspeicher/" and move the slider to the left to increase your programm memory (and decrease your data memory) assignment. Perhaps you will try about 50000 KB or above for programm memory assignment. This may not fix all crashes but should stop those immediate crashes after you have selected your destination.
Vehicle settings for various devices
|Yakumo Delta 300 GPS WM2003 v4.20||<vehicle name="Local GPS" profilename="car" follow="1" enabled="yes" active="1" source="wince:COM2:" baudrate="4800">|