A smartphone is being used to measure the temperature of a hot metal object.