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.

Was this article helpful?

0 0
The Tweet Success Guide

The Tweet Success Guide

Increase Your Sales by Understanding How to Effectively Market on Twitter. Social Network Sites Such as Twitter are One of the Major Marketing Venues for Successful Promotion of Your Business, Products andor Services, but Effective Strategy is Crucial to Achieve Your Objectives.

Get My Free Ebook


Post a comment