yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] mancom:
So this proves, that this is working for you as it should. There IS some app which connect to internet, and that app is turning your wifi on.

Examples of those apps:

Weather (part of manila)

Twitter (part of manila)

Stocks (part of manila)

Facebook (part of All People, manila contacts app)

YouTube (part of manila, account manager)

Mail (any mail, when set in manila to update every xx minutes, thats new in manila 2.5, every mail can be set to auto-update)

ActiveSync (when paired with Exchange server, push mail)

Wi-Fi remote access (working in background, when set to auto start wi-fi)

Messenger, Windows Live (tricky, after using Messenger, signing off and killing Messanger process, it can start wi-fi connection regardless)

RSS Hub (another tricky one, when set to Update when connected, it will start wi-fi connection regardless)

and many more 3rd party apps which I can`t think off about now.

About "Time Out Limit"... I didn`t experiment with this one, u can try, but I don`t belive it will make any difference.
[Windows Mobile Apps and Games] adeeb:
Thank you for the support. Cheers!!
[Windows Mobile Apps and Games] BB88:
I have the WM native "turn off wifi after inactive for 10 minutes", but after 10 minutes, the wifi icon shows that it's still on.

UPDATE: My phone was connected to my computer by ActiveSync, and the display didn't turn off. Looks like it works only when I turn the screen off totally. However, I have the problem as adeeb that it will automatically turn on wifi when I turn on my phone display again.
[Windows Mobile Apps and Games] mancom:
When screen is on, wifi will stay on, that`s htc default, it will switch off when device is suspended (with screen cempletly off). Other htc default behavior is, that when connected to ActiveSync, wifi should be off. If it is not, then I suggest there is something not right there with your device.

About your other problem I will suggest the same:
[Windows Mobile Apps and Games] chri55tof:
I`m also on CleanEX, but 2.13

Have to give your `trick` with WiFi a try and will report shortly.

Kris

EDIT :

What I have noticed is :

After Soft Reset option in CommManager, just next to WiFi says : "Turn on Wi-Fi automaticly" like it supposed to (Post 1)

When you activate it, WiFi turns itself ON. Now you have to click on `Notifications` area (top bar of screen) > Middle row (where it says `Connected`) > Now you have to turn WiFi OFF (and click on X - top right corner).

Now when you turn on CommManager you will see Turn on Wi-Fi automatically option turned ON, which is like it supposed to be :)

Now when you turn on any app which requires data connection, WiFi turns itself ON. My HD2 connects itself to my router at home as default, besides there is an icon on Notifications bar which says : `Multiple Networks Detected` , which is obvious :)

Hope someone can understand me :)

KriS
[Windows Mobile Apps and Games] gsmdb:
Pretty simple observation

- On Com. Manager: WiFi says : "Turn on Wi-Fi automatically", but button ON-OFF is set to OFF

- Click on the text - Turn on Wi-Fi automatically - then you go over to Network - Wireless, just connect to your preferable wifi source. That's it.

- Lauch your application then it will connect to wifi

In short Wifi-on-demand is independent of the setting of ON/OFF button
[Windows Mobile Apps and Games] chri55tof:
Yes it`s simple, but I still don`t get one thing ...

Turning let`s say Opera ON > WiFi turns itself ON, ..... finished browsing, closing Opera and .... if I don`t close WiFi OFF manually, it will stay ON... or thiss tweak doesn`t close WiFi when idle . ?

Am I missing something ?

Kris
[Windows Mobile Apps and Games] gsmdb:
Wifi does idle indeed. The icon on the taskbar is always active (green), BUT from Com. Manager you can see the wifi is turned off.

Did you change some thing manually from registry? Remember option - IsEnabled - must be 0, otherwise your wifi connection is permanently set.
[Windows Mobile Apps and Games] chri55tof:
In CommManager I have (like I mentioned above) `Turn on WiFi automatically`

But If you go to WiFi Networks list (trough Notification bar, on the top) you will see WiFi ON (even If I finish browsing and there is no apps running in background - straight after clean flash of new ROM and all data services are off) - is this what U mean ?

After finishing browsing (and turning all apps off) I turn screen of (by hardware power button) ... after a while, when I turn screen back on, WiFi icon appears ...

Kris
[Windows Mobile Apps and Games] gsmdb:
Good observation. Exactly as described, the wifi icon is always green/active as it is ready connected to wifi in the mean while wifi is off in Com. Manager. Its the way wifi-on-demand work
[Windows Mobile Apps and Games] BB88:
I think Wifi will starts itself. Without installing this, with Wifi turned on, wifi will turn off automatically when screen is off, and turn back on when screen is on. I found that this is what caused the huge ring delay in Windows Mobile devices. So I think this is potentially a very useful app if I don't have to keep my Wifi on all the time.
[Windows Mobile Apps and Games] mancom:
The ON/OFF button simpy switches Wifi on demand ON/OFF. When OFF wifi won`t turn on, and device will connect to GPRS/3G when needed, when ON device will connect to wifi first, when not find or not know network is found, then it will connect to GPRS/3G.

Come on guys, it`s simple!!

When you click Wi-Fi (Turn on Wi-Fi automatically), wifi will switch on and you will be taken to the list of available wifi networks.

And Wifi On Demand is strictly dependant of ON/OFF button!

That`s default htc/wm behavior. When wifi is on, it stays on. As it says on first page, wifi will switch off after a while when device is suspended (that means screen off).
[Windows Mobile Apps and Games] mancom:
No, wifi should not start itself.

When suspended (screen off) wifi switches off, when you turn screen back on, wifi should stay off, unless there is some app that wants to connect to internet, then wifi will turn on.

So, if your wifi is switching ON after you put screen on, that means some application wants to connect to internet and only then. That is the sense of this service.
[Windows Mobile Apps and Games] gsmdb:
Strange! Mine ON/OFF button always turns grey (Off-postion) in the meanwhile wifi connection is active?

Edit: I've retested the option and it works efter Mancoms guide.
[Windows Mobile Apps and Games] mancom:
Glad I could help.

BTW, the ON/OFF button should be always available, I mean NOT grey. The only exception is when phone is connected to computer by ActiveSync, then the ON/OFF button will be grayed out and not available, as wifi itself and only then.
[Windows Mobile Apps and Games] Drag-On:
maybe some1 here can help me?

I do NOT have:

- HTC Application Service 1.14.1.0 or newer,

- Comm Manager 2.9.11.0 or newer.

because i am running a highly customised ROM with SPB Shell and TouchXperience (alpha) and have no HTC stuff on the phone.

is there not a registry setting somewhere that will resume wifi after suspended?

as in: wifi is on, yay. now the phone goes into suspend/sleep mode. i want wifi to do this too to save battery. now i press power button and want wifi to wake up along with the phone.

can any1 help me please???
[Windows Mobile Apps and Games] mancom:
What you described, that behavior is default in winmo. If you don`t have Wifi On Demand then phone should do what you want, as is: You start wifi manually, when device is suspended, wifi goes off too, when you awake the phone, wifi will start too and will stay on until you switch it off manually.

What exactly is the problem ?
[Windows Mobile Apps and Games] Drag-On:
the problem is that, let's say i'm watching a youtube video. now, some1 asks me to help them take off their underwear, or something. i oblige and in the meantime, my cellphone goes into standby (coz the video is paused and my cellphone knows im afk)

i finish helping the person who asked for help and pick up my cell phone again. i push play but, ta-daaa wifi didnt wake up when i woke the phone up and youtube cries. i know wifi on demand would fix this...but ur cab doesnt work for me.

so i was wondering if there is a way to just tell the phone that:

IF wifi=enabled

when do(device.suspend)

THEN wifi=enabled

when do(device.wakeup)

(i havent programmed anything in 10 years...dont laugh)

of course i want wifi to switch off during the time that my phone is suspended too, to save battery.

or am i asking for the impossible?
[Windows Mobile Apps and Games] mancom:
In your case, wifi should start after you wake up the device. I think the rom you have is tweaked a bit too much.

Install CommManager, activate wifi in it and then see, it should help.

If it won`t, and if you are cooking your own roms, then include HTC application service and CommManager in your rom. This will fix the issue for sure.

I`m not aware of any registry entries which should bring default wifi behavior, sorry.
[Windows Mobile Apps and Games] Drag-On:
is there a cab u know of that can install commManager as a stand alone thing? and/or the htc application service?

thanks in advance and also for replying till now :)
[Windows Mobile Apps and Games] mancom:
There are cabs available around forum, do a Search. I don`t know any nor I have any here.

& U welcome
[Windows Mobile Apps and Games] dreamweaver3913:
Awesome! Thanks so much for figuring this out...

Works perfectly with my setup:

AT&T Pure

ROM: Energy.TOPAZ.23566.Sense2.5.May.01

I'm using this in conjunction with Dial-Up Enabler/Disabler (also on XDA) to use my phone data-plan free :)

EDIT: Not working... something in the Energy ROM disables this service when it comes out of suspend. Doing more research.
[Windows Mobile Apps and Games] mancom:
Glad to hear that.

Off topic: Thanks God we don`t need some special data plans to get data on our phones, here in Europe.
[Windows Mobile Apps and Games] dreamweaver3913:
Sorry, I take that back :( (well, I don't take back the tank you, just that it was working).

It worked a couple of times with Energy ROM then all of a sudden when the phone would go to suspended mode the ROM would disable Wi-Fi On Demand in Comm Manager :eek:. I hunted and hunted through the settings and turned off anything that had to do with turning off Wi-Fi after so long and no dice.

I loaded the April 25th Nhatoa and I've been testing the theory and your service works well there :cool:. I'm guessing NRGZ28 must have the ROM tweaked to do something with the Wi-Fi or there's some kind of incompatibility there. I'm a little disappointed because I really liked the look and smoothness of the EnergyROM, but at the end of the day I'd take functionality over looks. Maybe some day EnergyROM and Wi-Fi on Demand will play nicely :)

Thanks again for your hard work!
[Windows Mobile Apps and Games] mancom:
I`m sorry to hear that, it didn`t work for you as expected. As I`m only one and there is a lot of custom roms, I`m unable to test them all. This service should work without any problems, alltho if chefs tweak their rom, this may affect Wi-Fi on Demand service, which of I`m out of control.
[Windows Mobile Apps and Games] zalaros:
Works great on my Hd mini :D The only issue is that when the device gets suspended, wifi gets turned off but when i turn on the device, wifi gets connected again. Other than that it works perfectly ;) Thank you ;)
[Windows Mobile Apps and Games] mancom:
This probably will mean, that there`s some app that needs to connect to internet...

I posted before what could that be.
[Windows Mobile Apps and Games] dreamweaver3913:
No worries, I certainly don't blame you, like I said it does work just fine on a Nhathoa ROM I tried... When I get more time I might load up an Energy ROM again to try and sort it out. Maybe if I'm lucky NRGZ28 will open up his kitchen, then I can sort through what's all there and might be interfering...
[Windows Mobile Apps and Games] crash01ita:
I have installed on my topaz but now I cannot remove, how can i do?

"htc wifi on demand by krocher was not completely removed.."

thx
[Windows Mobile Apps and Games] mancom:
Well, this cab has no files inside, so it can not be locked by winmo.

Do a soft-reset and try again.
[Windows Mobile Apps and Games] crash01ita:
Works, thx ;)
[Windows Mobile Apps and Games] carhigh:
Working on my hd2 energy rom may 13th 21xxx. wifi turns off when the phone goes to sleep. When i turn the screen back on, my data is active but wifi turns on when i update weather.

I like this, BUT i just wish there was a setting to turn wifi on and off on the fly, or set wifi to shut down after a few minutes.

I have yet to test this when i am not near any open wifi, but i will. I will not enjoy this if i get errors that there are no wifi and comm pop ups telling me stuff like my kids tilt 2 with no data
[Windows Mobile Apps and Games] mancom:
To turn wi-fi ON/OFF simply go to Comm Manager and click the switch. So far no easy way to switch wi-fi off after few minutes.

When near open wi-fi with no defined settings in the phone then your phone will NOT automatcally connect to one, it will show an icon of new wi-fi in the taskbar. After you manualy connect to one, then your phone will remember that and auto-connect next time.
[Windows Mobile Apps and Games] thehellraiser:
awesome work .. very usefull app ..

thanks dude for sharing it ..
[Windows Mobile Apps and Games] krups:
Request for HTC Application Service 1.14.1.0 or newer

Hello,

This seems to be wonderful feature to have. I tried a lot but could not able to make it work with HTC Diamond on the ROM which I am currently using, just due to not having required version of HTC Application Service.

Can somebody please extract HTC Application Service 1.14.1.0 (possibly cabbed as HTCAP_Service_ATT.CAB under "Windows" folder) from the ROM on which it is working.

Hope someone could find the cab :o

Thanks in advance.

Regards,

Krupal
[Windows Mobile Apps and Games] ulysse84:
How can I check if I have HTC application service?

I don't know if my ROM has it.

I successfully installed the cab and the Turn on Wi-Fi in the ComMan changed to Turn on WiFi automatically. I switched it to ON and come in to Wifi windows to choose the network.

Then the wifi was ON. I suspended the phone and woke it up after a while, the Wifi turned ON right the way. I went to Wifi windows again and switched the Wifi to OFF and backed to the ComMan, the Turn on Wifi automatically was still ON. It seemed ok at this moment. Then I tried to update my weather, the phone turned on GPRS connection to get data. Ekk! It wasn't what I expected. I expected the phone would look for the Wifi first.

Did I do something wrong, or it's because I don't have the right HTC application service?
[Windows Mobile Apps and Games] mancom:
I have to say, you are a bit lazy one. It took me 10 seconds on google to find what you want. Attached below, but I`m not sure what version it is and will it work. Your risk.

To find out what HTC_application_service version you have, go to registry to [HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]. Among others, version of HTC_application_service will be listed there.

It looks like, you have correct version, becouse it is working. When wi-fi is starting itself after wake-up, there is a great possibility that there is a running app that needs to connect to internet. I listed those previously in the thread.

If wi-fi on demand was ON and you switched it OFF, then phone will connect to GPRS/3G straight away. I don`t know why in Comm Manager it was as ON, while you clearly switched it OFF, maybe incorect version of Comm Manager?
[Windows Mobile Apps and Games] krups:
OMG just 10 seconds to get HTC Application Service CAB.. that's unbelievable. I am searching for it since 2 days, in fact I downloaded the latest 6.5 stock ROM and tried to extract HTC Application Service from that, but I could find only OEM package out of it, unable to cab it out. :( May be I need to increase my googling skills :rolleyes:

Anyways still I am not able to find the attachment. I guess you have missed it.

Thanks a lot for helping me out.

Edit: Yeah earlier I had already found one cab HTCAP_Service_ATT.CAB from http://forums.wireless.att.com/t5/AT-T-HTC/Fuze-CAB-Files-Backup/m-p/1697443 as google is able to get only few links for this search. But that is too old, I have installed it but is not working.
[Windows Mobile Apps and Games] mancom:
I`m sure I attached it before I posted, well, call it magic. It went missing somehow, anyway...

That`s more or less what I found. Well, take a look around this forum, maybe you will find it.
[Windows Mobile Apps and Games] mobilen:
Any idea why it's not working on my td2 with the latest official rom?

sorry, my mistake. please remove post if possible. thank you for your software!
[Windows Mobile Apps and Games] ulysse84:
Hi,

Thanks for your instruction, I found that I have correct version of HTC app service. Hmmm, then it should work as it's supposed to do.

I found that there is 2 options for WiFi after installing the cab:

1. Turn on Wifi automatically on the ComMan

2. Turn on/off the Wifi when I click to Turn on Wifi automatically on the ComMan.

They're separated one to other. When I let Turn on Wifi automatically as ON, and Turn on/off the Wifi as OFF, the Wifi won't turn on automatically as it's supposed to do.

Certainly, when I let Turn on/off the Wifi as ON, the Wifi is always ON regardless of the status of Turn on Wifi automatically.

Another concern: if I set the auto turn off the Wifi after 5mn of unusing, does it affect the functionality of Wifi on Demand? If yes, is there any possibility of automatically turning the Wifi off after finish using.
[Windows Mobile Apps and Games] carhigh:
on both hd2 phones we keep seeing the icon for multiple netwoks detected. i don't recall seeing that icon when i tried this out on the last rom. Or maybe i just didn't notice it since i only played with it very shortly. but now I've decided to use the tweak nd wondering if its normal?
[Windows Mobile Apps and Games] mancom:
Well, I never bothered with the switch in Network Selection, so it`s hard for me to say how is it working. Simply let it ON, all the time. I never played with it and it`s always ON and Wi-fi on Demand is working for me as it should.

How did you managed to "Turn off the wifi after 5mn" ?? I`m not familiar with this option in HTC manufactured winmo PDAs (there is that option but in Smartphones WinMo Standard only)and I have no idea how it is affecting Wi-fi On Demand service.

Well, it looks like that:

If your phones have no defined settings for your wifi/no know wi-fi is found, then your phone should show the multiple networks found icon.

Wi-Fi on Demand service has nothing to do with searching process/finding new networks.

This service is working very reliably on Shiped ROMS, it can be a bit tricky on cooked roms due to some tweaking done by cheefs.
[Windows Mobile Apps and Games] carhigh:
I should have mentioned this icon is coming up even though we are already connected to the WiFi at home. It seems when we wake the phones WiFi connects to its already known configuration for our home, but the the multiple networks icon apears in the taskbar. Mine connects right away as i have a bunch of thing updating regularly, and hers connects once it needs to. but both are showing the icon. I have dismiss the notifacation in the task manager
[Windows Mobile Apps and Games] mancom:
I`m sure it has nothing to do with Wi-fi on Demand service.

Becouse HTC phones CAN`T connect to multiple wi-fi network at once, I`m sure when your phones show that icon "they" are NOT connected to your home wi-fi network at the same time. I have checked many wi-fi configurations and from my experience it looks like you have a problem with you router config.

Maybe you have/you connect to Linksys router??

Some HTC phones don`t like some Linksys routers. Proper connection happens after SECOND connection attempt.
[Windows Mobile Apps and Games] carhigh:
i think you are onto something with. it seems to me, if i turn on the screen and hit up my radar to fast, i get the multiple networks icon. but if i give it a few seconds after turning on the screen, the icon not show up. it seems its just taking a little time to connect. we have a 2wire all in one dsl system here and I've never had any problems with it. all seems well and understanding this the more i mess with it
[Windows Mobile Apps and Games] mancom:
Messing with = learning.

All I can say is this has nothing to do with Wi-fi on Demand service.

Just give it some time to connect.
[Windows Mobile Apps and Games] xboxhaxorz:
im glad this was bmped. very useful for me since i dont have internet on my phone.
[Windows Mobile Apps and Games] BumAround:
Anybody care to share, how long (in secs) it usually take for wifi-on-demand to switch off right after an app quit?

Anybody care to share about the resulting battery performance?

Thanks. :)
[Windows Mobile Apps and Games] mancom:
Wi-Fi On Demand does NOT switch off it self or after you exit an app that was using it. Wi-Fi will turn off after a while when device is suspended.

About battery: Wi-Fi is a bit demending for battery power. This is a case for every battery operated device with Wi-Fi. Simply suspend your device or let it suspend it self after you finish using it, then your battery will be just fine.
[Windows Mobile Apps and Games] Geo89_CZ:
"I have installed on my topaz but now I cannot remove, how can i do?

"htc wifi on demand by krocher was not completely removed..""

Hi ,

I have the same problem, but soft reset does not help..

It allways says that it has not been removed completely.

If I try to reinstall the cab, it is unsuccessful.

Any ideas ?

Thanks
[Windows Mobile Apps and Games] mancom:
This is something new for me. It should uninstall with no problems.

To unistall this, system has to change some registy settings, it looks like your registry is locked somehow. Do this: switch it OFF in Comm Manager, soft-reset, after that go to Task Manager and kill Comm Manager process, then try to uninstall Wi-Fi on demand. Should work.
[Windows Mobile Apps and Games] Geo89_CZ:
It still doesnt work :(

I started to use cooked ROM yesterday (Energy 23569), maybe this ROM locks registry somehow ?

Since I dont have many programs installed, its no problem to do a HR. Or do You have a batter idea ?
[Windows Mobile Apps and Games] mancom:
That was my idea too, that this rom is making this difficulty.

I would suggest to do hard reset then, if its not a problem. BTW, why would you want to uninstall this? Is it not working for you ?
[Windows Mobile Apps and Games] BumAround:
OK, now this 'turn off after a while when device is suspended' thing, how long (in secs) is 'a while'?

About the battery, maybe I have to rephrase my question: anybody ever compare the battery drain with versus without wifi-on-demand for same usage profile for let say 8 hours ? :)
[Windows Mobile Apps and Games] mancom:
The "while" is between 5 to 10 seconds.

No, at least I didn`t do any tests with battery.
[Windows Mobile Apps and Games] BumAround:
5 to 10 secs is not bad at all. thank you. :)

did you also say that soft reset sometimes deactivate wi-fi on deman, correct?
[Windows Mobile Apps and Games] mancom:
Yes, if it`s done by reset button or any app forced soft-reset.

No, when done by power button power off/power on cycle.
[Windows Mobile Apps and Games] ahlmann78:
Hi, I'm using this rom Energy.TOPAZ.23569.Sense2.5.Cookie.DinikGlass. When I try to use internet, it turns on wifi but after a few seconds it connects to 3g instead, but the wifi is still on. It's as if it doesn't have enough time to logon to the wlan. Any ideas?
[Windows Mobile Apps and Games] mancom:
It looks like your device can`t connect to your wlan, but wi-fi on demand is working fine.

What is the wi-fi status icon on taskbar?

On the other hand, if your device is connecting fine to wifi then maybe you have windows live hotmail to sync automatically ? This may happened when you try to sync your hotmail account.
[Windows Mobile Apps and Games] technographics:
Hello everyone!

Once installed, it is possible to uninstall this cab or restore the system to a status previous to installation?

Thanks a lot!