title: In android how to create a shared preferences when the application is installed?
body: <p>Hi I'am new to android.<br>
  I want to create a shared preferences when the app is first installed and the insert some data.<br>
  The shared preference has to be used from all activities in the app.<br>
  I tried creating the shared preference in the onCreate() function of the first activity and inserted values into it.And edited the data from another activity.<br>
  But when I restart the app the shared preference changes to the data give in the 
  onCreate().<br>
  Can somebody help me? </p>