List of usage examples for android.content ContextWrapper getString
@NonNull public final String getString(@StringRes int resId)
From source file:org.deviceconnect.android.deviceplugin.irkit.IRKitManager.java
/** * ??.// www . ja v a 2 s. co m * * @param context ?????? */ public void init(final ContextWrapper context) { mAPIKey = context.getString(R.string.apikey); TelephonyManager tm = getTelephonyManager(context); mCountryCode = tm.getSimCountryIso().toUpperCase(Locale.ENGLISH); }