public void | setConfiguration(int mcc, int mnc, java.lang.String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int version)Change the configuration used when retrieving resources. Not for use by applications.
Configuration c = new Configuration();
c.mcc = mcc;
c.mnc = mnc;
c.locale = new Locale(locale);
c.touchscreen = touchscreen;
c.keyboard = keyboard;
c.keyboardHidden = keyboardHidden;
c.navigation = navigation;
c.orientation = orientation;
|