[HD2 General] Z80-Man:
Hello,

Thanks, that's exactly what I was desperately looking for !

The solution provided by Watcher64 works perfectly for anything you want :

http://xdaforums.com/showpost.php?p=5789366&postcount=9

Just put the program path you want in config.ini and you're done ! :cool:

I made my own CAB out of this one : changed the icon for a nicer one (file and registry), and modified the config.ini file to launch Global Navigator instead. :p

All is working OK (well, the direct "Home" and "Saved locations" links can't work, they just launch the navigator, but it's just fine like that. Better than nothing, actually !) :cool:

All the other functions are fully working too, including Footprints.

The landscape rotation is really fast provided you're using G-sensor and a small value for the polling interval settings in the registry. Of course, it only works if your WM / Sense versions can rotate (it's the case for 29007 on the Leo - but not on the Blackstone, for instance).

I also have to warn that a lot of people believe and write here that BsB Tweaks will rotate their phone - but it WON'T. It just puts programs classes in the registry, and they'll rotate only if the system can use G-Sensor to Rotate. Or else, it won't rotate whatever you do there (only a few natively rotating apps will, and there are only five of them : Opera, HTC Album, HTC Music, YouTube and Steaming Video - provided you add the registry keys (with BsB Tweaks if you prefer) for the two last ones, as they aren't set by default)

If your ROM happens to be a non-rotating build, you can still either use a third party app such as ChangeScreen (a bit slow to rotate, but fine and very stable - provided you absolutely disable the "Speaker on when phone faced down" feature or you can crash the system), or just use MortScript to launch RS.exe before running your navigator program (but it will then stay stuck in landscape mode, unless you call it one more time after navigation is over in your script).

About Mortscript, I was going to try and write a short script and put a Mortscript runtime renamed into "CoPilot.exe" in the folder, along with a config.ini file, when I saw the link above and tried it.

I don't really know what it does... Actually, It may just do what I intended to do with my script : go to the Global navigator folder on the SD card and run the program.

The included alksdk.dll is 718 kB large and it may still be too much for really narrow memory environments, but, well, it still occupies far less space than a full navigator program installation !

You actually don't have anything in the \Program Files\CoPilot folder but this alksdk.dll, the short (6 kB !) fake CoPilot.exe and the config.ini files (the latter being just a few bytes long). Oh, and the icon too, but I moved it to the \Windows folder, as I was using it in my NaviPanel shortcut in the start Menu already. :p

Global navigator was already installed on the SD card, and NaviPanel could launch it immediately after having installed the CAB given in the above link (the modified version, of course).

Now I just have dismantle my Brodit craddle to solder a 10 k ohms resistor to the micro USB plug in order to allow automatic NaviPanel switching and it will be all perfect. :cool: