欢迎来到毕设资料网! | 帮助中心 毕设资料交流与分享平台
毕设资料网
全部分类
  • 毕业设计>
  • 毕业论文>
  • 外文翻译>
  • 课程设计>
  • 实习报告>
  • 相关资料>
  • ImageVerifierCode 换一换
    首页 毕设资料网 > 资源分类 > DOC文档下载
    分享到微信 分享到微博 分享到QQ空间

    android毕业设计外文资料翻译--使用MapView和MapActivity显示地图

    • 资源ID:134890       资源大小:77KB        全文页数:16页
    • 资源格式: DOC        下载积分:100金币
    快捷下载 游客一键下载
    账号登录下载
    三方登录下载: QQ登录
    下载资源需要100金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

    android毕业设计外文资料翻译--使用MapView和MapActivity显示地图

    1、 中文 4128 字 毕业设计 (论文 )外文资料翻译 外文出处 Mark Murphy.Beginning Android 2 Chapter 33 1 Mapping with MapView and MapActivity One of Googles 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 Francisc

    2、o (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

    3、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 Androids location-based services (covered in Chapter 32) to show where the device is and where it is going. Fortuna

    4、tely, 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. Th

    5、ese 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 conf

    6、lict. Also, keep your eyes peeled for other mapping options, based on other sources of map data, such as OpenStreetMap (http:/www.openstreetmap.org/). Piling On As of Android l.5, Google Maps is not strictly part of the Android SDK. Instead, it is part of the Google APIs add-on, an extension of the

    7、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 the ti

    8、me of this writing, the Archos 5 Android tablet does 2 not have Google Maps. By and large, the fact that Google Maps is in an add-on does not affect your day-to-day development. However, bear in mind the following: You will need to create your project with a suitable target to ensure the Google Maps

    9、 APIs will be available. To test your Google Maps integration, you will also need an AVD that supports the Google Maps API. The Bare Bones Far and away the simplest way to get a map into your application is to create your own subclass of MapActivity. Like ListActivity, which wraps up some of the sma

    10、rts behind having an activity dominated by a ListView, MapActivity handles some of the nuances of setting up an activity dominated by a MapView. In your layout for the MapActivity subclass, you need to add an element named, at the time of this writing, com.google.android.maps.MapView. This is the lo

    11、nghand way to spell out the names of widget classes, by including the full package name along with the class name. This is necessary because MapView is not in the com.google.android.widget namespace. You can give the MapView widget whatever android:id attribute value you want, plus handle all the la

    12、yout details to have it render properly alongside your other widgets. However, you do need to have these two items: android:apiKey, which in production will need to be a Google Maps API key android:clickable=true, if you want users to be able to click and pan through your map For example, from the Maps/NooYawk sample application, here is the main layout: com.google.android.maps.MapView android:id=+id/map android:layout_width= fill_parent android:layout_height=fill_parent android:apiKey= android:clickable=true /


    注意事项

    本文(android毕业设计外文资料翻译--使用MapView和MapActivity显示地图)为本站会员(泛舟)主动上传,毕设资料网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请联系网站客服QQ:540560583,我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们
    本站所有资料均属于原创者所有,仅提供参考和学习交流之用,请勿用做其他用途,转载必究!如有侵犯您的权利请联系本站,一经查实我们会立即删除相关内容!
    copyright@ 2008-2025 毕设资料网所有
    联系QQ:540560583