Heads up! This post was written 12 years ago. Some information might be outdated or may have changed since then.
SharedPreferences s = getApplicationContext().getSharedPreferences("com.bLABlABal", Context.MODE_PRIVATE);
s.edit().clear().commit();