I need to write some util class by myself and I need the packagename of android app. While I found the packageManager which only can be used in Activity and so on that has c
The following constant is available without the need for a context.
BuildConfig.APPLICATION_ID