Monday, 5 December 2011
Sunday, 27 November 2011
6. How to use SharedPreferences in Android?
Hint: study the use of mGameSettings (an instance of SharedPreferences) in QuizSettingsActivity class and QuizGameActivity class.
5. How to use the DatePickerDialog
Hint: study onCreateDialog method in the QuizSettingsActivity class.
4. How to parse an XML Document in an Android app?
Hint: study processScores method in QuizScoresActivity class. Or loadQuestionBatch method in the QuizGameActivity class.
3. How to read the text from a raw text file in an Android app?
Hint: have a look at QuizHelpActivity class, inputStreamToString method.
2. How to display on-line pictures in an Android app?
You can provide the pseudocode or the Java code to describe the implementation of this function.
Hint: Have a look at QuizGameActivity, the "getQuestionImageDrawable(int questionNumber)" method.
Hint: Have a look at QuizGameActivity, the "getQuestionImageDrawable(int questionNumber)" method.
1. The overall activity structure of the "Been there, done that" android app
Can each member of the class please post a short sentence to describe the functions of each activity?
Subscribe to:
Posts (Atom)
