Example usage for Java android.app Application fields, constructors, methods, implement or subclass
The text is from its open source code.
Context | getApplicationContext() |
ApplicationInfo | getApplicationInfo() |
AssetManager | getAssets() |
ClassLoader | getClassLoader() |
ContentResolver | getContentResolver() |
File | getDir(String name, int mode) |
File | getExternalFilesDir(String type) |
File | getFilesDir() |
PackageManager | getPackageManager() |
String | getPackageName() |
String | getPackageResourcePath() |
Resources | getResources() |
String | getString(@StringRes int resId) Returns a localized string from the application's package's default string table. |
Object | getSystemService(String name) |
FileInputStream | openFileInput(String name) |
void | registerActivityLifecycleCallbacks(ActivityLifecycleCallbacks callback) |
Intent | registerReceiver(BroadcastReceiver receiver, IntentFilter filter) |