How to access to com.android.internal.R.bool in application ?

android, android-wifi

Solution

You have got it almost right.

Resources.getSystem().getIdentifier("config_wifi_background_scan_support","bool", "android");

gives you the correct id.

Problem

I want to access to get this parameter `com.android.internal.R.bool.config_wifi_background_scan_support` but it gives error like `com.android.internal.R` can't be resolved ? I'm trying to use this way: `this.getResources().getSystem().getIdentifier("config_wifi_background_scan_support","id", "android")` but i get nothing. Anyone know how to get informations in `com.android.internal.R.bool` ?

Original source