Well after researching this fairly thorough.. i've got my code for it. All the resources ive seen show that my code syntax is correct however i'm getting force quit issues with my app.. Here is my current code:

```
package com.MonatecSolutions.SafeN_Secure;

import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

/**
 * Created by cchance on 6/24/2014.
 */
public class settingActivity extends Activity {
    TextView txt_nameval;
    EditText txt_delayval;
    Button btn_save;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_settings);

        // Grab the preferences
        final SharedPreferences preferences = getSharedPreferences("myPrefs", 0); // Made final for the onClickListener

        txt_nameval = (TextView) findViewById(R.id.txt_myName);
        txt_delayval = (EditText) findViewById(R.id.txt_delay);
        btn_save = (Button) findViewById(R.id.btnSave);

        // Setting the text from the preferences
        String myName = preferences.getString("myName", "");
        int myDelay = preferences.getInt("delay", 60);
        txt_nameval.setText(myName);
        txt_delayval.setText(myDelay);

        btn_save.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                // Saving the settings and returning to the main screen
                preferences.edit().putString("myName", txt_nameval.getText().toString()).commit();
                preferences.edit().putInt("delay", Integer.parseInt(txt_delayval.getText().toString())).commit();
                startActivity(new Intent(settingActivity.this, MyActivity.class));
            }
        });
    }
}

```

From logcat im getting this:

```
06-24 15:12:50.679    1852-1852/com.MonatecSolutions.SafeN_Secure E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.MonatecSolutions.SafeN_Secure, PID: 1852
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.MonatecSolutions.SafeN_Secure/com.MonatecSolutions.SafeN_Secure.settingActivity}: java.lang.NullPointerException
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2121)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
        at android.app.ActivityThread.access$800(ActivityThread.java:135)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:136)
        at android.app.ActivityThread.main(ActivityThread.java:5017)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:515)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
        at dalvik.system.NativeStart.main(Native Method)
 Caused by: java.lang.NullPointerException
        at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:173)
        at com.MonatecSolutions.SafeN_Secure.settingActivity.<init>(settingActivity.java:21)
        at java.lang.Class.newInstanceImpl(Native Method)
        at java.lang.Class.newInstance(Class.java:1208)
        at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2112)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
            at android.app.ActivityThread.access$800(ActivityThread.java:135)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:136)
            at android.app.ActivityThread.main(ActivityThread.java:5017)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:515)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
            at dalvik.system.NativeStart.main(Native Method)

```

I hope someone can shed some light on this for me. I come from a C# background so i may be doing something that i know i can do in C# but not realizing that it cant be done in Java.