public class ApiDemosApplication extends android.app.Application
This is an example of a {@link android.app.Application} class. Ordinarily you would use
a class like this as a central repository for information that might be shared between multiple
activities.
In this case, we have not defined any specific work for this Application.
See samples/ApiDemos/tests/src/com.example.android.apis/ApiDemosApplicationTests for an example
of how to perform unit tests on an Application object.
Fields Summary
Constructors Summary
Methods Summary
public void
onCreate()
/*
* This populates the default values from the preferences XML file. See
* {@link DefaultValues} for more details.
*/
PreferenceManager.setDefaultValues(this, R.xml.default_values, false);