public static void ExecuteLandscapeRecipe() { var landscapeRecipe = Repository.Instance.GetRecipe("Landscape"); if (landscapeRecipe != null && landscapeRecipe.IsAvailable && landscapeRecipe.IsEnabled) { LaunchHelper.LaunchApp(Constants.APP_TO_LAUNCH_ON_LANDSCAPE); } }
public static void ExecuteFavoriteAppRecipe() { var shakeRecipe = Repository.Instance.GetRecipe("Favorite App"); if (shakeRecipe != null && shakeRecipe.IsAvailable && shakeRecipe.IsEnabled) { LaunchHelper.LaunchApp(Constants.APP_TO_LAUNCH_ON_SHAKE); } }