Edit: This should have been under the Android 4 forum. Sorry. I would delete it, but since I can' tell the difference between 2 and 4 is probably the reason I can't see the delete thread as well.
Hello, I'm trying to run this with 4.1.2 and Eclipse tells me this code:
Code:
@SuppressWarnings("deprecation")
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.userpreferences);
}
that addPreferencesFromResource is deprecated. The method doesn't really do anything but that call. What should be done instead?