Correct, if you are storing data that needs to be shared between your suite of apps, then the custom content provider is the way to go.
If all you need is a global device identifier, please review this answer for a unique ID to use: Is there a unique Android device ID?