title: how to remove shared preference while application uninstall in android
body: <p>I have an android application to save the login details such as user name and password via <code>SharedPreferences</code> thats works fine, but i need to remove all my used <code>SharedPreferences</code> while my application uninstall. How to do it?</p>
  
  <pre><code>SavePreferences("one ", "");
  SavePreferences("two", "");
  LoadPreferences();
  
   private void SavePreferences(String key, String value){
      sharedPreferences = getSharedPreferences("TEST", MODE_PRIVATE);
      SharedPreferences.Editor editor = sharedPreferences.edit();
      editor.putString(key, value);
      editor.commit();
     }
  
   private void LoadPreferences(){
      sharedPreferences = getSharedPreferences("TEST", MODE_PRIVATE);
      String strSavedMem1 = sharedPreferences.getString("MEM1", "");
      String strSavedMem2 = sharedPreferences.getString("MEM2", "");   
     } 
  </code></pre>
  
  <p>I want to remove this <code>SharedPreferences</code> when my application uninstall.</p>