Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Creative Commons License 

import android.content.Context;
import android.content.Intent;
import android.provider.Settings;

public class Main {
    public static void goToAccessibilitySetting(Context context) {
        context.startActivity(
                new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
    }
}