Do the
Try It Out Exercise on Showing and Hiding the Action Bar found on pp. 137-139
of Beginning Android 4 Application Development (W.M. Lee).
Do the Try It Out Exercise Adding Action Items to the Action Bar found on pp. 139-144
of Beginning Android 4 Application Development (W.M. Lee).
Paste screen captures of the code and the resulting screens into a Word document.
Due: Mar. 25
Tuesday:
Logon App shows a key event listener (it knows when the user
clicked Enter) and the "triggering/raising" a click event
Remember App adds a SharedPrefernce (cookie-like)
functionality to the above Logon App so that the user is remembered after he/she first logs on --
the app has to be uninstalled to go back to not remembering the user.
HTTPClient App the phone app stands
in for a web form that is handled by some PHP code. Note that this app has a change
in the Manifest related to giving the app permission to access the Internet.
(Don't forget the permission to access the Internet in the
Androidmanifest file and don't forget the "thread" code that precedes
instantiating the "WebPost" object.
)
Lab Color Selector with Shared Preference Add a button to your Color Selector App (the one that
uses the SeekBars). It allows the user to remember the R, G and B values and to start with at that
color -- provided the app has not been uninstalled, then reinstalled. Paste a screen capture of the
reulsting screen and the new code into a Word document.
Lab: Book HttpClient Use the HTTPClient code from Tuesday to write an Android app
that mimics the page that searches for books using the Google Books API (shown in today's presentation).
It returns JSON. Parse that JSON and then use either a ListView or a Spinner to display the titles
of books resulting from the search.