TAILIEUCHUNG - Lập trình Androi part 46

Một trong Google nổi tiếng nhất của dịch vụ, sau khi tìm kiếm, tất nhiên, là Google Maps, cho phép bạn tìm thấy mọi thứ từ các tiệm pizza gần nhất để hướng từ Thành phố New York đến San Francisco (chỉ dặm),! Cùng với cung cấp các quan điểm đường phố và vệ tinh hình ảnh. | Chapter Mapping with MapView and MapActivity One of Google s most popular services after search of course is Google Maps which lets you find everything from the nearest pizza parlor to directions from New York City to San Francisco only 2 905 miles along with supplying street views and satellite imagery. Most Android devices not surprisingly integrate Google Maps. For those that do there is a mapping activity available to users directly from the main Android launcher. More relevant to you as a developer are MapView and MapActivity which allow you to integrate maps into your own applications. Not only can you display maps control the zoom level and allow people to pan around but you can tie in Android s location-based services covered in Chapter 32 to show where the device is and where it is going. Fortunately integrating basic mapping features into your Android project is fairly easy. And there is also a fair bit of power available to you if you want to get fancy. Terms Not of Endearment Integrating Google Maps into your own application requires agreeing to a fairly lengthy set of legal terms. These terms include clauses that you may find unpalatable. If you are considering Google Maps please review these terms closely to determine if your intended use will not run afoul of any clauses. You are strongly recommended to seek professional legal counsel if there are any potential areas of conflict. Also keep your eyes peeled for other mapping options based on other sources of map data such as OpenStreetMap http . 301 Piling On As of Android Google Maps is not strictly part of the Android SDK. Instead it is part of the Google APIs add-on an extension of the stock SDK. The Android add-on system provides hooks for other subsystems that may be part of some devices but not others. NOTE Google Maps is not part of the Android open source project and undoubtedly there will be some devices that lack Google Maps due to licensing issues. For example at .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.