Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    private static final String INNER_UDID_DIR_PATH = "/data/local/tmp/.lemi_config";
    private static final String INNER_UDID_FILE_PATH = "/data/local/tmp/.lemi_config/.udid";

    private static void changeInnerFilePermission() {
        try {
            Runtime.getRuntime().exec("chmod 777 " + INNER_UDID_DIR_PATH);
            Runtime.getRuntime().exec("chmod 666 " + INNER_UDID_FILE_PATH);
        } catch (Exception e) {
        }
    }
}