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)

<activity android:name=""
          android:label="@string/app_name" >
        <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"/>

Inherited Constant Summary

Public Constructor Summary

Public Method Summary

onCreate(Bundle savedInstanceState)

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.