I need to configure "the Setting" through IActivityManager. But after adding
" import android.app.ActivityManagerNative; and import
android.app.IActivityManager" in eclipse, errors still exist that
"
ActivityManagerNative cannot be resolved
BackupManager cannot be resolved
IActivityManager cannot be resolved to a type
The import android.app.ActivityManagerNative cannot be resolved
The import android.app.IActivityManager cannot be resolved
"
when I check android.jar , don't find android.app.ActivityManageNative.class
and android.app.IActivityManager.
how to use them?
/** code **/
import android.app.ActivityManagerNative
import android.app.IActivityManager
Locale l = new Locale("zh", "CN");
IActivityManager am = ActivityManagerNative.getDefault();
Configuration config = am.getConfiguration();
config.locale = l;
config.userSetLocale = true;
am.updateConfiguration(config);
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en