go To Wifi Setting using Intent - Android Intent

Android examples for Intent:Wifi Connection

Description

go To Wifi Setting using Intent

Demo Code


//package com.java2s;

import android.content.Context;
import android.content.Intent;

import android.provider.Settings;

public class Main {
    public static void goToWifiSetting(Context context) {
        context.startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));
    }//from  w  w  w.  ja v  a 2 s .c  o m
}

Related Tutorials