[Java for Android App Development] Nx Biotic:
Here's an updated outlook on things

This is what I presently have

Main Activity that generates Nav Drawer

package com.example.navi;

import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.app.ActionBarDrawerToggle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.widget.DrawerLayout;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class MainActivity extends FragmentActivity {

final String[] menuEntries = {"Wireless & Networks","Personal","Phone","System"};
final String[] fragments = {
"com.navi.fragments.Wireless",
"com.example.navi.OneFragment",
"com.example.navi.TwoFragment",
"com.example.navi.ThreeFragment",
};

private ActionBarDrawerToggle drawerToggle;

[MENTION=439709]override[/MENTION]
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
ArrayAdapter<String> adapter = new ArrayAdapter<String>(getActionBar().getThemedContext(), android.R.layout.simple_list_item_1, menuEntries);

final DrawerLayout drawer = (DrawerLayout)findViewById(R.id.drawer_layout);
final ListView navList = (ListView) findViewById(R.id.drawer);

getActionBar().setDisplayHomeAsUpEnabled(true);
getActionBar().setHomeButtonEnabled(true);

drawerToggle = new ActionBarDrawerToggle(
this,
drawer,
R.drawable.ic_drawer,
R.string.drawer_open,
R.string.drawer_close
) {

/** Called when a drawer has settled in a completely closed state. */
public void onDrawerClosed(View view) {

}

/** Called when a drawer has settled in a completely open state. */
public void onDrawerOpened(View drawerView) {

}
};

drawer.setDrawerListener(drawerToggle);

navList.setAdapter(adapter);
navList.setOnItemClickListener(new OnItemClickListener(){
[MENTION=439709]override[/MENTION]
public void onItemClick(AdapterView<?> parent, View view, final int pos,long id){
drawer.setDrawerListener( new DrawerLayout.SimpleDrawerListener(){
[MENTION=439709]override[/MENTION]
public void onDrawerClosed(View drawerView){
super.onDrawerClosed(drawerView);
FragmentTransaction tx = getSupportFragmentManager().beginTransaction();
tx.replace(R.id.main, Fragment.instantiate(MainActivity.this, fragments[pos]));
tx.commit();
}
});
drawer.closeDrawer(navList);
}
});
FragmentTransaction tx = getSupportFragmentManager().beginTransaction();
tx.replace(R.id.main,Fragment.instantiate(MainActivity.this, fragments[0]));
tx.commit();
}

[MENTION=439709]override[/MENTION]
protected void onPostCreate(Bundle savedInstanceState) {
super.onPostCreate(savedInstanceState);
drawerToggle.syncState();
}

[MENTION=439709]override[/MENTION]
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
drawerToggle.onConfigurationChanged(newConfig);
}

[MENTION=439709]override[/MENTION]
public boolean onOptionsItemSelected(MenuItem item) {
if (drawerToggle.onOptionsItemSelected(item)) {
return true;
}

return super.onOptionsItemSelected(item);
}

[MENTION=439709]override[/MENTION]
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.main, menu);
return true;
}

}

PreferenceScreen (What did I do to allow this to not show and force close the app?)

package com.navi.fragments;

import android.os.Bundle;
import android.preference.PreferenceFragment;

import com.example.navi.R;

public class Wireless extends PreferenceFragment {

[MENTION=439709]override[/MENTION]
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.wireless);
}
}package com.navi.fragments;

import android.os.Bundle;
import android.preference.PreferenceFragment;

import com.example.navi.R;

public class Wireless extends PreferenceFragment {

[MENTION=439709]override[/MENTION]
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.wireless);
}
}

Fragments that do currently work but like the example presented, only shows a blank layout.

package com.example.navi;

import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class OneFragment extends Fragment {

public static Fragment newInstance(Context context) {
OneFragment f = new OneFragment();
return f;
}

[MENTION=439709]override[/MENTION]
public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_one, container, false);

return rootView;
}

}

Fragment Layout

<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:text="@string/fragment_one"
android:textColor="@color/holo_blue" />

</RelativeLayout>

Wireless XML

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="Wireless and Networks" >
<PreferenceScreen
android:title="Quick Wifi" >
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.android.settings.wifi.WifiSettings"
android:targetPackage="com.android.settings" />
</PreferenceScreen>
<PreferenceScreen
android:title="Quick Bluetooth" >
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.android.settings.bluetooth.BluetoothSettings"
android:targetPackage="com.android.settings" />
</PreferenceScreen>
<PreferenceScreen
android:title="Quick Hotspot" >
<intent
android:action="android.intent.action.MAIN"
android:targetClass="com.android.settings.TetherSettings"
android:targetPackage="com.android.settings" />
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>