2012年8月23日

Android培训翻译_使用定位管理器

摘要: 本文是Android开发官网 Android培训的中文翻译,限于译者水平有限,便于大家指正,采用中英文对照风格更多已翻译内容请见 Android培训翻译_目录最近店里的事情比较多,又是一年交租期,还要忙去进货,手头上有10来篇草译没来得及核对,等过两天比较清闲了再审完一并发上来。一天没上已见目录有100多人阅读,感谢大家的关注,也希望自己能坚持下去。这节课教你Declare Proper Permissions in Android Manifest 在Android Manifest中声明适当的权限 Get a Reference to LocationManager 获得一个定... 阅读全文

posted @ 2012-08-23 23:21 梵谷星辰 阅读(1606) 评论(0) 推荐(0) 编辑

2012年8月21日

Android培训翻译_使你的程序感知位置

摘要: Dependencies and prerequisitesAndroid 1.0 or higher (2.3+ for the sample app)You should also readLocation and Maps 位置和地图 Try it out下载示例代码(LocationAware.zip)Users bring their mobile devices with them almost everywhere. One of the unique features available to mobile applications is location awareness. 阅读全文

posted @ 2012-08-21 17:04 梵谷星辰 阅读(228) 评论(0) 推荐(0) 编辑

Android培训翻译_允许其他应用程序启动你的Activity

摘要: This lesson teaches you toAdd an Intent Filter 添加一个意图过滤器 Handle the Intent in Your Activity 在你的Activity中处理Intent Return a Result 返回结果 You should also readSharing Content 共享内容 The previous two lessons focused on one side of the story: starting another app's activity from your app.... 阅读全文

posted @ 2012-08-21 16:49 梵谷星辰 阅读(1494) 评论(0) 推荐(0) 编辑

Android培训翻译_从Activity获得结果

摘要: This lesson teaches you toStart the Activity 启动ActivityReceive the Result 接收结果You should also readSharing Content 共享内容Starting another activity doesn't have to be one-way. You can also start another activity and receive a result back. To receive a result, call startActivityForResult() (instead o 阅读全文

posted @ 2012-08-21 16:27 梵谷星辰 阅读(378) 评论(0) 推荐(0) 编辑

Android培训翻译_将用户发送到其它程序

摘要: This lesson teaches you toBuild an Implicit Intent 构建隐式意图 Verify There is an App to Receive the Intent 验证是否有个可以接收Intent的应用程序 Start an Activity with the Intent 使用Intent启动Activity Show an App Chooser 显示一个应用程序选择器 You should also readSharing Content 共享内容 One of Android's most imp... 阅读全文

posted @ 2012-08-21 16:02 梵谷星辰 阅读(320) 评论(0) 推荐(0) 编辑

Android培训翻译_与其它应用程序交互

摘要: 本文是Android官方文档的翻译,采用中英文对照风格,原文参见http://developer.android.com/intl/zh-CN/training/basics/intents/index.htmlDependencies and prerequisitesBasic understanding of the Activity lifecycle (see Managing the Activity Lifecycle) 对Activity生命周期的基本认识(见 管理Activity生命周期) You should also readSharing Content 共... 阅读全文

posted @ 2012-08-21 15:20 梵谷星辰 阅读(287) 评论(0) 推荐(0) 编辑

Android培训翻译_与其它Fragment通信

摘要: This lesson teaches you toDefine an Interface 定义一个接口 Implement the Interface 实现该接口 Deliver a Message to a Fragment 将信息传递给Fragment You should also readFragments Try it out下载示例代码(FragmentBasics.zip)In order to reuse the Fragment UI components, you should build each as a completely self-con... 阅读全文

posted @ 2012-08-21 15:04 梵谷星辰 阅读(2203) 评论(1) 推荐(0) 编辑

Android培训翻译_构建灵活的UI

摘要: This lesson teaches you to 这一课教你Add a Fragment to an Activity at Runtime 在运行时添加FragmentReplace One Fragment with Another 更换FragmentYou should also readFragmentsSupporting Tablets and Handsets 支持平板和手持设备Try it out下载示例代码(FragmentBasics.zip)When designing your application to support a wide range of scre 阅读全文

posted @ 2012-08-21 14:46 梵谷星辰 阅读(766) 评论(0) 推荐(0) 编辑

Android培训翻译_创建Fragment

摘要: This lesson teaches you to 这节课教你Create a Fragment Class 创建一个Fragment类 Add a Fragment to an Activity using XML 使用XML在一个Activity中添加Fragment You should also read 你也应该看看Fragments Try it out 尝试下载示例 (FragmentBasics.zip)You can think of a fragment as a modular section of an activity, wh... 阅读全文

posted @ 2012-08-21 14:32 梵谷星辰 阅读(971) 评论(0) 推荐(0) 编辑

Android培训翻译_使用Android支持库

摘要: 本文是Android开发官网 Android培训的中文翻译,限于译者水平有限,便于大家指正,采用中英文对照风格更多已翻译内容请见 Android培训翻译_目录This lesson teaches you to 这节课教你:Set Up Your Project With the Support Library 在你的项目中安装支持库Import the Support Library APIs 导入支持库APIYou should also read 你该看看Support Library支持库The Android Support Library provides a JAR file w 阅读全文

posted @ 2012-08-21 14:10 梵谷星辰 阅读(750) 评论(0) 推荐(0) 编辑

导航