Taking and saving photos offline

Hi everyone,

I would like to create offline todo app where you could include photos to tasks.

Saving todo data is not a problem, but how you take photos and save those to device and then when checking the todo tasks, it can display the photos assigned to tasks?