We have an old app with a set of functionality (services). We also have a new app that has started to implement some of the old app's functionality. Our goal is that when someone start to use the service in the new app, we want the old app to turn off these services.
My first thought was a very simple mechanism, like setting a flag (in SharedPreferences
) and somehow let the old app query this flag, and then shut down its services.
I've read about MODE_WORLD_READABLE
and SharedPreferences
, but that is no longer recommended. So does anyone have a good approach/solution for this?
PS! The apps are signed with different certificates, but both are developed by us.