docs: public static void retrieveCloudmadeKey(final Context aContext) {
  
  		mAndroidId = Settings.Secure.getString(aContext.getContentResolver(), Settings.Secure.ANDROID_ID);
  
  		// get the key from the manifest
  		mKey = ManifestUtil.retrieveKey(aContext, CLOUDMADE_KEY);
  
  		// if the id hasn't changed then set the token to the previous token
  		final SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(aContext);
  		mPreferenceEditor = pref.edit();
  		final String id = pref.getString(CLOUDMADE_ID, "");
  		if (id.equals(mAndroidId)) {
  			mToken = pref.getString(CLOUDMADE_TOKEN, "");
  			// if we've got a token we don't need the editor any more
  			if (mToken.length() > 0) {
  				mPreferenceEditor = null;
  			}
  		} else {
  			mPreferenceEditor.putString(CLOUDMADE_ID, mAndroidId);
  			mPreferenceEditor.commit();
  		}
  
  	}