Before an app can be registered, however, the developer signature (also referred to as the MD5 debug fingerprint) associated with your development environment must be obtained.
![wiser launcher kindle fire wiser launcher kindle fire](https://androidlover.net/wp-content/uploads/kindlefirehdlmt22-600x960.png)
Once added, it should be listed in the Java Build Path panel as illustrated in Figure 40-1:Īssuming the JAR file is now listed, click on OK to close the Properties dialog.īefore an application can make use of the Amazon Maps API, it must first be registered in the Amazon Mobile App Distribution portal.
![wiser launcher kindle fire wiser launcher kindle fire](https://i.ytimg.com/vi/gX5EfGczuks/maxresdefault.jpg)
Once selected, click on the Open button to add the JAR file to the project. At time of writing, this file is named amazonmaps-1.0.2.jar but may have been superseded since then by a newer version. In the JAR selection dialog, navigate to the following location (where is replaced by the location on your file system where the Amazon Mobile SDK was installed in the previous step): /Maps/libįrom within the libs directory, select the amazonmaps jar file. Within the Properties dialog, select the Java Build Path category from the left hand panel and, within the Java Build Path panel, click on the Add External JARS… button. To add map support to a project, locate it within the Eclipse Package Explorer panel, right click on the project name and select the Properties option from the resulting menu. The Maps SDK JAR file will need to be added to the build path of any application that requires map functionality. Overlay – A general-purpose overlay class provided primarily to allow transparent effects or content to be placed on top of the map.Īdding the Amazon Mobile SDK to an Eclipse Project.MyLocationOverlay – A special-purpose overlay designed specifically to display the current location of the device on the map view.Each item has associated with it a location on the map and an optional image to mark the location. OverlayItem – Used to represent each item in an ItemizedOverlay.An onTap() callback method may be implemented to pop up additional information about a location when tapped by the user. A single overlay can contain multiple items, each represented by an OverlayItem instance. For example, an overlay might be used to mark all the locations of the public libraries in a town. ItemizedOverlay – A class specifically designed to overlay information onto a map.This class includes capabilities such as setting both the center coordinates of the map and the current zoom level. MapController – Provides an interface for managing an existing map.MapView - Provides the canvas onto which the map is drawn.Any activity that needs to work with maps must be derived from this class.