Auto-Rotations, Logging, Start Data Persistence




CS185c

Chris Pollett

Sep. 22, 2010

Outline

We'll cover these first for iPhone then in the second half of the lecture talk about Android.

Auto-Rotations

Specifying Rotation Support

Making Auto-Rotated Things Look Right

Screenshots of an Awkward-for-Landscape Portrait Layout, before and After Tweaking

Hard Portrait Layout Hard Portrait Layout in Landscape mode
Hard Portrait Layout in Landscape mode after Adjustments

Finer Grain Control

Finer Grain Control

Some Comments on Using Two Views

Logging

Starting Data Persistence

Handling Rotations in Android

Handling Rotations in Android - cont'd

Logging

Logging Example

Storing and Retrieving Data

Using Preferences

More on Using Preferences