O'Reilly logo

Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps by Mark Sherman, Derek Walter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Part 1: Designing Current Location Readout

The top half of the Pushpin app is simply a readout of the current location, as reported by the Location Sensor. It has fields to display most of the data that the Location Sensor provides. The colored boxes are special labels that start off pink and turn blue when a GPS lock is made. We will create this feature in the blocks that follow.

The Current Location section of the app is one large Table Arrangement component (found in the Layout palette). This Table Arrangement has three columns and seven rows. The first column is labels that don’t change—Latitude:, Longitude:, and so on. The third column contains labels that will change to show the current location data. Between them, the second column is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required