The smartphone is placed in a (tightly inflated) plastic bag. Through the pressure sensor, you can determine the changes in pressure when differen weights are placed on the bag.

This experiment was shown to us by Holger Jessen-Thiesen (Twitter), who also provided a worksheet, which is only available in German at the moment.