Wi-Fi Configuration

Demonstrates how to manage Wi-Fi networks.

Download Source

Product

EMDK For Android - 14.0

Devices

All supported devices

Sample apps are for demonstration purposes only, and should NOT be used in production environments.

Overview

The EMDK for Android allows you to configure Wi-Fi of a Zebra device.

The available actions are:

  • Disable Wi-Fi
  • Enable Wi-Fi
  • Add a Network
  • Connect to a Network
  • Enable a Network
  • Disconnect from a Network
  • Disable a Network
  • Remove a Network

This sample app shows how to perform all the Wi-Fi actions listed above on a Zebra device.

Requirements

  • Android API 22 (or higher) must be installed via the SDK Manager before attempting to load this sample.
  • Enable Wi-Fi on target device(s) for access to all Wi-Fi features

Loading the Sample Application

The following guide will walk you through setting up the EMDK samples in your IDE.

NOTE: The appearance of sample app screens can vary by sample app version, Android version and screen size.

Using This Sample

  1. When the application starts it should look like the following.

img

  1. Select the Wi-Fi operation you want (Enable/Disable).

img

  1. Select the Network action you want to execute from the Network Action drop-down. Let us select "Add (Default Open Network)" option.

img

Note: You could also add Personal Network with Passphrase and Enterprise Network with required certificate, which is not in the scope of this sample. 4. Provide some SSID to the network you want to add in SSID field (Ex. Test_Network).

img

  1. Click "Apply" button.

  2. Check the status field.

img

Sample apps are for demonstration purposes only, and should NOT be used in production environments.