Back to project page callerid-for-android.
The source code is released under:
GNU General Public License
If you think the Android project callerid-for-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.integralblue.callerid.inject; //from w w w. jav a 2 s. c om import android.app.Application; import com.google.inject.Inject; import com.google.inject.Provider; public class PreferencesNameProvider implements Provider<String> { private final String preferencesName; @Inject public PreferencesNameProvider(Application application) { this.preferencesName = application.getPackageName() + "_preferences"; } public String get() { return preferencesName; } }