Read carefully...
This is a modified version of Mobile Trail Explorer (v1.16beta). I
made some changes to
better suit my needs. Source included. I did not bother with the
copyright text in the
src files...
I changed the following things:
- added Google Hybrid, Google Terrain and Google Maps to maps sources
lists
- added a new caching mechanism, so you can put big maps to your
phone's memory card
!!! NOTE !!! The google sources are added to the cache namespace only,
it will NOT
download any actual map images! The sole purpoes of this is, that you
can -select- those
map sources, and you can put the images to the memory card to be
loaded via the new
mechanism.
I compiled it using JDK and Sony-ericsson WTK (no eclipse), so the
compilation maybe not
the same as the original. Hope the original author will make a
"proper" build from this.
I have reformatted the source code at some places (i could not read it
as it was). You
can format it back if you wish.
Usage:
Install MTE.jad and MTE.jar to you phone.
NOTE MTE.jad is signed with "halmer". Unless you have somehow
installed it to your phone,
it will give you an error, and you will not be able to install it.
"halmer" is not a
requirement, it just enables you to get rid of the security prompts
upon file system
access. Open MTE.jad with notepad, and remove these lines: 'MIDlet-
Certificate-1-1' and
'MIDlet-Jar-RSA-SHA1'. Now you have a non-signed .jad, try the install
again! It should
work now.
At this point you have an identically working MTE, as the original.
You have to download
some maps from google for example. I recommend Mobile Atlas Creator
(get it from here:
http://mobac.dnsalias.org/). In MOBAC select "Mobile Trail Explorer"
as output format;
NOT MTE cachefile! After you downloaded those maps, you will need
MTEMapContainerCreator
to pack it into a single file.
First you go into the downloaded map folder. You will see inside
something like this:
"Google_Hybrid". You have to rename this directory. See the table
below:
Map source Directory name
----------------------------------
Google Terrain gtmmaps
Google Maps gmmaps
Google Hybrid ghmmaps
Openstreet maps osmmaps
T@H maps tahmaps
Cycle maps cyclemaps
This is important, because the new caching mechanism will search files
inside directories
named like that (MTE's own cache does the same btw)!
You can have only one (1) map pack, but you can put several map areas
and map sources into
a single container file!
Ok, you downloaded the maps. Here is a example input directory as it
should look like:
c:\somewhere-on-your-hdd\map-name-you-gave-in-MOBAC\gtmmaps
\25\2341\632.png
c:\somewhere-on-your-hdd\map-name-you-gave-in-MOBAC\gtmmaps
\25\2341\633.png
c:\somewhere-on-your-hdd\map-name-you-gave-in-MOBAC\gtmmaps
\25\2342\632.png
c:\somewhere-on-your-hdd\map-name-you-gave-in-MOBAC\gtmmaps
\25\2342\633.png
c:\somewhere-on-your-hdd\map-name-you-gave-in-MOBAC\ghmmaps
\12\6362\422.png
c:\somewhere-on-your-hdd\map-name-you-gave-in-MOBAC\ghmmaps
\12\6362\423.png
c:\somewhere-on-your-hdd\map-name-you-gave-in-MOBAC\ghmmaps
\12\6362\424.png
c:\somewhere-on-your-hdd\map-name-you-gave-in-MOBAC\ghmmaps
\12\6362\425.png
Now start MTEMapContainerCreator. NOTE For the
MTEMapContainerCreator.exe you will need
the freeimage.dll. Download it from
http://freeimage.sourceforge.net/.
In the directory pane select the map's directory; in this example its
"map-name-you-gave-in-MOBAC".
If your phone supports jpeg files, you may mark the "JPEG q:60"
checkbox. This will result
in a LOT smaller container file in the end. Press "Convert" and wait!
The output will be "romap.mmc" in the programs directory. Copy this
file to your phone. Put it
to the same dir as you set in MTE as export folder (same dir as
"mtefilecache" is in)! Its ready
to use! Any map tiles found in the container get automatically loaded,
instead of download from
network.
How well does it work, and how many map tiles you can pack in? The
theoretical limit is 2GB-1byte.
I tested on my SE W810i, currently using with a 186MB ! sized
container. It works pretty well.
Happy GPS mapping with MTE! If you have question try to contact me via
PM...
--
You received this message because you are subscribed to the Google Groups "mobile-trail-explorer" group.
To post to this group, send email to
mobile-tra...@googlegroups.com.
To unsubscribe from this group, send email to
mobile-trail-exp...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/mobile-trail-explorer?hl=en.