Can I get a value from LibGDX preferences like this:
Preferences preferences = Gdx.app.getPreferences("someName");
int value = preferences.getInteger("intValue");
And then in the same project, in a different activity, do this:
SharedPreferences preferences = getSharedPreferences("someName",Context.MODE_PRIVATE);
int value = preferences.getInt("intValue",0);
So assuming there is a value already stored, would both methods retrieve the same value?