Exercises

1. Modify the Scores of Friends tab of the scores screen to display each friend's avatar as well as each score. (Hint: The URL for each friend's avatar is included in the XML score data downloaded from the application server.)

2. Modify the scores screen to add another tab, showing the scores of players who have added this player as a friend (in other words, players who are watching this player's score). The application server has the appropriate query implemented. Use the same URL but add the variable followers and set it to the string true (for example,

"http://tqs.mamlambo.com/scores.jsp?playerId=##&followers=true").

3. Review the development API documentation of the third-party social networking service of your choice. Consider implementing a simple feature for the Been There, Done That! application which accesses that networking service in an interesting way. For example, you might post a tweet to the player's Twitter feed each time that player answers a quiz question in the affirmative (for example, "Player X has climbed Mount Everest!").

4. Add a feature to send a text message to the user's friend to challenge him or her to beat the user's score.

Insane Twitter Profits

Insane Twitter Profits

If you're lazy, tired, or just overworked without seeing any profits, the details revealed below will shock you. Clueless Formerly Homeless Guy Turns Twitter Into His Personal Profit Machine And Puts The Experts to Shame With His Quick-and-Easy Simple Twitter Profit System.

Get My Free Ebook


Post a comment