- Activity
- ActivityManager
Features:
- Return information about the memory usage of one or more processes
- Returns a list of any processes that are currently in an error
condition.
- Return a list of the tasks that the user has recently launched
- Returns a list of application processes that are running on the device
- Return a list of the services that are currently running
- Return a list of the tasks that are currently running
- Kill all background processes associated with the given package
- Activity Types
- Activity
- ActivityGroup
- TabActivity
TabHost, TabWidget
- xxx
- ListActivity
- xxx
- xxx
- Service
IBinder, Binder, Messenger, ServiceConnection
- BroadcastReceiver
- Date Storage
- File
- SQLite
- Content Provider
- ContentResolver
ContentObserver
- xxx
- xxx
- Intent & IntentFilter
- Intent
An intent is an abstract description of an operation to be performed. It can be used to launch an Activity, to send broadcast receiver, and to communicate with a background Service. - IntentFilter
Structured description of Intent values to be matched. An IntentFilter
can
match against actions, categories, and data (either via its type,
scheme,
and/or path) in an Intent. It also includes a "priority" value which
is
used to order multiple matching filters
- ComponentName
Identifier for a specific application component (Activity, Service, BroadcastReceiver, or ContentProvider). the package and class inside of the package are used to identify a component.
- Notify User
- Status Bar
NotificationManager, Notification, PendingIntent
- Toast
- Dialog
- AlertDialog
AlertDialog.Builder,
- ProgressDialog
Can be shown as a horizontal progress bar, or a ciruclar and spinning
progress
bar - TimePickerDialog
- DatePickerDialog
-
xxx
- xxx
- TelephonyManager
- Features:
- Get call state
- Get cell location
- Get device id: IMEI or MEID
- Get device software version
- Get Phone number
- Get operator
- Need to declare proper permission
- ...
- WallpaperManager
- SearchManager
- Schedule Task
- AlarmManager
- Key
- KeyguardManager
A class that can be used to lock and unlock the keyboard.
- xxx
- Blue Tooth
- BluetoothAdapter
- BluetoothDevice
- BluetoothServerSocket
- BluetoothSocket
- Device Administrate
Implement the features as the application Settings > Security location > Screen unlock pattern. you can find the sample DeviceAdminSample.java within SDK 2.2.
- DevicePolicyManager
- DeviceAdminReceiver
- ...
阅读(730) | 评论(0) | 转发(0) |