public class Application extends android.app.Application implements IHolo, ThemeManager.SuperStartActivity, SystemServiceManager.SuperSystemService, IAddonAttacher<IAddonApplication>
android.app.Application.ActivityLifecycleCallbacksIAddonAttacher.AddonCallback<V>, IAddonAttacher.AttachExceptionACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_ROUTER_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, STORAGE_SERVICE, TELEPHONY_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, UI_MODE_SERVICE, USB_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE| Constructor and Description |
|---|
Application() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addInitialAddon(java.lang.Class<? extends IAddon> clazz) |
<T extends IAddonApplication> |
addon(java.lang.Class<? extends IAddon> clazz) |
void |
addon(java.util.Collection<java.lang.Class<? extends IAddon>> classes) |
<T extends IAddonApplication> |
addon(java.lang.String classname) |
SharedPreferences |
getDefaultSharedPreferences() |
SharedPreferences |
getDefaultSharedPreferences(HoloEverywhere.PreferenceImpl impl) |
static Application |
getLastInstance() |
LayoutInflater |
getLayoutInflater() |
SharedPreferences |
getSharedPreferences(HoloEverywhere.PreferenceImpl impl,
java.lang.String name,
int mode) |
SharedPreferences |
getSharedPreferences(java.lang.String name,
int mode) |
Application |
getSupportApplication() |
java.lang.Object |
getSystemService(java.lang.String name) |
static void |
init() |
boolean |
isAddonAttached(java.lang.Class<? extends IAddon> clazz) |
void |
lockAttaching() |
java.util.Collection<java.lang.Class<? extends IAddon>> |
obtainAddonsList() |
void |
onCreate() |
boolean |
performAddonAction(IAddonAttacher.AddonCallback<IAddonApplication> callback) |
void |
startActivities(android.content.Intent[] intents) |
void |
startActivities(android.content.Intent[] intents,
android.os.Bundle options) |
void |
startActivity(android.content.Intent intent) |
void |
startActivity(android.content.Intent intent,
android.os.Bundle options) |
android.content.SharedPreferences |
superGetSharedPreferences(java.lang.String name,
int mode) |
java.lang.Object |
superGetSystemService(java.lang.String name) |
void |
superStartActivity(android.content.Intent intent,
int requestCode,
android.os.Bundle options) |
onConfigurationChanged, onLowMemory, onTerminate, onTrimMemory, registerActivityLifecycleCallbacks, registerComponentCallbacks, unregisterActivityLifecycleCallbacks, unregisterComponentCallbacksattachBaseContext, bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalFilesDir, getFilesDir, getFileStreamPath, getMainLooper, getObbDir, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setTheme, setWallpaper, setWallpaper, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceiverpublic static void addInitialAddon(java.lang.Class<? extends IAddon> clazz)
public static Application getLastInstance()
public static void init()
public <T extends IAddonApplication> T addon(java.lang.Class<? extends IAddon> clazz)
addon in interface IAddonAttacher<IAddonApplication>public void addon(java.util.Collection<java.lang.Class<? extends IAddon>> classes)
addon in interface IAddonAttacher<IAddonApplication>public <T extends IAddonApplication> T addon(java.lang.String classname)
addon in interface IAddonAttacher<IAddonApplication>public SharedPreferences getDefaultSharedPreferences()
getDefaultSharedPreferences in interface IHolopublic SharedPreferences getDefaultSharedPreferences(HoloEverywhere.PreferenceImpl impl)
getDefaultSharedPreferences in interface IHolopublic LayoutInflater getLayoutInflater()
getLayoutInflater in interface IHolopublic SharedPreferences getSharedPreferences(HoloEverywhere.PreferenceImpl impl, java.lang.String name, int mode)
getSharedPreferences in interface IHolopublic SharedPreferences getSharedPreferences(java.lang.String name, int mode)
getSharedPreferences in interface IHologetSharedPreferences in class android.content.ContextWrapperpublic Application getSupportApplication()
getSupportApplication in interface IHolopublic java.lang.Object getSystemService(java.lang.String name)
getSystemService in class android.content.ContextWrapperpublic boolean isAddonAttached(java.lang.Class<? extends IAddon> clazz)
isAddonAttached in interface IAddonAttacher<IAddonApplication>public void lockAttaching()
lockAttaching in interface IAddonAttacher<IAddonApplication>public java.util.Collection<java.lang.Class<? extends IAddon>> obtainAddonsList()
obtainAddonsList in interface IAddonAttacher<IAddonApplication>public void onCreate()
onCreate in class android.app.Applicationpublic boolean performAddonAction(IAddonAttacher.AddonCallback<IAddonApplication> callback)
performAddonAction in interface IAddonAttacher<IAddonApplication>public void startActivities(android.content.Intent[] intents)
startActivities in class android.content.ContextWrapperpublic void startActivities(android.content.Intent[] intents,
android.os.Bundle options)
startActivities in class android.content.ContextWrapperpublic void startActivity(android.content.Intent intent)
startActivity in class android.content.ContextWrapperpublic void startActivity(android.content.Intent intent,
android.os.Bundle options)
startActivity in class android.content.ContextWrapperpublic android.content.SharedPreferences superGetSharedPreferences(java.lang.String name,
int mode)
public java.lang.Object superGetSystemService(java.lang.String name)
superGetSystemService in interface SystemServiceManager.SuperSystemServicepublic void superStartActivity(android.content.Intent intent,
int requestCode,
android.os.Bundle options)
superStartActivity in interface ThemeManager.SuperStartActivityCopyright © 2012-2013. All Rights Reserved.