WiFi Configuration

Demonstrates how to manage WiFi networks.

Download Source

Product

EMDK For Android - 9.0

Devices

All supported devices

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

Note: In order to perform all Wi-Fi network operations, Wi-Fi should be enabled.

This sample application will allow you to perform all the above mentioned Wi-Fi actions on Zebra device.

Requirements

Android API 22 (or higher) must be installed via the SDK Manager before attempting to load this sample.

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

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

    img

  3. 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.

  1. 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