The smartphone is mounted on an air track and accelerated by a weight on a string. An array of magnets is used, so the linear acceleration can be explored by measuring the magnetic field.
This experiment has been developed by Simon Goertz as a part of his thesis (in German) on smartphone experiments for linear acceleration. Another experiment from his thesis uses the same method to explore linear acceleration during free fall.