how I can make my app work when there is no internet using the phone cache memory. Also how to save the photos taken with my app in the phone gallery?