jtferm/Starcraft-Tracker-Android — pull request #9 by mdocauer (2012-03-12 00:34:11+00:00)
Title: Pull this in

Writing this here as status and for future reference:

For the search we need to have in the ServerCommunicator a method to gather all the players from the server.

To store the user credentials across the application we can use SharedPreferences, and update the preferences at login time. However, there are some concerns as to how secure this really is (if for instance someone has root access on the phone); alternatives are to use shared preferences with some encryption, OAuth, or AbstractAccountAuthenticator.

Regardless, once we have access to the JSON data we can set up some listeners in the search activity to launch the appropriate activities to view the information, passing along the player info to that activity in an Intent (can either move the player object toString and rebuild on the other side, or just send the object).

Finally, there are various flags we can use within the activities to control the amount of activities that actually get launched (allows us to avoid memory concerns).

I can't think of anything else right now, but I should have time to do most of this stuff on Wednesday (Mar. 14th).