Question: how does a camera phone focus?
Answer: A convex lens is used in the camera to focus incoming light onto a CMOS sensor. The sensor will then digitise the light and will turn it into a JPEG photo that's then saved on your smartphone. ... The lens focuses incoming light onto the sensor in the camera.