[Request] Comm Manager GPS - Windows Mobile Development and Hacking General

Greetings,
I have a HTC XV6800. Recently I got the GPS to work which is just freaking awesome. I have the HTC Comm Manager and I noticed that the GPS will not work without my bluetooth running. The question I have is, is it possible tomake a button in the Comm manager to turn the GPS on/off while remaining the Bluetooth on/off and visa versa? If you turn the GPS on it turns the bluetooth on since it needs to be used and when you turn it off it turns off the bluetooth. It would have to remember conditions. Is that possible?
Thanks,

mmmm I'm not sure I got your request right.
I think you have an internal gps right ? but you say it can't start without BT ? That's weird !!

Yeah isn't it? So like here are the conditions with Comm Manager added
Flight Mode - On/Off
Phone Mode - On/Off
WLAN - On/Off
Microsoft Direct Push - On/Off
Data Connection - On/Off
Ringer/Vibrate
Internet Sharing - On/Off
ActiveSynce - On/Off
Beam - On/Off
GPS - On/Off (Conditional see below)
Bluetooth - On/Off (Conditional see below)
1. On if turned on by user
2. On if GPS turned on
3. Off if turned off by user
4. Off it turned on by GPS
5. Can not be shut off by user if GPS was started by user.
Get it or is it still confusing?

Actually, it might be very very useful. I mean, considering an internal GPS usually works without any relation to BT... if there's a way to have a buttom to turn it on/off it can save battery... unless there's some kind of mechanism i'm not familiar with which already does that.

nir36 said:
Actually, it might be very very useful. I mean, considering an internal GPS usually works without any relation to BT... if there's a way to have a buttom to turn it on/off it can save battery... unless there's some kind of mechanism i'm not familiar with which already does that.
Click to expand...
Click to collapse
Thanks for the support. Now I am not a coder or developer but would someone like to take this on? I think it should be pretty easy. I would imagine you would just have to disect the comm manager and localize the GPS.

just FYI, on other devices with internal gps I've seen, it's turned on/off automatically via the gps software, and there is no entry for GPS in the comm manager..

Related

Modifying the flight mode facility

I currently use a QTEK s110 mainly for sat nav purposes. i dont use it as a phone at all. i am using tom tom5 with a globalsat bt-338 bluetooth reciever. with the bluetooth running it runs the pda battery down in about 2-3 hours if i forgot to lift the car charger from the other car. also it is a pin to start up as i have switch flight mode off and then wait fo rth phone to boot up before activating the tt software. so here are my questions.
is there anyway i can just get the tom tom to switch the flight mode off when i activate the tom tom software?
or is there anyway i can switch the pda off when not in flightmode rather than put it in standby as this just wastes the battery?
Can a shortcut button be created for the flight mode facility?
is there a fix for running the bluetooth with the flight mode on?
at present i have to switch off flight mode which becomes a pain when i have to switch it back on.
i have looked in to using the Globalsat sd-502 but it has compatibility issues.
i appreciate any help on this
Teb
"is there a fix for running the bluetooth with the flight mode on? "
tebs,
I know how you feel. This seems to be a problem with certain firmwares of the Qtec S110.
My manual states that holding down the power button turns the phone part off but not on my phone.
I'm currently testing Phone Alarm. It allows you to set up profiles. I've set one up which switches the radio (i.e. phone) off and bluetooth on. With it you don't have to go anywhere near flight mode. In fact, if you do, it'll get a bit confused. It's two presses on the today page to change modes. You can configure it to automatically put your phone pin in when switching the phone on. It's one press to toggle bluetooth on or off.
It takes some configuring but may do the job and its quite cheap (30 day trial)
Hi Borg,
i have also been using phone alarm for the last 3 weeks or so and its workin quite well. look as if i`ll have to purchase the software as my 30 day trial period is about to expire.
Yes, it's a pain that we have to buy software just to do what should be standard i.e. have bluetooth on without the phone on, but there you go. I contacted Qtek about this and they were pretty useless. Eventually I convinced them that it wasn't a faulty device but a faulty firmware and the only firmware that they offered me was the one I already had which is when I turned to PhoneAlarm.
Maybe one day HTC will put two physical switches on their devices to turn off phone and bluetooth - much better than software flight mode.
On a related note: I use sat nav whilst walking. I would like my bluetooth to actually turn off when I turn the device off so as to save PDA battery power. I'm sure the manual says it does turn off when you turn off the device but again it doesn't with my firmware - does yours?
borgs said:
Maybe one day HTC will put two physical switches on their devices to turn off phone and bluetooth - much better than software flight mode.
Click to expand...
Click to collapse
I've been saying that for ages! But honestly I dont even need physical buttons. If they would at least make the communications module togging (ie flight mode plus other radio functions) accessible from an on screen area bigger than a pinhead, that would be enough for a start. Its impossible to do it one handed. I'd love to know who the bonehead is at MS product development that okayed such awful ergonomics on a critical funciton...
Borg, my one is the same i cannot switch it off with the bluetooth running. need to switch it off first before switching the pda off otherwise the screen goes blank for a second then comes back up again!
skagen i totally agree with your comments.
its a pity the globalsat sd-502 doesnt work with it either that way you`d save loads of power not using the bluetooth at all. unfortunately once again the qtek has let us done on that one too as it doesnt detect the memory card!
Try
1. radiooff.exe
2. Turn on Blutooth
3. Tomtom -> GPS -> Configure -> Other NMEA GPS (4800,COM5 )
tebs said:
is there a fix for running the bluetooth with the flight mode on?
Click to expand...
Click to collapse
Try this:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\FlightMode]
"IsFMCheckEnable"=dword:00000000
"WarningMsg"="Please turn Flight Mode off first"
Change "IsFMCheckEnable"=dword:00000001 to "IsFMCheckEnable"=dword:00000000
Works for me...
Bye
it doesnt exist on my registry
Re:
Krisu said:
Try
1. radiooff.exe
2. Turn on Blutooth
3. Tomtom -> GPS -> Configure -> Other NMEA GPS (4800,COM5 )
Click to expand...
Click to collapse
radiooff.exe sounds interesting but I couldn't find it on my pocketPC. I looked in the windows directory and then I did a find. Is it a third party product?
Please ignore, I wasn't logged in when I read that message and so it didn't show me the download. Thanks
moghisi101 said:
tebs said:
is there a fix for running the bluetooth with the flight mode on?
Click to expand...
Click to collapse
Try this:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\FlightMode]
"IsFMCheckEnable"=dword:00000000
"WarningMsg"="Please turn Flight Mode off first"
Change "IsFMCheckEnable"=dword:00000001 to "IsFMCheckEnable"=dword:00000000
Works for me...
Bye
Click to expand...
Click to collapse
This also doesn't exist in my registry but the warningmsg part exists under OEM rather than HTC. But, if I add IsFMCheckEnable 0 it has no effect.
I think that this is probably a difference between the Qtek firmwares and the iMate firmwares. Qtek seem to have stuffed up in their current firmware.
Re:
Krisu said:
Try
1. radiooff.exe
2. Turn on Blutooth
3. Tomtom -> GPS -> Configure -> Other NMEA GPS (4800,COM5 )
Click to expand...
Click to collapse
Fantastic - thank you so much Krisu!
I have now uninstalled PhoneAlarm, done a soft reset and can now toggle the phone off and on using that app. If the bluetooth is currently running it leaves it running. No need to go near the flight mode button and should be able to assign it to one of the keys for fast turning off of the phone.
Thanks again!
borgs said:
moghisi101 said:
tebs said:
is there a fix for running the bluetooth with the flight mode on?
Click to expand...
Click to collapse
Try this:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\FlightMode]
"IsFMCheckEnable"=dword:00000000
"WarningMsg"="Please turn Flight Mode off first"
Change "IsFMCheckEnable"=dword:00000001 to "IsFMCheckEnable"=dword:00000000
Works for me...
Bye
Click to expand...
Click to collapse
This also doesn't exist in my registry but the warningmsg part exists under OEM rather than HTC. But, if I add IsFMCheckEnable 0 it has no effect.
I think that this is probably a difference between the Qtek firmwares and the iMate firmwares. Qtek seem to have stuffed up in their current firmware.
Click to expand...
Click to collapse
LOL, yea I forgot to mention that my Qtek is running on an Imate ROM. That may be why...
moghisii101: No probs mate, I appreciate the info - if anything its shown me that the iMate rom flight mode is better implemented than the Qtek version.
tebs: check this thread out: http://forum.xda-developers.com/viewtopic.php?t=39281
You will find a bluetooth cycle program there (CicleBT). It seems to work ok with radiooff.exe but can get a bit confused if you download (from there) and use FlightMode. So I would suggest that you use radiooff.exe and CicleBT. I've assigned them to buttons. Phone Profiler also seems to have problems with our dodgy firmware. Again this is not the program's fault but what Qtek have done with their firmare.
And cheers for your thread as you've helped me solve my problems!
Check out SKScheMa at www.s-k-tools.com as it can turn WiFi BT and GSM on and off from a scripting language or from its scheduler.
Cheers cjb
I use the bluesoleil BT stack,and I can use tomtom with the phone off!

Anyone got TomTom working with BT GPS with Phone OFF?

As the title says. I have got TomTom 5.21 running fine on my Exec, but it will only connect to my BT GPS device when the phone radio is switched on. If you go to GPS Status it says "No GPS Device (Flight Mode)" as if Flight Mode in some way explains why the BT connection can't be made and I am stupid for even trying!
So has anybody got this to work with the phone radio switched off?
Whatcha Melty. Not for Universal, but the principle is the same: flight mode disables the phone+bluetooth. However, you want to disable the phone radio only, but leave bluetooth enabled. That requires a reg mod or a third party app.
Have you read this thread?
http://forum.xda-developers.com/viewtopic.php?t=36788&highlight=
V
Hi Vijay,
I hadn't seen that thread. Thanks! I will try out some of the stuff and if I decide it would be better with an app, I'll knock one up. It'll just be a wrapper for TomTom that just forces flight mode off and then starts TomTom. I could run it instead of the normal TomTom app. Mind you, if I'm going to use my Exce as a phone then I might ot bother!
I've used the TAPI lib on the XDA2 to force flight mode off etc for a program for work, so it's not exactly difficult, but I just wondered if I was missing a simple setting somewhere.
i dunno.... looks to me like it's tomtom at fault here.
the wireless manager on my exec is happy to let me switch on bluetooth only, but switch off phone and wireless. it's just that tomtom sees phone off and assumes the worst
it only seems to check on startup though, so for a low-tech workaround you could always leave your phone on, startup tomtom and let it connect to your GPS, then switch back to wireless manager and switch off your phone.
once the connection is established, tomtom doesn't check again, and the WM wireless manager keeps the bluetooth connection up while turning off the phone
That actually makes perfect sense dalelane (although it means TomTom coders are mad). Thanks! :wink:

Bluetooth Manager.

There is this program here called Pocket Bluetooth:
http://www.bluetooth.jazztel.es/
Which is not working very well in my 9100, and actually stopped working entirely.
What it promises:
1. One click enabling and disabling bluetooth
2. Shutting down BT after 60secs of inactivity.
3. Setting the screen light permanently on i.e in the case of a GPS set.
...things very much needed.
Does anybody know of another program that does that?
Thanks
No one?
Cicle BT does one click enabling and disabling of BT
http://www.winmobileapps.com/Home.aspx
Its freeware too.
Works for me U can put it in the tray useing PHM traylaunch
Or map it to one of the hardware buttons 8)
meschle said:
Cicle BT does one click enabling and disabling of BT
http://www.winmobileapps.com/Home.aspx
Its freeware too.
Works for me U can put it in the tray useing PHM traylaunch
Or map it to one of the hardware buttons 8)
Click to expand...
Click to collapse
Thanks meschle,
It lacks though 2 main functions for me.
1. Disable BT after 60sec of inactivity and,
2. Screen light toggle, to permanent on, or normal when BT is active.
Regards
I contacted the developer of the Pocket Bluetooth Tools, but got no reply for a week now, nobody knows anything?
No one ?

Bluetooth GPS want to re-pair all the time

Hi folks,
I upgraded my Hermes with Schap's Windows Mobile 6 ROM. Works fine so far. But when I try to use my Bluetooth GPS it acts strange.
I paired the Bluetooth device and set up a COM-port for the applications. The first time it works. The next time, when I switch on Bluetooth and start for example TomTom, the Hermes tells me there is a new Bluetooth device that wants to connect. I checked and found out the GPS is still in the list of known Bluetooth devices and the COM-port is set. But the assistant is still bugging until I add the "new" device. After that of course my "old" device is gone.
How can I avoid this? Anyone experiencing the same problem?
I have the same issue, really annoying so would love to know the answer
Tafkas.Net said:
Hi folks,
I upgraded my Hermes with Schap's Windows Mobile 6 ROM. Works fine so far. But when I try to use my Bluetooth GPS it acts strange.
I paired the Bluetooth device and set up a COM-port for the applications. The first time it works. The next time, when I switch on Bluetooth and start for example TomTom, the Hermes tells me there is a new Bluetooth device that wants to connect. I checked and found out the GPS is still in the list of known Bluetooth devices and the COM-port is set. But the assistant is still bugging until I add the "new" device. After that of course my "old" device is gone.
How can I avoid this? Anyone experiencing the same problem?
Click to expand...
Click to collapse
On your Hermes:
Have you tried to checked off: "Make this device visible to other devices"?
Under: Start\Settings\Connections\Bluetooth\Mode (2nd tab on the bottom)
Option #1 (Hermes)
~If, "Make this device visible to other devices is not enabled, delete the pairing for your GPS.
~Check off "Make this device visible to other devices"
~Pair your GPS again (ensure that "Make this device visible to other devices" is still enabled)
Option #2 (GPS)
Don't know what kind of settings for bluetooth you may have on your GPS. I found for my car stereo, that I needed to leave it, in the "waiting/open for connection mode.
Now when I turn the car on it automatically connects the phone and stereo off my Hermes.
What I'm basically saying here is there may be a setting to leave your GPS automatically open for bluetooth connections?
I think option #1 may do the trick....
Hope this helps! Good Luck!
jac said:
On your Hermes:
Have you tried to checked off: "Make this device visible to other devices"?
Under: Start\Settings\Connections\Bluetooth\Mode (2nd tab on the bottom)
Option #1 (Hermes)
~If, "Make this device visible to other devices is not enabled, delete the pairing for your GPS.
~Check off "Make this device visible to other devices"
~Pair your GPS again (ensure that "Make this device visible to other devices" is still enabled)
Option #2 (GPS)
Don't know what kind of settings for bluetooth you may have on your GPS. I found for my car stereo, that I needed to leave it, in the "waiting/open for connection mode.
Now when I turn the car on it automatically connects the phone and stereo off my Hermes.
What I'm basically saying here is there may be a setting to leave your GPS automatically open for bluetooth connections?
I think option #1 may do the trick....
Hope this helps! Good Luck!
Click to expand...
Click to collapse
Mine is set to NOT be visable to others & my bluetooth GPS device just ha a on/off button.
paul8811 said:
Mine is set to NOT be visible to others & my bluetooth GPS device just ha a on/off button.
Click to expand...
Click to collapse
If your concerned about Security you can always change the Pairing codes.
and or turn off bluetooth when not needed.
I'm unaware of any cases where one can connect unless there paired, so in most cases access needs to be allowed on both ends, usually needing pairing codes. Even if it is one way, an approval code will still be needed.
What I found is this, if you want automatic connecting with one way pairing codes i.e. (Car Stereo to PDA or GPS to PDA) You'll need to allow "make device visible" checked off. The usual cause is a memory storing issue with the GPS or Car Stereo. I know that on high end Stereo's and GPS's they have on board memory which will save connection settings, where you'd put pairing codes on both ends and it will save the settings, thus negating the need to leave visible.
Don't know if I answered your question?
Hope I was able to shed some light on the subject....
Good Luck!

Bluetooth On and Off, NOT Toggle

Hi all. I have seen many bluetooth toggle solutions and many of them work great. But I am looking for a simple solution to turn BT on, not to toggle it. This is why. I use profiles in Inesoft Phone a lot. But their BT on and off do not work due to the TP2 not using the WM stack. So say I am switching from one profile where BT is on to another where BT should stay on. Toggle does me no good because it will sometimes turn BT off when I really wanted it to stay on. There is a native app on my Tilt 2 in \Windows called TurnBTOff.exe. But there is not one to turn it on. I must have 5 different BT toggles on my phone but nothing to turn on only.
Any ideas for a TurnBTOn app? I am hoping for the typical small footprint cab utility and not another install of an app that does 20 other things besides BT on. I have found some 'on only' cabs, but not for the widcomm stack we have.
try this out. i am downloading it right now myself. it looks like it creates an actual exe shortcut that you can assign to your softkeys or certain hardware buttons to turn BT on and off. i know you mentioned you only need it to turn ON but having both might be good too...
Thanks for the info. But it looks like all of those are toggles, not an "on-only" BT exe. So I don't think it will solve my issue posted above.
Great fix for CHT 1.8 Bluetooth Issue
Thanks for the link! Installed that simple program, and now the Bluetooth toggle switch on my Cookie Home Tab works great on my TP2/Tilt2.

Categories

Resources