android - Is there any way to store images so user can't see them or delete them? -


i looking way store images in android device either user cant see or open them or unable delete them. main idea behind have use image chat background in chat application. whatsapp has similar functionality first background image saved in other folder, if delete image image comes. don't know how whatsapp handles. idea appreciated. thanks

three possible solutions.

  • you can save images , data in sharedpreferences

  • in sqlite database.

  • you can encrypt data , store anywhere , decrypt while loading image app.

keep in mind user can access data saved first 2 methods root permission.

edit: if want keep simple, create folder named systemfiles , save image name "file" without jpg/bmp/png etc. no body gonna notice.


Comments