Demonstration code of how to check for certain features on a device and store those results in Preferences. Skeleton code that can be inserted into a project.