SKSchema - Check Wifi connectivity - Windows Mobile Development and Hacking General

How do you check with SKSchema that you have a wifi connectivity ?
I want to create a radio alarm clock.
What I did until now works great, but has a big issue: if my radio alarm starts in a place where there is no wifi router, my radio alarm clock connects itself automatically to the GPRS network (I have a PDA-Phone, HTC - TyTN) to get the radio content.
Listening to radio station via GPRS is very expensive !! (there is no unlimited data plan in france).
So I only want to listen to my radio station if I am on Wifi, and I don't want to switch off the phone (so I can get a phone call even when I am listening to radio).
If I don't have a wifi connectivity, I just want my alarm clock to play a .mp3 song instead.
Here is my script, the problem is that checking WLAN is ON does not mean, you have a WLAN connectivity. Do you know how I could be sure I am not using GPRS without switching off the phone? :
"
#r(#eval) #p(WifiStatusBefore=1)
#r(#chkwlan)
#r(#iftrue) #p(WifiON)
#r(#wlanon) #wait(1)
#r(#eval) #p(WifiStatusBefore=0)
#r(#label) #p(WifiON)
#r(#chkwlan)
#r(#iffalse) #p(End)
#r(\Program Files\PocketMusic\PocketMusic.exe) #p(\Radion.pls) #sleep(5000)
#r(#kill) #p(PocketMusic.exe) #sleep(120000)
#r(#chkcondition) #p(WifiStatusBefore==0)
#r(#wlanoff) #wait(1)
#r(#label) #p(End)
"

Related

Please Help with Toggle Phone Radio, No Network

Hi. I have been trying various programs such as PocketZenPhone (version 4.5.1), Tweakster with VJVolubilis, and PPC Profiles to create scheduled phone profiles on my 8125. With each program, I have run into the same problem. When the program toggles the phone radio back on from flight mode, it will not connect to the AT&T network. If I use the CommManager or the tray icon available from BatteryStatus, toggling the phone radio will result in connection with the network.
I'm thinking this might be a Wizard issue or a WM5 issue. Is there something I can do to help these programs connect to the network automatically rather than just turning on the phone radio (ie a registry hack that would automatically connect to the network when the phone radio is on)? Thanks.
I too have been having inconsistent results with vjvolubilis. I have written a mortscript to toggle between GSM and AUTO and incorporated vjvolubilis for radioon/radiooff. Sometimes the network does not "engage" and have to manually cycle the radio to get "back on".
Have you found a solution?

Need Help with Phone Radio Toggling and No Network Connection

Hi. I have been trying various programs such as PocketZenPhone (version 4.5.1), Tweakster with VJVolubilis, and PPC Profiles to create scheduled phone profiles on my 8125. With each program, I have run into the same problem. When the program toggles the phone radio back on from flight mode, it will not connect to the AT&T network. If I use the CommManager or the tray icon available from BatteryStatus, toggling the phone radio will result in connection with the network.
I'm thinking this might be a Wizard issue or a WM5 issue. Is there something I can do to help these programs connect to the network automatically rather than just turning on the phone radio (ie a registry hack that would automatically connect to the network when the phone radio is on)? Thanks.
Not the smoothest meathod, or most practical depending on where you are, but how about wi-fi? Either a card, or better yet built in. I remember reading that some devices actually turn the phone radio off when utilizing wi-fi, but it can be done manually easily!!!
I don't utilize my wifi often. When I do, the wifi doesn't affect the phone radio. I'm looking for automated phone setting based on time to shut down the phone radio and bluetooth at night while keeping my phone on standby then to go back to previous setting in the morning.
I'm guessing this is more of a Wizard issue since others who have used the program haven't had the same problem. The question is why toggling the phone radio would result in no network connection while using the CommManager that came with the phone would result in network connection.
Another problem I came up with is now my phone will not give an audible ring. When I set my phone at level 4 for the ringer, it sets back to zero when someone calls. I think it is the setting I left it in when I uninstalled the program. I'm not sure.
Any thoughts or help? Thanks.
Update to the second problem that I mentioned. I reinstalled PPC Profiles Pro and reset my phone setttings and it solved the problem. Unfortunately, I still have the phone radio toggling problem.

UMTS/EDGE switching causes offline

I have an annoying problem with my Touch HD. When I get out of the 3G network range, the phone seems to switch to EDGE but the Internet connection terminates (the title bar icon switches from range bars to the antenna image). Even after I disconnect manually (the phone still thinks it's connected), it won't negotiate GPRS/EDGE connection until I reach 3G network range again or I turn off the radio and log into GSM network again. The other way (2G -> 3G) works fine.
I have the original radio version 1.09.25.14 and ROM 1.14.405.3 (22273) WWE. I've tried different band settings (auto and UMTS 2100 + GSM 900/1800) but it doesn't help.
Do I have to flash the radio? I don't really want that, apart from that problem the phone's working fine. The problem annoys me a lot, especially when I'm listening to network radios in my car.
I've searched the forums but haven't found anything on that.

GSM off Bluetooth on ?

Every night i want to hear Audiobooks with my HD2 Android System...
Is it possible to turn off all wireless connections (wifi, gsm, mobile data etc.) the only thing i need is bluetooth !!!!
seavers11 said:
Every night i want to hear Audiobooks with my HD2 Android System...
Is it possible to turn off all wireless connections (wifi, gsm, mobile data etc.) the only thing i need is bluetooth !!!!
Click to expand...
Click to collapse
Add power control widget to home screen (by tapping and holding a large empty space) You can disable everything from there. If you are using shubcraft 1.4c or later (e.g. 1.5) you will have more options.
Note: Flight mode disables all wireless communication including bt so it is not what you need.

Web radio disconnects

I am using a Fujitsu-Siemens N520 PocketPC connected to my router on wifi as a web radio player. The incription I use for wireless is WPA/TKIP and the application I use is GSPlayer. It works fine but sometimes it disconnects from the station and stalls. I have to double click he station in the playlist again to restart it. This wouldn't be so annoying if these disconnections would be occasional. But usually after 15-20 minutes it disconnects.
I know that Android shuts down the processor and wireless after a while even if the wifi is in use by an application after some idle time. I had to install an application to prevent this. Is there something similar for WM6 ?
Is there an application that would automatically restart the station if let's say no network activity is present for a specific time interval?
Thank you

Categories

Resources