Direct detection of x-rays using detectors based on CCD technology is possible.
The CCD, directly exposed to the incoming x-ray photons, results in direct absorption (i.e., detection) of the photons.
While special CCDs are usually involved in such detectors, regular camera CCDs, as those found in modern mobile phones can also be used to detect radiation. Using software it is possible to compute the number of detection events (random pixels / white spots). Assuming the geometry of the radiation field is known (or can be approximated), the setup can be used for dosing the radiation detected.