I am new to android development and i am looking for the best possible solution to my problem.
I am open for nearly everything. I am currently in "experimental phase" so i can turn the design upside-down if needed.
I am working on a series of apps (in the end about 5-10) which should be able to share global settings.
The apps will all communicating with a WebService and have to identify itself to use its functions. The identification includes a "device id". Every app should send the same ID while on the same device. I want to create the ID on the first start of one of the apps and then use it from any of those apps.
I searched a long time but didn't find a solution. In most of the questions i found here that are related to my problem the use of a ContentProvider is recommended. I think that is not possible in my situation since i do not have a central app that can provide the settings.
Here are some questions i already read through:
Android sharing data (state,value,config) between multiple apps & activities
I am unable to get Shared Preferences of other application
Copy/share configurations between paid/free versions of Android app?
Android Shared Internal Storage
Create and Share a File from Internal Storage
Saving public files in the internal storage
Since MODE_WORLD_READABLE and MODE_WORLD_WRITEABLE are deprecated the following is also not what i am looking for but very close: Sharing files/ installation directory between two apps
I've also read about ANDROID_ID but this seems not to be a good choice.
I was hoping one of you can lead me to a good solution.