AI-generated Key Takeaways
-
PreviewActivityis an AndroidActivityfor previewing apps with a specified container version. -
Preview functionality requires adding a specific activity entry with an
intent-filtertoAndroidManifest.xml. -
PreviewActivityinherits methods and constants fromandroid.app.Activity,android.content.Context, and theandroid.content.ComponentCallbacks2interface, covering various lifecycle and interaction functionalities. -
The main public method,
onCreate, prepares for previewing a non-published container and launches the app's main activity.
An Activity
to preview
the app with previewed container version.
To use the preview function, the app should add the following snippet into its
AndroidManifest.xml (where <package_name>
needs to be replaced by your
package name):
<activity android:name="com.google.android.gms.tagmanager.PreviewActivity"
android:label="@string/app_name">
<intent-filter>
<data android:scheme="tagmanager.c.<package_name>"/>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
</intent-filter>
</activity>
Inherited Constant Summary
| int | DEFAULT_KEYS_DIALER | |
| int | DEFAULT_KEYS_DISABLE | |
| int | DEFAULT_KEYS_SEARCH_GLOBAL | |
| int | DEFAULT_KEYS_SEARCH_LOCAL | |
| int | DEFAULT_KEYS_SHORTCUT | |
| int | FULLSCREEN_MODE_REQUEST_ENTER | |
| int | FULLSCREEN_MODE_REQUEST_EXIT | |
| int | OVERRIDE_TRANSITION_CLOSE | |
| int | OVERRIDE_TRANSITION_OPEN | |
| int | RESULT_CANCELED | |
| int | RESULT_FIRST_USER | |
| int | RESULT_OK |
| String | ACCESSIBILITY_SERVICE | |
| String | ACCOUNT_SERVICE | |
| String | ACTIVITY_SERVICE | |
| String | ALARM_SERVICE | |
| String | APPWIDGET_SERVICE | |
| String | APP_FUNCTION_SERVICE | |
| String | APP_OPS_SERVICE | |
| String | APP_SEARCH_SERVICE | |
| String | AUDIO_SERVICE | |
| String | BATTERY_SERVICE | |
| int | BIND_ABOVE_CLIENT | |
| int | BIND_ADJUST_WITH_ACTIVITY | |
| int | BIND_ALLOW_ACTIVITY_STARTS | |
| int | BIND_ALLOW_OOM_MANAGEMENT | |
| int | BIND_AUTO_CREATE | |
| int | BIND_DEBUG_UNBIND | |
| int | BIND_EXTERNAL_SERVICE | |
| long | BIND_EXTERNAL_SERVICE_LONG | |
| int | BIND_IMPORTANT | |
| int | BIND_INCLUDE_CAPABILITIES | |
| int | BIND_NOT_FOREGROUND | |
| int | BIND_NOT_PERCEPTIBLE | |
| int | BIND_PACKAGE_ISOLATED_PROCESS | |
| int | BIND_SHARED_ISOLATED_PROCESS | |
| int | BIND_WAIVE_PRIORITY | |
| String | BIOMETRIC_SERVICE | |
| String | BLOB_STORE_SERVICE | |
| String | BLUETOOTH_SERVICE | |
| String | BUGREPORT_SERVICE | |
| String | CAMERA_SERVICE | |
| String | CAPTIONING_SERVICE | |
| String | CARRIER_CONFIG_SERVICE | |
| String | CLIPBOARD_SERVICE | |
| String | COMPANION_DEVICE_SERVICE | |
| String | CONNECTIVITY_DIAGNOSTICS_SERVICE | |
| String | CONNECTIVITY_SERVICE | |
| String | CONSUMER_IR_SERVICE | |
| String | CONTACT_KEYS_SERVICE | |
| int | CONTEXT_IGNORE_SECURITY | |
| int | CONTEXT_INCLUDE_CODE | |
| int | CONTEXT_RESTRICTED | |
| String | CREDENTIAL_SERVICE | |
| String | CROSS_PROFILE_APPS_SERVICE | |
| int | DEVICE_ID_DEFAULT | |
| int | DEVICE_ID_INVALID | |
| String | DEVICE_LOCK_SERVICE | |
| String | DEVICE_POLICY_SERVICE | |
| String | DISPLAY_HASH_SERVICE | |
| String | DISPLAY_SERVICE | |
| String | DOMAIN_VERIFICATION_SERVICE | |
| String | DOWNLOAD_SERVICE | |
| String | DROPBOX_SERVICE | |
| String | EUICC_SERVICE | |
| String | FILE_INTEGRITY_SERVICE | |
| String | FINGERPRINT_SERVICE | |
| String | GAME_SERVICE | |
| String | GRAMMATICAL_INFLECTION_SERVICE | |
| String | HARDWARE_PROPERTIES_SERVICE | |
| String | HEALTHCONNECT_SERVICE | |
| String | INPUT_METHOD_SERVICE | |
| String | INPUT_SERVICE | |
| String | IPSEC_SERVICE | |
| String | JOB_SCHEDULER_SERVICE | |
| String | KEYGUARD_SERVICE | |
| String | LAUNCHER_APPS_SERVICE | |
| String | LAYOUT_INFLATER_SERVICE | |
| String | LOCALE_SERVICE | |
| String | LOCATION_SERVICE | |
| String | MEDIA_COMMUNICATION_SERVICE | |
| String | MEDIA_METRICS_SERVICE | |
| String | MEDIA_PROJECTION_SERVICE | |
| String | MEDIA_ROUTER_SERVICE | |
| String | MEDIA_SESSION_SERVICE | |
| String | MIDI_SERVICE | |
| int | MODE_APPEND | |
| int | MODE_ENABLE_WRITE_AHEAD_LOGGING | |
| int | MODE_MULTI_PROCESS | |
| int | MODE_NO_LOCALIZED_COLLATORS | |
| int | MODE_PRIVATE | |
| int | MODE_WORLD_READABLE | |
| int | MODE_WORLD_WRITEABLE | |
| String | NETWORK_STATS_SERVICE | |
| String | NFC_SERVICE | |
| String | NOTIFICATION_SERVICE | |
| String | NSD_SERVICE | |
| String | OVERLAY_SERVICE | |
| String | PEOPLE_SERVICE | |
| String | PERFORMANCE_HINT_SERVICE | |
| String | PERSISTENT_DATA_BLOCK_SERVICE | |
| String | POWER_SERVICE | |
| String | PRINT_SERVICE | |
| String | PROFILING_SERVICE | |
| int | RECEIVER_EXPORTED | |
| int | RECEIVER_NOT_EXPORTED | |
| int | RECEIVER_VISIBLE_TO_INSTANT_APPS | |
| String | RESTRICTIONS_SERVICE | |
| String | ROLE_SERVICE | |
| String | SEARCH_SERVICE | |
| String | SECURITY_STATE_SERVICE | |
| String | SENSOR_SERVICE | |
| String | SHORTCUT_SERVICE | |
| String | STATUS_BAR_SERVICE | |
| String | STORAGE_SERVICE | |
| String | STORAGE_STATS_SERVICE | |
| String | SYSTEM_HEALTH_SERVICE | |
| String | TELECOM_SERVICE | |
| String | TELEPHONY_IMS_SERVICE | |
| String | TELEPHONY_SERVICE | |
| String | TELEPHONY_SUBSCRIPTION_SERVICE | |
| String | TEXT_CLASSIFICATION_SERVICE | |
| String | TEXT_SERVICES_MANAGER_SERVICE | |
| String | TV_AD_SERVICE | |
| String | TV_INPUT_SERVICE | |
| String | TV_INTERACTIVE_APP_SERVICE | |
| String | UI_MODE_SERVICE | |
| String | USAGE_STATS_SERVICE | |
| String | USB_SERVICE | |
| String | USER_SERVICE | |
| String | VIBRATOR_MANAGER_SERVICE | |
| String | VIBRATOR_SERVICE | |
| String | VIRTUAL_DEVICE_SERVICE | |
| String | VPN_MANAGEMENT_SERVICE | |
| String | WALLPAPER_SERVICE | |
| String | WIFI_AWARE_SERVICE | |
| String | WIFI_P2P_SERVICE | |
| String | WIFI_RTT_RANGING_SERVICE | |
| String | WIFI_SERVICE | |
| String | WINDOW_SERVICE |
| int | TRIM_MEMORY_BACKGROUND | |
| int | TRIM_MEMORY_COMPLETE | |
| int | TRIM_MEMORY_MODERATE | |
| int | TRIM_MEMORY_RUNNING_CRITICAL | |
| int | TRIM_MEMORY_RUNNING_LOW | |
| int | TRIM_MEMORY_RUNNING_MODERATE | |
| int | TRIM_MEMORY_UI_HIDDEN |
Inherited Field Summary
| protected static final int[] | FOCUSED_STATE_SET |
Public Constructor Summary
Public Method Summary
Inherited Method Summary
| void | |
| void | |
| void | clearOverrideActivityTransition
(int arg0)
|
| void | closeContextMenu
()
|
| void | closeOptionsMenu
()
|
| PendingIntent | |
| final void | dismissDialog
(int arg0)
|
| final void | dismissKeyboardShortcutsHelper
()
|
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| void | |
| boolean | |
| void | enterPictureInPictureMode
()
|
| <T extends View > T | findViewById
(int arg0)
|
| void | finish
()
|
| void | finishActivity
(int arg0)
|
| void | |
| void | finishAffinity
()
|
| void | finishAfterTransition
()
|
| void | finishAndRemoveTask
()
|
| void | |
| ActionBar | getActionBar
()
|
| final Application | getApplication
()
|
| ComponentCaller | getCaller
()
|
| ComponentName | getCallingActivity
()
|
| String | getCallingPackage
()
|
| int | getChangingConfigurations
()
|
| ComponentName | getComponentName
()
|
| Scene | getContentScene
()
|
| TransitionManager | getContentTransitionManager
()
|
| ComponentCaller | getCurrentCaller
()
|
| View | getCurrentFocus
()
|
| FragmentManager | getFragmentManager
()
|
| ComponentCaller | getInitialCaller
()
|
| Intent | getIntent
()
|
| Object | getLastNonConfigurationInstance
()
|
| String | getLaunchedFromPackage
()
|
| int | getLaunchedFromUid
()
|
| LayoutInflater | getLayoutInflater
()
|
| LoaderManager | getLoaderManager
()
|
| String | getLocalClassName
()
|
| int | getMaxNumPictureInPictureActions
()
|
| final MediaController | getMediaController
()
|
| MenuInflater | getMenuInflater
()
|
| OnBackInvokedDispatcher | getOnBackInvokedDispatcher
()
|
| final Activity | getParent
()
|
| Intent | getParentActivityIntent
()
|
| SharedPreferences | getPreferences
(int arg0)
|
| Uri | getReferrer
()
|
| int | getRequestedOrientation
()
|
| final SearchEvent | getSearchEvent
()
|
| final SplashScreen | getSplashScreen
()
|
| Object | |
| int | getTaskId
()
|
| final CharSequence | getTitle
()
|
| final int | getTitleColor
()
|
| VoiceInteractor | getVoiceInteractor
()
|
| final int | getVolumeControlStream
()
|
| Window | getWindow
()
|
| WindowManager | getWindowManager
()
|
| boolean | hasWindowFocus
()
|
| void | invalidateOptionsMenu
()
|
| boolean | isActivityTransitionRunning
()
|
| boolean | isChangingConfigurations
()
|
| final boolean | isChild
()
|
| boolean | isDestroyed
()
|
| boolean | isFinishing
()
|
| boolean | isImmersive
()
|
| boolean | isInMultiWindowMode
()
|
| boolean | isInPictureInPictureMode
()
|
| boolean | isLaunchedFromBubble
()
|
| boolean | isLocalVoiceInteractionSupported
()
|
| boolean | isTaskRoot
()
|
| boolean | isVoiceInteraction
()
|
| boolean | isVoiceInteractionRoot
()
|
| final Cursor | |
| boolean | moveTaskToBack
(boolean arg0)
|
| boolean | |
| boolean | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | onAttachedToWindow
()
|
| void | onBackPressed
()
|
| void | |
| void | |
| void | onContentChanged
()
|
| boolean | |
| void | |
| void | |
| void | |
| void | |
| CharSequence | onCreateDescription
()
|
| Dialog | onCreateDialog
(int arg0)
|
| Dialog | |
| void | |
| boolean | |
| boolean | |
| View | onCreatePanelView
(int arg0)
|
| boolean | |
| View | |
| View | |
| void | onDestroy
()
|
| void | onDetachedFromWindow
()
|
| void | onEnterAnimationComplete
()
|
| boolean | |
| void | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| void | onLocalVoiceInteractionStarted
()
|
| void | onLocalVoiceInteractionStopped
()
|
| void | onLowMemory
()
|
| boolean | |
| boolean | |
| void | onMultiWindowModeChanged
(boolean arg0)
|
| void | |
| boolean | onNavigateUp
()
|
| boolean | |
| void | |
| void | |
| boolean | |
| void | |
| void | |
| void | onPause
()
|
| void | onPerformDirectAction
( String
arg0, Bundle
arg1, CancellationSignal
arg2, Consumer
< Bundle
>
arg3)
|
| void | |
| void | onPictureInPictureModeChanged
(boolean arg0)
|
| boolean | onPictureInPictureRequested
()
|
| void | onPictureInPictureUiStateChanged
(PictureInPictureUiState
arg0)
|
| void | |
| void | |
| void | onPostResume
()
|
| void | |
| void | |
| void | |
| boolean | |
| boolean | |
| void | |
| void | |
| void | |
| Uri | onProvideReferrer
()
|
| void | |
| void | |
| void | onRestart
()
|
| void | |
| void | |
| void | onResume
()
|
| Object | onRetainNonConfigurationInstance
()
|
| void | |
| void | |
| boolean | |
| boolean | onSearchRequested
()
|
| void | onStart
()
|
| void | onStateNotSaved
()
|
| void | onStop
()
|
| void | |
| void | onTopResumedActivityChanged
(boolean arg0)
|
| boolean | |
| boolean | |
| void | onTrimMemory
(int arg0)
|
| void | onUserInteraction
()
|
| void | onUserLeaveHint
()
|
| void | onVisibleBehindCanceled
()
|
| void | |
| void | onWindowFocusChanged
(boolean arg0)
|
| ActionMode | |
| ActionMode | |
| void | |
| void | openOptionsMenu
()
|
| void | overrideActivityTransition
(int arg0, int arg1,
int arg2, int arg3)
|
| void | overrideActivityTransition
(int arg0, int arg1,
int arg2)
|
| void | overridePendingTransition
(int arg0, int arg1)
|
| void | overridePendingTransition
(int arg0, int arg1,
int arg2)
|
| void | postponeEnterTransition
()
|
| void | recreate
()
|
| void | |
| void | |
| void | |
| void | |
| boolean | releaseInstance
()
|
| final void | removeDialog
(int arg0)
|
| void | reportFullyDrawn
()
|
| DragAndDropPermissions | |
| void | |
| final void | |
| final void | |
| final void | requestShowKeyboardShortcuts
()
|
| boolean | requestVisibleBehind
(boolean arg0)
|
| final boolean | requestWindowFeature
(int arg0)
|
| final <T extends View > T | requireViewById
(int arg0)
|
| final void | |
| void | |
| void | setAllowCrossUidActivitySwitchFromBelow
(boolean
arg0)
|
| void | |
| void | |
| void | |
| void | setContentView
(int arg0)
|
| final void | setDefaultKeyMode
(int arg0)
|
| void | |
| void | |
| final void | |
| final void | setFeatureDrawableAlpha
(int arg0, int arg1)
|
| final void | setFeatureDrawableResource
(int arg0, int arg1)
|
| final void | |
| void | setFinishOnTouchOutside
(boolean arg0)
|
| void | setImmersive
(boolean arg0)
|
| void | setInheritShowWhenLocked
(boolean arg0)
|
| void | |
| void | |
| void | |
| final void | |
| void | |
| final void | setProgress
(int arg0)
|
| final void | setProgressBarIndeterminate
(boolean arg0)
|
| final void | setProgressBarIndeterminateVisibility
(boolean
arg0)
|
| final void | setProgressBarVisibility
(boolean arg0)
|
| void | setRecentsScreenshotEnabled
(boolean arg0)
|
| void | setRequestedOrientation
(int arg0)
|
| final void | |
| final void | setResult
(int arg0)
|
| final void | setSecondaryProgress
(int arg0)
|
| void | setShouldDockBigOverlays
(boolean arg0)
|
| void | setShowWhenLocked
(boolean arg0)
|
| void | |
| void | setTheme
(int arg0)
|
| void | |
| void | setTitle
(int arg0)
|
| void | setTitleColor
(int arg0)
|
| boolean | setTranslucent
(boolean arg0)
|
| void | setTurnScreenOn
(boolean arg0)
|
| void | setVisible
(boolean arg0)
|
| final void | setVolumeControlStream
(int arg0)
|
| void | |
| boolean | shouldDockBigOverlays
()
|
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| final boolean | |
| final void | showDialog
(int arg0)
|
| void | showLockTaskEscapeMessage
()
|
| ActionMode | |
| ActionMode | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| boolean | |
| boolean | |
| void | |
| void | |
| void | startIntentSenderForResult
( IntentSender
arg0, int arg1, Intent
arg2, int arg3, int arg4, int arg5)
|
| void | startIntentSenderForResult
( IntentSender
arg0, int arg1, Intent
arg2, int arg3, int arg4, int arg5, Bundle
arg6)
|
| void | startIntentSenderFromChild
( Activity
arg0, IntentSender
arg1, int arg2, Intent
arg3, int arg4, int arg5, int arg6, Bundle
arg7)
|
| void | startIntentSenderFromChild
( Activity
arg0, IntentSender
arg1, int arg2, Intent
arg3, int arg4, int arg5, int arg6)
|
| void | |
| void | startLockTask
()
|
| void | |
| boolean | |
| boolean | |
| void | startPostponedEnterTransition
()
|
| void | |
| void | stopLocalVoiceInteraction
()
|
| void | stopLockTask
()
|
| void | |
| void | takeKeyEvents
(boolean arg0)
|
| void | |
| void | |
| void | |
| void | |
| void | unregisterScreenCaptureCallback
(Activity.ScreenCaptureCallback
arg0)
|
| void | |
| void | |
| AssetManager | getAssets
()
|
| Resources | getResources
()
|
| Object | |
| Resources.Theme | getTheme
()
|
| void | |
| void | |
| void | setTheme
(int arg0)
|
| void | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | bindServiceAsUser
( Intent
arg0, ServiceConnection
arg1, Context.BindServiceFlags arg2, UserHandle
arg3)
|
| int | |
| int | |
| int[] | |
| int | |
| int | |
| int[] | |
| int | |
| int | |
| int | |
| int | |
| int | |
| int[] | |
| void | clearWallpaper
()
|
| Context | |
| Context | |
| Context | createContext
(ContextParams arg0)
|
| Context | |
| Context | createDeviceContext
(int arg0)
|
| Context | createDeviceProtectedStorageContext
()
|
| Context | |
| Context | |
| Context | |
| Context | |
| String[] | databaseList
()
|
| boolean | |
| boolean | |
| boolean | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| String[] | fileList
()
|
| Context | getApplicationContext
()
|
| ApplicationInfo | getApplicationInfo
()
|
| AssetManager | getAssets
()
|
| AttributionSource | getAttributionSource
()
|
| String | getAttributionTag
()
|
| Context | getBaseContext
()
|
| File | getCacheDir
()
|
| ClassLoader | getClassLoader
()
|
| File | getCodeCacheDir
()
|
| ContentResolver | getContentResolver
()
|
| File | getDataDir
()
|
| File | |
| int | getDeviceId
()
|
| File | |
| Display | getDisplay
()
|
| File | getExternalCacheDir
()
|
| File[] | getExternalCacheDirs
()
|
| File | |
| File[] | |
| File[] | getExternalMediaDirs
()
|
| File | |
| File | getFilesDir
()
|
| Executor | getMainExecutor
()
|
| Looper | getMainLooper
()
|
| File | getNoBackupFilesDir
()
|
| File | getObbDir
()
|
| File[] | getObbDirs
()
|
| String | getOpPackageName
()
|
| String | getPackageCodePath
()
|
| PackageManager | getPackageManager
()
|
| String | getPackageName
()
|
| String | getPackageResourcePath
()
|
| ContextParams | getParams
()
|
| Resources | getResources
()
|
| SharedPreferences | |
| Object | |
| String | |
| Resources.Theme | getTheme
()
|
| Drawable | getWallpaper
()
|
| int | getWallpaperDesiredMinimumHeight
()
|
| int | getWallpaperDesiredMinimumWidth
()
|
| void | |
| boolean | isDeviceProtectedStorage
()
|
| boolean | isRestricted
()
|
| boolean | isUiContext
()
|
| boolean | |
| boolean | |
| FileInputStream | |
| FileOutputStream | |
| SQLiteDatabase | openOrCreateDatabase
( String
arg0,
int arg1, SQLiteDatabase.CursorFactory
arg2, DatabaseErrorHandler
arg3)
|
| SQLiteDatabase | |
| Drawable | peekWallpaper
()
|
| void | |
| void | |
| Intent | |
| Intent | |
| Intent | |
| Intent | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | sendOrderedBroadcastAsUser
( Intent
arg0, UserHandle
arg1, String
arg2, BroadcastReceiver
arg3, Handler
arg4, int arg5, String
arg6, Bundle
arg7)
|
| void | |
| void | |
| void | |
| void | sendStickyOrderedBroadcast
( Intent
arg0, BroadcastReceiver
arg1, Handler
arg2, int arg3, String
arg4, Bundle
arg5)
|
| void | sendStickyOrderedBroadcastAsUser
( Intent
arg0, UserHandle
arg1, BroadcastReceiver
arg2, Handler
arg3, int arg4, String
arg5, Bundle
arg6)
|
| void | setTheme
(int arg0)
|
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| ComponentName | |
| boolean | |
| void | |
| void | |
| ComponentName | |
| boolean | |
| void | |
| void | |
| void | |
| void | |
| void |
| boolean | |
| boolean | bindIsolatedService
( Intent
arg0, Context.BindServiceFlags arg1, String
arg2, Executor
arg3, ServiceConnection
arg4)
|
| boolean | |
| boolean | |
| abstract boolean | |
| boolean | |
| boolean | |
| boolean | bindServiceAsUser
( Intent
arg0, ServiceConnection
arg1, Context.BindServiceFlags arg2, UserHandle
arg3)
|
| abstract int | |
| abstract int | |
| int[] | |
| abstract int | |
| abstract int | |
| int[] | |
| int | |
| abstract int | |
| abstract int | |
| abstract int | |
| abstract int | |
| int[] | |
| abstract void | clearWallpaper
()
|
| Context | |
| abstract Context | |
| Context | createContext
(ContextParams arg0)
|
| abstract Context | |
| Context | createDeviceContext
(int arg0)
|
| abstract Context | createDeviceProtectedStorageContext
()
|
| abstract Context | |
| abstract Context | |
| Context | |
| Context | |
| abstract String[] | databaseList
()
|
| abstract boolean | |
| abstract boolean | |
| abstract boolean | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract String[] | fileList
()
|
| abstract Context | getApplicationContext
()
|
| abstract ApplicationInfo | getApplicationInfo
()
|
| abstract AssetManager | getAssets
()
|
| AttributionSource | getAttributionSource
()
|
| String | getAttributionTag
()
|
| abstract File | getCacheDir
()
|
| abstract ClassLoader | getClassLoader
()
|
| abstract File | getCodeCacheDir
()
|
| final int | getColor
(int arg0)
|
| final ColorStateList | getColorStateList
(int arg0)
|
| abstract ContentResolver | getContentResolver
()
|
| abstract File | getDataDir
()
|
| abstract File | |
| int | getDeviceId
()
|
| abstract File | |
| Display | getDisplay
()
|
| final Drawable | getDrawable
(int arg0)
|
| abstract File | getExternalCacheDir
()
|
| abstract File[] | getExternalCacheDirs
()
|
| abstract File | |
| abstract File[] | |
| abstract File[] | getExternalMediaDirs
()
|
| abstract File | |
| abstract File | getFilesDir
()
|
| Executor | getMainExecutor
()
|
| abstract Looper | getMainLooper
()
|
| abstract File | getNoBackupFilesDir
()
|
| abstract File | getObbDir
()
|
| abstract File[] | getObbDirs
()
|
| String | getOpPackageName
()
|
| abstract String | getPackageCodePath
()
|
| abstract PackageManager | getPackageManager
()
|
| abstract String | getPackageName
()
|
| abstract String | getPackageResourcePath
()
|
| ContextParams | getParams
()
|
| abstract Resources | getResources
()
|
| abstract SharedPreferences | |
| final String | |
| final String | getString
(int arg0)
|
| final <T> T | |
| abstract Object | |
| abstract String | |
| final CharSequence | getText
(int arg0)
|
| abstract Resources.Theme | getTheme
()
|
| abstract Drawable | getWallpaper
()
|
| abstract int | getWallpaperDesiredMinimumHeight
()
|
| abstract int | getWallpaperDesiredMinimumWidth
()
|
| abstract void | |
| abstract boolean | isDeviceProtectedStorage
()
|
| boolean | isRestricted
()
|
| boolean | isUiContext
()
|
| abstract boolean | |
| abstract boolean | |
| final TypedArray | |
| final TypedArray | |
| final TypedArray | obtainStyledAttributes
(int arg0, int[] arg1)
|
| final TypedArray | obtainStyledAttributes
(int[] arg0)
|
| abstract FileInputStream | |
| abstract FileOutputStream | |
| abstract SQLiteDatabase | openOrCreateDatabase
( String
arg0,
int arg1, SQLiteDatabase.CursorFactory
arg2, DatabaseErrorHandler
arg3)
|
| abstract SQLiteDatabase | |
| abstract Drawable | peekWallpaper
()
|
| void | |
| void | |
| abstract Intent | |
| abstract Intent | |
| abstract Intent | |
| abstract Intent | |
| abstract void | |
| abstract void | |
| void | |
| void | |
| abstract void | |
| abstract void | |
| void | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract void | |
| void | |
| void | |
| abstract void | |
| void | |
| void | |
| abstract void | |
| abstract void | sendOrderedBroadcastAsUser
( Intent
arg0, UserHandle
arg1, String
arg2, BroadcastReceiver
arg3, Handler
arg4, int arg5, String
arg6, Bundle
arg7)
|
| abstract void | |
| void | |
| abstract void | |
| abstract void | sendStickyOrderedBroadcast
( Intent
arg0, BroadcastReceiver
arg1, Handler
arg2, int arg3, String
arg4, Bundle
arg5)
|
| abstract void | sendStickyOrderedBroadcastAsUser
( Intent
arg0, UserHandle
arg1, BroadcastReceiver
arg2, Handler
arg3, int arg4, String
arg5, Bundle
arg6)
|
| abstract void | setTheme
(int arg0)
|
| abstract void | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract ComponentName | |
| abstract boolean | |
| abstract void | |
| abstract void | |
| abstract ComponentName | |
| abstract boolean | |
| abstract void | |
| void | |
| void | |
| abstract void | |
| void |
| abstract boolean | |
| abstract boolean | |
| abstract boolean | |
| abstract boolean | |
| abstract boolean | |
| abstract boolean | |
| abstract void | |
| abstract void | |
| abstract void | onAttachedToWindow
()
|
| abstract void | onContentChanged
()
|
| abstract boolean | |
| abstract View | onCreatePanelView
(int arg0)
|
| abstract void | onDetachedFromWindow
()
|
| abstract boolean | |
| abstract boolean | |
| abstract void | |
| void | onPointerCaptureChanged
(boolean arg0)
|
| abstract boolean | |
| void | |
| abstract boolean | onSearchRequested
()
|
| abstract boolean | |
| abstract void | |
| abstract void | onWindowFocusChanged
(boolean arg0)
|
| abstract ActionMode | |
| abstract ActionMode |
| abstract void | |
|---|---|
| abstract void | onLowMemory
()
|
Public Constructors
public PreviewActivity ()
Public Methods
public void onCreate ( Bundle savedInstanceState)
Prepares for previewing a non-published container and then launches the launch activity for this package.

