To use maps in our applications we need to extend MapActivity. The layout for the new class must then include a MapView to display a Google Maps interface element. The Android maps library is not a standard Android package; as an optional API, it must be explicitly included in the application manifest before it can be used. Add the library to our manifest using a uses-library tag within the application node, as shown in the following XML snippet [8]: