public static void startLiveWallpaperPreviv
ew(Activity activity, String packageName, String classFullName) {
ComponentName componentName = new ComponentName(packageName, classFullName);
Intent intent;
if (android.os.Build.VERSION.SDK_INT < 16) {
intent = new Intent(WallpaperManager.ACTION_LIVE_WALLPAPER_CHOOSER);
} else {
intent = new Intent("android.service.wallpaper.CHANGE_LIVE_WALLPAPER");
intent.putExtra("android.service.wallpaper.extra.LIVE_WALLPAPER_COMPONENT", componentName);
}
activity.startActivityForResult(intent, Configs.REQUEST_SET_LIVE_WALLPAPER);
}