package de.christianscheb.partyprojector.app;

import android.os.Bundle;
import android.preference.PreferenceActivity;
import de.christianscheb.partyprojector.app.preferences.AppPreferences;

public class SettingsActivity extends PreferenceActivity {

    public static final String KEY_PREF_SERVER = "pref_server";
    private AppPreferences preferences;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        SettingsFragment fragment = new SettingsFragment();
        getFragmentManager().beginTransaction()
                .replace(android.R.id.content, fragment)
                .commit();
    }
}

@@ -59,135 +59,46 @@
 oid.
-os.Bundle;%0Aimport android.preference.PreferenceActivity;%0Aimport de.christianscheb.partyprojector.app.preferences.AppPreferences
+app.Activity;%0Aimport android.os.Bundle
 ;%0A%0Ap
@@ -134,26 +134,16 @@
 extends 
-Preference
 Activity
@@ -213,48 +213,8 @@
 er%22;
-%0A    private AppPreferences preferences;
 %0A%0A  

Use Activity as base class