public final class ApplicationEP
extends java.lang.Object
The specifications are read and handled by AndroidEntryPointLocator. see: http://developer.android.com/reference/android/app/Application.html
AndroidEntryPointLocator| Modifier and Type | Field and Description |
|---|---|
static AndroidEntryPointLocator.AndroidPossibleEntryPoint |
onConfigurationChanged
Called by the system when the device configuration changes while your component is running.
|
static AndroidEntryPointLocator.AndroidPossibleEntryPoint |
onCreate
Called when the application is starting, before any activity, service, or receiver objects
(excluding content providers) have been created.
|
static AndroidEntryPointLocator.AndroidPossibleEntryPoint |
onLowMemory
This is called when the overall system is running low on memory, and actively running processes
should trim their memory usage.
|
static AndroidEntryPointLocator.AndroidPossibleEntryPoint |
onTrimMemory
Called when the operating system has determined that it is a good time for a process to trim
unneeded memory from its process.
|
| Constructor and Description |
|---|
ApplicationEP() |
| Modifier and Type | Method and Description |
|---|---|
static void |
populate(java.util.List<? super AndroidEntryPointLocator.AndroidPossibleEntryPoint> possibleEntryPoints)
Add the EntryPoint specifications defined in this file to the given list.
|
public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onCreate
public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onConfigurationChanged
Note that, unlike activities, other components are never restarted when a configuration changes: they must always deal with the results of the change, such as by re-retrieving resources.
public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onLowMemory
While the exact point at which this will be called is not defined, generally it will happen when all background process have been killed. That is, before reaching the point of killing processes hosting service and foreground UI that we would like to avoid killing.
public static final AndroidEntryPointLocator.AndroidPossibleEntryPoint onTrimMemory
public static void populate(java.util.List<? super AndroidEntryPointLocator.AndroidPossibleEntryPoint> possibleEntryPoints)
possibleEntryPoints - the list to extend.