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

Exercise: Pushpin

The Pushpin app does two things. First, it provides a readout of current location data, including latitude, longitude, and address. You can use it just to figure out where you are. The second thing it does is remember a location. Wherever you are, you can touch the Pin button, and it will pin your current location (which just means that it saves it). You can view the current location or the pinned location in a map application. Figure 10.15 shows the finished app.

Image

Figure 10.15 The completed Pushpin app in use.

This app has a lot of components, but they’re not difficult. The GPS readout has numerous parts, all of which are ...

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