4. Going for Your First Ride: Creating an Android User Interface
Life is like a riding a bicycle, you don’t fall off unless you stop pedaling.
—Claude Pepper
Now it’s time to begin coding the On Your Bike application. This Android app will act as a bicycle computer—a device, usually clipped on the handlebars, that helps you keep track of the length and time of your ride. By creating this application, you will learn more about how to code with the Android activity lifecycle, how to code a simple user interface, and how to specify user preferences.
Get Learning Android™ Application Programming: A Hands-On Guide to Building Android Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.