1、android.preference.PreferenceRepresents the basic Preference UI building block displayed by a PreferenceActivity in the form of a ListView. This class provides the View to be displayed in the activity and associates with a SharedPreferences to
reboot:Intent i= new Intent( Intent.ACTION_REBOOT);intent.putExtra("nowait", 1); intent.putExtra("interval", 1); intent.putExtra("window", 0);sendBroadcast( i ); shutdown:Intent i= new Intent( Intent.ACTION_SHUTDOWN);sendBroadcast( i ); public
public abstract classServiceextends ContextWrapperimplements ComponentCallbacks Class OverviewA Service is an application component representing either an application's desire to perform a longer-running operation while not interacting with the user
public abstract classSQLiteOpenHelperextends ObjectClass OverviewA helper class to manage database creation and version management. You create a subclass implementing onCreate(SQLiteDatabase), onUpgrade(SQLiteDatabase, int, int) and optionally
android.content.BroadcastReceier. public abstract class BroadcastReceiverextends ObjectClass OverviewBase class for code that will receive intents sent by sendBroadcast(). You can either dynamically register an instance of this class with
ListActivity是Activity的一個子類。 An activity that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item.