@Override
  public void onCreate(Bundle arguments) {
    super.onCreate(arguments);

    mIntent.setClassName(getTargetContext(), "DeskClock");
    start();
  }
Exemplo n.º 2
0
  @Override
  public void onCreate(Bundle arguments) {
    super.onCreate(arguments);

    mIntent.setClassName(getTargetContext(), TARGET_PREVIEW_CLASS);
    mIntent.putExtra(PreviewStubActivity.PACKAGE_NAME, TARGET_PACKAGE);
    mIntent.putExtra(PreviewStubActivity.CLASS_NAME, TARGET_WALLPAPER_CLASS);
    start();
  }