PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Wi-Fi and WINDEV: Principle
  • Wi-Fi and Android: Principle
  • Wi-Fi and iOS: Principle
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Using the Wi-Fi
Overview
WINDEV and WINDEV Mobile propose the WiFi functions to easily access the Wi-Fi networks. This group of functions can be used both in the WINDEV applications and in the Android applications.
Versions 19 and later
WEBDEV - Browser code Only WiFiStatus is available in Browser code.
New in version 19
WEBDEV - Browser code Only WiFiStatus is available in Browser code.
WEBDEV - Browser code Only WiFiStatus is available in Browser code.
Versions 19 and later
iPhone/iPad This feature is now available for the iPhone/iPad applications.
New in version 19
iPhone/iPad This feature is now available for the iPhone/iPad applications.
iPhone/iPad This feature is now available for the iPhone/iPad applications.
Wi-Fi and WINDEV: Principle
The principle for using the WiFi functions is as follows:
  1. List the Wi-Fi network cards accessible from the current computer (WiFiListNetworkCard).
  2. Select the Wi-Fi network card to use (WiFiSelectNetworkCard).
  3. Detect the available Wi-Fi access points with WiFiDetectAccessPoint.
  4. List the Wi-Fi networks configured on the computer (WiFiListNetwork).
  5. If an available Wi-Fi access point is found in the list of stored Wi-Fi networks, you have the ability to connect to it (WiFiConnect).
The available functions are as follows:
Versions 16 and later
WiFiConnect
New in version 16
WiFiConnect
WiFiConnect
Connects the device to the specified Wi-Fi network.
Versions 16 and later
WiFiConnectionInfo
New in version 16
WiFiConnectionInfo
WiFiConnectionInfo
Returns the requested information about the current Wi-Fi connection of the device.
Versions 16 and later
WiFiDeleteNetwork
New in version 16
WiFiDeleteNetwork
WiFiDeleteNetwork
Deletes a network from the list of Wi-Fi networks configured on the device.
Versions 16 and later
WiFiDetectAccessPoint
New in version 16
WiFiDetectAccessPoint
WiFiDetectAccessPoint
Starts detecting the Wi-Fi access points currently accessible from the device.
Versions 16 and later
WiFiListNetwork
New in version 16
WiFiListNetwork
WiFiListNetwork
Returns the list of Wi-Fi networks currently configured on the device.
Versions 18 and later
WiFiListNetworkCard
New in version 18
WiFiListNetworkCard
WiFiListNetworkCard
Returns the list of Wi-Fi network cards currently available on the current computer.
Versions 18 and later
WiFiSelectNetworkCard
New in version 18
WiFiSelectNetworkCard
WiFiSelectNetworkCard
Selects the Wi-Fi network card that will be used for the next calls to the WiFi functions.
Wi-Fi and Android: Principle
The principle for using the WiFi functions is as follows:
  1. Check the Wi-Fi status on the mobile device (WiFiStatus) and enable it if necessary (WiFiActivate). During the activation, if an accessible Wi-Fi network is found in the list of available Wifi networks, the mobile device connects to the best Wi-Fi network.
  2. Detect the Wi-Fi access points (WiFiDetectAccessPoint). This allows you to find out all the accessible Wi-Fi networks.
  3. List the Wi-Fi networks saved (WiFiListNetwork).
  4. If an available Wi-Fi access point is found in the list of saved networks, you have the ability to connect to it (WiFiConnect).
  5. If an available Wi-Fi access point is not found in the list of saved networks, you have the ability to configure it (WiFiAddNetwork) and to connect to it (WiFiConnect).
The available functions are as follows:
Versions 16 and later
WiFiActivate
New in version 16
WiFiActivate
WiFiActivate
Enables or disables Wi-Fi on the device.
Versions 16 and later
WiFiAddNetwork
New in version 16
WiFiAddNetwork
WiFiAddNetwork
Adds a new network to the list of Wi-Fi networks configured on the device.
Versions 16 and later
WiFiConnect
New in version 16
WiFiConnect
WiFiConnect
Connects the device to the specified Wi-Fi network.
Versions 16 and later
WiFiConnectionInfo
New in version 16
WiFiConnectionInfo
WiFiConnectionInfo
Returns the requested information about the current Wi-Fi connection of the device.
Versions 16 and later
WiFiDeleteNetwork
New in version 16
WiFiDeleteNetwork
WiFiDeleteNetwork
Deletes a network from the list of Wi-Fi networks configured on the device.
Versions 16 and later
WiFiDetectAccessPoint
New in version 16
WiFiDetectAccessPoint
WiFiDetectAccessPoint
Starts detecting the Wi-Fi access points currently accessible from the device.
Versions 16 and later
WiFiListNetwork
New in version 16
WiFiListNetwork
WiFiListNetwork
Returns the list of Wi-Fi networks currently configured on the device.
Versions 16 and later
WiFiStatus
New in version 16
WiFiStatus
WiFiStatus
Returns the current activation status of Wi-Fi on the device or asks to be notified when the activation status of Wi-Fi changes.
Related Examples:
Android System Android (WINDEV Mobile): Android System
[ + ] This application is a tutorial example presenting some of the new features of WINDEV Mobile for Android.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- WIFI
- Bluetooth
- Toast
- Progress Bar control
- 9-image mode
- Compass
- Accelerometer
- Camera control
- LED
- Vibrations
- Notifications
- Drawing functions
- Internet
Wi-Fi and iOS: Principle
Versions 19 and later
In the iOS applications, the Wi-Fi functions are used to:
  • Find out the activation status of Wi-Fi.
  • Get the list of Wi-Fi networks. The available functions are as follows:
Versions 16 and later
WiFiListNetwork
New in version 16
WiFiListNetwork
WiFiListNetwork
Returns the list of Wi-Fi networks currently configured on the device.
Versions 16 and later
WiFiStatus
New in version 16
WiFiStatus
WiFiStatus
Returns the current activation status of Wi-Fi on the device or asks to be notified when the activation status of Wi-Fi changes.
New in version 19
In the iOS applications, the Wi-Fi functions are used to:
  • Find out the activation status of Wi-Fi.
  • Get the list of Wi-Fi networks. The available functions are as follows:
Versions 16 and later
WiFiListNetwork
New in version 16
WiFiListNetwork
WiFiListNetwork
Returns the list of Wi-Fi networks currently configured on the device.
Versions 16 and later
WiFiStatus
New in version 16
WiFiStatus
WiFiStatus
Returns the current activation status of Wi-Fi on the device or asks to be notified when the activation status of Wi-Fi changes.
In the iOS applications, the Wi-Fi functions are used to:
  • Find out the activation status of Wi-Fi.
  • Get the list of Wi-Fi networks. The available functions are as follows:
Versions 16 and later
WiFiListNetwork
New in version 16
WiFiListNetwork
WiFiListNetwork
Returns the list of Wi-Fi networks currently configured on the device.
Versions 16 and later
WiFiStatus
New in version 16
WiFiStatus
WiFiStatus
Returns the current activation status of Wi-Fi on the device or asks to be notified when the activation status of Wi-Fi changes.
See also
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment