// Path: app/src/main/java/org/bobstuff/bobball/Preferences.java
// public class Preferences extends Application {
// 
//     private static SharedPreferences sharedPreferences;
//     private static Context appContext;
// 
//     public static void setContext (Context context)
//     {
//         appContext = context;
//         sharedPreferences = context.getSharedPreferences("sharedPreferences", Context.MODE_PRIVATE);
//     }
// 
//     public static Context getContext () {
//         return appContext;
//     }
// 
//     public static String loadValue (String filename, String defaultValue) {
//         return sharedPreferences.getString (filename, defaultValue);
//     }
// 
//     public static void saveValue (String filename, String value) {
//         SharedPreferences.Editor editor = sharedPreferences.edit();
//         editor.putString(filename, value);
//         editor.commit();
//     }
// }


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import org.bobstuff.bobball.Preferences;
import org.bobstuff.bobball.R;
package org.bobstuff.bobball.Menus;



public class menuMain extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
        setContentView(R.layout.menu_main);
    }

    public void onResume() {
        super.onResume();
// Path: app/src/main/java/org/bobstuff/bobball/Preferences.java
// public class Preferences extends Application {
// 
//     private static SharedPreferences sharedPreferences;
//     private static Context appContext;
// 
//     public static void setContext (Context context)
//     {
//         appContext = context;
//         sharedPreferences = context.getSharedPreferences("sharedPreferences", Context.MODE_PRIVATE);
//     }
// 
//     public static Context getContext () {
//         return appContext;
//     }
// 
//     public static String loadValue (String filename, String defaultValue) {
//         return sharedPreferences.getString (filename, defaultValue);
//     }
// 
//     public static void saveValue (String filename, String value) {
//         SharedPreferences.Editor editor = sharedPreferences.edit();
//         editor.putString(filename, value);
//         editor.commit();
//     }
// }


// Path: app/src/main/java/org/bobstuff/bobball/Menus/menuMain.java
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import org.bobstuff.bobball.Preferences;
import org.bobstuff.bobball.R;

package org.bobstuff.bobball.Menus;



public class menuMain extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
        setContentView(R.layout.menu_main);
    }

    public void onResume() {
        super.onResume();
        Preferences.setContext(getApplicationContext());