Stay organized with collections
Save and categorize content based on your preferences.
public class
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)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["`PreviewActivity` is used to preview an app with a non-published container version."],["To enable the preview function, add a specific snippet to your AndroidManifest.xml, replacing `\u003cpackage_name\u003e` with your app's package name."],["`PreviewActivity` prepares the preview environment and then launches the main activity of your application."],["It inherits constants from `android.app.Activity`, `android.content.Context`, and `android.content.ComponentCallbacks2`."]]],[]]