Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Enable / disable WiFi

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-30-2009, 10:16 AM
Junior Member
 
Join Date: Feb 2008
Location: Worcestershire, UK
Posts: 16
Default Enable / disable WiFi

Can anyone point me to a solution for switching the PDA WiFi on/off programatically please.

I have found VJVolubilis, a command line utility that I could SHELL out to. (I haven't tried this yet) however I would like to include similar functionality in my own code if possible.

Thanks very much in anticipation.
Reply With Quote
  #2 (permalink)  
Old 07-30-2009, 06:16 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I've had a look about and it doesn't that easy. Well, not for me.

Each device has a unique code for it's wifi card.
Each version of windows mobile 'probably' stores this in a different
location in the registry.
To write a dll for Basic4ppc, it would have to check the version of windows
of the device 'and' find the unique ID of the wifi card installed.

It 'is' possible, obviously, as you know.

But I think a Shell call to an already written app seems to me like the best option.

I have found a single .exe wifi toggle app if you wan't a link to it.
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #3 (permalink)  
Old 07-31-2009, 08:45 AM
Ariel_Z's Avatar
Basic4ppc Veteran
 
Join Date: May 2009
Posts: 246
Default

Could you post the link? It may be useful... for many.
Reply With Quote
  #4 (permalink)  
Old 08-01-2009, 05:38 AM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Post #4 of this thread.
Auto Wifi On Of - xda-developers

Download the Zip, and use the Shell command to call Wifi.exe
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ability to toggle WiFi on and off Phil2 Basic4ppc Wishlist 1 09-12-2008 01:58 PM
Disable entries in ComboBox klaus Questions (Windows Mobile) 4 05-02-2008 01:46 PM
Wifi on desktop ? taximania Questions (Windows Mobile) 5 03-27-2008 05:53 PM
WiFi Signal alfcen Basic4ppc Wishlist 2 12-27-2007 11:52 PM
How to disable launch application at given time? jesb4ppc Questions (Windows Mobile) 4 07-11-2007 04:48 PM


All times are GMT. The time now is 04:42 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0