-1

In my project i have an imageview to set profile picture either from camera or gallery, but my problem was when am set images it will be showed in imageview but while close and open my application means it will be removed how to set images permanently... Thanks in Advance..

1 Answers1

0

You may use SharedPrefrences to store values permanently.Check out this link

http://developer.android.com/training/basics/data-storage/shared-preferences.html

incr3dible noob
  • 441
  • 2
  • 14
  • thanks for replying, i am know about sharedpreferences but i have some doubt about where to use in my program – Ranjith Kumar Dec 04 '14 at 11:22
  • May be this link can help you solve it. http://stackoverflow.com/questions/18072448/how-to-save-image-in-shared-preference-in-android-shared-preference-issue-in-a – incr3dible noob Dec 04 '14 at 11:49