PreviewActivity
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.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
From class
android.app.Activity
int |
DEFAULT_KEYS_DIALER |
|
int |
DEFAULT_KEYS_DISABLE |
|
int |
DEFAULT_KEYS_SEARCH_GLOBAL |
|
int |
DEFAULT_KEYS_SEARCH_LOCAL |
|
int |
DEFAULT_KEYS_SHORTCUT |
|
int |
RESULT_CANCELED |
|
int |
RESULT_FIRST_USER |
|
int |
RESULT_OK |
|
From class
android.content.Context
String |
ACCESSIBILITY_SERVICE |
|
String |
ACCOUNT_SERVICE |
|
String |
ACTIVITY_SERVICE |
|
String |
ALARM_SERVICE |
|
String |
AUDIO_SERVICE |
|
int |
BIND_ABOVE_CLIENT |
|
int |
BIND_ADJUST_WITH_ACTIVITY |
|
int |
BIND_ALLOW_OOM_MANAGEMENT |
|
int |
BIND_AUTO_CREATE |
|
int |
BIND_DEBUG_UNBIND |
|
int |
BIND_IMPORTANT |
|
int |
BIND_NOT_FOREGROUND |
|
int |
BIND_WAIVE_PRIORITY |
|
String |
BLUETOOTH_SERVICE |
|
String |
CLIPBOARD_SERVICE |
|
String |
CONNECTIVITY_SERVICE |
|
int |
CONTEXT_IGNORE_SECURITY |
|
int |
CONTEXT_INCLUDE_CODE |
|
int |
CONTEXT_RESTRICTED |
|
String |
DEVICE_POLICY_SERVICE |
|
String |
DISPLAY_SERVICE |
|
String |
DOWNLOAD_SERVICE |
|
String |
DROPBOX_SERVICE |
|
String |
INPUT_METHOD_SERVICE |
|
String |
INPUT_SERVICE |
|
String |
KEYGUARD_SERVICE |
|
String |
LAYOUT_INFLATER_SERVICE |
|
String |
LOCATION_SERVICE |
|
String |
MEDIA_ROUTER_SERVICE |
|
int |
MODE_APPEND |
|
int |
MODE_ENABLE_WRITE_AHEAD_LOGGING |
|
int |
MODE_MULTI_PROCESS |
|
int |
MODE_PRIVATE |
|
int |
MODE_WORLD_READABLE |
|
int |
MODE_WORLD_WRITEABLE |
|
String |
NFC_SERVICE |
|
String |
NOTIFICATION_SERVICE |
|
String |
NSD_SERVICE |
|
String |
POWER_SERVICE |
|
String |
SEARCH_SERVICE |
|
String |
SENSOR_SERVICE |
|
String |
STORAGE_SERVICE |
|
String |
TELEPHONY_SERVICE |
|
String |
TEXT_SERVICES_MANAGER_SERVICE |
|
String |
UI_MODE_SERVICE |
|
String |
USB_SERVICE |
|
String |
USER_SERVICE |
|
String |
VIBRATOR_SERVICE |
|
String |
WALLPAPER_SERVICE |
|
String |
WIFI_P2P_SERVICE |
|
String |
WIFI_SERVICE |
|
String |
WINDOW_SERVICE |
|
From interface
android.content.ComponentCallbacks2
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 |
|
Public Constructor Summary
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-09-17 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]