[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003e\u003ccode\u003ePreviewActivity\u003c/code\u003e is used to preview an app with a non-published container version.\u003c/p\u003e\n"],["\u003cp\u003eTo enable the preview function, add a specific snippet to your AndroidManifest.xml, replacing \u003ccode\u003e<package_name>\u003c/code\u003e with your app's package name.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePreviewActivity\u003c/code\u003e prepares the preview environment and then launches the main activity of your application.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits constants from \u003ccode\u003eandroid.app.Activity\u003c/code\u003e, \u003ccode\u003eandroid.content.Context\u003c/code\u003e, and \u003ccode\u003eandroid.content.ComponentCallbacks2\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `PreviewActivity` class allows app preview with a container version. To enable this, the app's `AndroidManifest.xml` must include an activity declaration for `PreviewActivity`, specifying the custom scheme `tagmanager.c.\u003cpackage_name\u003e` in its intent filter. This activity uses `onCreate` to prepare for previewing an unpublished container, subsequently launching the app's main activity. It includes constants inherited from `android.app.Activity`, `android.content.Context` and `android.content.ComponentCallbacks2`, alongside public constructor and method.\n"],null,[]]