1. Add a preference to the application preferences called lastLaunch. Have the QuizSplashActivity read and save the current time each time the onCreate() method is called. When this preference is read, log it using the Log.i() method.

2. Create a set of activity-level preferences for QuizSettingsActivity, using the getPreferences() method instead of the getSharedPreferences() method.

This page intentionally left blank

Was this article helpful?

0 0

Post a comment