Using a smartphone in the sun