// Path: app/src/main/java/com/botty/wall/app/PrefManager.java
// public class PrefManager {
// 
//     SharedPreferences pref;
//     SharedPreferences.Editor editor;
//     Context _context;
// 
//     // shared pref mode
//     int PRIVATE_MODE = 0;
// 
//     // Shared preferences file name
//     private static final String PREF_NAME = "com.botty.wall-welcome";
// 
//     private static final String IS_FIRST_TIME_LAUNCH = "IsFirstTimeLaunch";
// 
//     private static final  String CAN_WRITE_SD = "grant_access";
// 
//     public PrefManager(Context context) {
//         this._context = context;
//         pref = _context.getSharedPreferences(PREF_NAME, PRIVATE_MODE);
//         editor = pref.edit();
//     }
// 
//     public void setFirstTimeLaunch(boolean isFirstTime) {
//         editor.putBoolean(IS_FIRST_TIME_LAUNCH, isFirstTime);
//         editor.commit();
//     }
// 
//     public boolean isFirstTimeLaunch() {
//         return pref.getBoolean(IS_FIRST_TIME_LAUNCH, true);
//     }
// 
//     public void setCanWriteSd(boolean canWriteSd){
//         editor.putBoolean(CAN_WRITE_SD, canWriteSd);
//         editor.commit();
//     }
// 
//     public boolean canWriteSD(){
//         return pref.getBoolean(CAN_WRITE_SD,false);
//     }
// 
// }


import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.botty.wall.R;
import com.botty.wall.app.PrefManager;
package com.botty.wall.activity;



public class Intro extends AppCompatActivity {

    private ViewPager viewPager;
    private MyViewPagerAdapter myViewPagerAdapter;
    private LinearLayout dotsLayout;
    private TextView[] dots;
    private int[] layouts;
    private Button btnSkip, btnNext;
// Path: app/src/main/java/com/botty/wall/app/PrefManager.java
// public class PrefManager {
// 
//     SharedPreferences pref;
//     SharedPreferences.Editor editor;
//     Context _context;
// 
//     // shared pref mode
//     int PRIVATE_MODE = 0;
// 
//     // Shared preferences file name
//     private static final String PREF_NAME = "com.botty.wall-welcome";
// 
//     private static final String IS_FIRST_TIME_LAUNCH = "IsFirstTimeLaunch";
// 
//     private static final  String CAN_WRITE_SD = "grant_access";
// 
//     public PrefManager(Context context) {
//         this._context = context;
//         pref = _context.getSharedPreferences(PREF_NAME, PRIVATE_MODE);
//         editor = pref.edit();
//     }
// 
//     public void setFirstTimeLaunch(boolean isFirstTime) {
//         editor.putBoolean(IS_FIRST_TIME_LAUNCH, isFirstTime);
//         editor.commit();
//     }
// 
//     public boolean isFirstTimeLaunch() {
//         return pref.getBoolean(IS_FIRST_TIME_LAUNCH, true);
//     }
// 
//     public void setCanWriteSd(boolean canWriteSd){
//         editor.putBoolean(CAN_WRITE_SD, canWriteSd);
//         editor.commit();
//     }
// 
//     public boolean canWriteSD(){
//         return pref.getBoolean(CAN_WRITE_SD,false);
//     }
// 
// }


// Path: app/src/main/java/com/botty/wall/activity/Intro.java
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.botty.wall.R;
import com.botty.wall.app.PrefManager;

package com.botty.wall.activity;



public class Intro extends AppCompatActivity {

    private ViewPager viewPager;
    private MyViewPagerAdapter myViewPagerAdapter;
    private LinearLayout dotsLayout;
    private TextView[] dots;
    private int[] layouts;
    private Button btnSkip, btnNext;
    private PrefManager prefManager;