PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan
Register Community Search

Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-28-2008, 01:57 AM
Baffles's Avatar
Noob
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint SERO
Location: Upstate New York
 
Join Date: Sep 2007
Posts: 1,514
Reputation: 10143
Baffles can't get a higher reputation levelBaffles can't get a higher reputation levelBaffles can't get a higher reputation levelBaffles can't get a higher reputation levelBaffles can't get a higher reputation levelBaffles can't get a higher reputation levelBaffles can't get a higher reputation levelBaffles can't get a higher reputation levelBaffles can't get a higher reputation levelBaffles can't get a higher reputation levelBaffles can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to Baffles
GPS Launcher

BAF's GPS Launcher, Current version: 0.1-test
No more running Google Maps in the background!
So, this app will basically let you run an app that is not coded to work with the GPS intermediary driver that is currently being used on 3.16, such as TomTom/iGo/miomap/etc.

It's pretty basic in functionality, but it gets the job done for now. The next revision of this will end up being a background service on the phone that automatically enables GPS as needed, but for now, this is a better solution than running gmaps/holodux/etc in the background.

To use it, just download it (link below), copy it anywhere on your device, and run it. It will give a configuration error on the first run, just hit OK and a window will come up. Put in the path to your GPS app (full path, such as \Windows\Tomtom Navigator.exe or \Program Files\iGo\iGo.exe), adjust the timeout if you need to (timeout is the length of time the launcher keeps the GPS port open before killing itself), then hit save. Now, whenever you run the exe, it will set up GPS, then launch the specified app.

It should work for the most part, but there may be some sneaky bugs in there as I haven't tested it much. Reporting these random problems will help me fix it.

If you need to reconfigure it, either delete bafgpsconfig.txt from the root of your device, or edit that file. Format of the file is GPS app on first line, timeout on the second line.

Timeout should be fine at 20 seconds for most. If the app launches but still doesn't see GPS, try increasing it. The launcher will stay open and keep GPS open until the timeout (in seconds) has expired, then it will close it's copy and exit. If the device goes to sleep or the program you launch closes it's GPS handles after the launcher exits, you will need to close the app and re-run the launcher.

That's about all I can think of. I have been testing it and it's working fine for me with iGo 2006, and llama has been testing it for me and has it working with TomTom.

Anyway, without further ado, here it is: http://code.baf.cc/bafgpsv01t.exe

Please report back with any feedback, bug reports, etc. Thanks!

Clarification: Make sure you click the save button when configuring it. I never set it up so hitting the close button would save it, so if you can't get a config to take, make sure you are actually clicking Save.

Suggestions so far:
- Browse button (I would have set one up, but there are no good pre-made file selectors in .NET CF, and I was trying to get this released ASAP) - Later version of the single launcher will have this, the daemon shouldn't need this.

Last edited by Baffles; 01-28-2008 at 02:30 AM.
Reply With Quote
 

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 03:29 PM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com