How to get/set the preference value?

■ Summary

If you want to save/load the small data, the preference is the good way.
For using the preference, developer should declare the preference at the config.xml.