Prefs.java
Upload User: xmjingguan
Upload Date: 2009-07-06
Package Size: 2054k
Code Size: 1k
Category:

android

Development Platform:

Java

  1. /***  * Excerpted from "Hello, Android!",  * published by The Pragmatic Bookshelf.  * Copyrights apply to this code. It may not be used to create training material,   * courses, books, articles, and the like. Contact us if you are in doubt.  * We make no guarantees that this code is fit for any purpose.   * Visit http://www.pragmaticprogrammer.com/titles/eband for more book information. ***/ package org.example.sudoku;
  2. import android.os.Bundle;
  3. import android.preference.PreferenceActivity;
  4. public class Prefs extends PreferenceActivity {
  5.    @Override
  6.    protected void onCreate(Bundle savedInstanceState) {
  7.       super.onCreate(savedInstanceState);
  8.       addPreferencesFromResource(R.xml.settings);
  9.    }
  10. }