Knead the flour with sugar, butter, egg and salt to a smooth dough and wrap in foil and place in the refrigerator for 1/2 hour.
Filling:
Meanwhile, peel and quarter the apples and remove the core. Drizzle the quarters with the lemon juice.
Bring 400 ml milk with the cream and sugar to the boil. Mix the pudding powder with the rest of the milk and stir into the boiling cream milk. Skim off a few tablespoons of the hot pudding, stir in the egg yolks and then stir into the hot pudding.
Grease a 26 cm springform pan. Knead the dough again and roll it out so that the edges can be pulled up. Prick the bottom several times with a fork. Place the apple quarters next to each other and spread the pudding cream over them. Scatter the almond flakes evenly.
Bake in an oven preheated to 180 ° C for approx. 50-55 minutes.