想买几本android的书,参考了很久都说所有的书都没直接看官网文档来的快,想做个笔记,顺便看下渣的英语到底有多渣 。上班了也没时间去系统的学习进阶了,当成一种坚持吧。

Introduction to Android

    Android provides a rich application framework that allows you to build innovative apps and games for mobile devices in a Java language environment. The documents listed in the left navigation provide details about how to build apps using Android's various APIs.If you're new to Android development, it's important that you understand the following fundamental concepts about the Android app framework:


    Android提供了丰富的应用框架允许你去创造app和game在java运行环境的手机上,这个文档清单在左边导航栏提供了详细的关于如何用各个Api去组建一个app。如果你刚开始一个新android产品,能提高你对android app 应用框架的根本概念的理解。


Apps provide multiple entry points

Android apps are built as a combination of distinct components that can be invokedindividually. For instance, an individualactivityprovides a singlescreen for a user interface, and aserviceindependently performswork in the background.

From one component you can start another component using anintent. You can even starta component in a different app, such as an activity in a maps app to show an address. This modelprovides multiple entry points for a single app and allows any app to behave as a user's "default"for an action that other apps may invoke.

app 提供了大量的入口进入点

    Android app 创建正如一个可以被不同组件可以单独调用的结合体,例如,一个单独的activity页面提供了一个对于用户接口单一的屏幕,并且一个在后台service服务独立运行平台。        你可以通过Inent从一个组件开启另外一个组件,你甚至能开启一个组件在不同的app,如一个地图app 的显示位置的activity页面。这个模块让一个单独的app提供了多入口并且允许任何一个app有用户默认的行为对于其他app可以调用的动作。


Apps adapt to different devices

Android provides an adaptive app framework that allows you to provide unique resources for different device configurations. For example, you can create different XML layout files for different screen sizes and the system determines which layout to apply based on the current device's screen size.

You can query the availability of device features at runtime if any app features require specific hardware such as a camera. If necessary, you can also declare features your app requires so app markets such as Google Play Store do not allow installation on devices that do not support that feature.

app 适配不同的设备

  android提供了自适应应用框架去允许你提供了单独的资源对于不同配置的设备,例如,你可以创建不同的Xml布局文件对于不同的屏幕尺寸和系统决定哪个布局去应用基于正确设备尺寸。

  你可以运行时查询设备的可用性如果所有app特征需要特别的硬件如摄像机,如果必须,你也能声明你的app需求特征所以app 市场如google play stroe 不允许安装在不支持特征的设备上。



      to be continued

更多相关文章

  1. Android 下拉加载更多 上拉刷新 框架 (太极 八卦样式刷新,支持自定
  2. Android的Activity获取fragment和fragment的组件
  3. 关于Android ListView组件中android:drawSelectorOnTop含
  4. React Native常用组件轮子(适配Android优先,持续更新中)
  5. React Native Android 独有组件之 TimePickerAndroid
  6. [Android基础]四大组件之ContentProvider
  7. Android 自定义view(二) 如何实现自定义组件
  8. Android 之 ScrollView(垂直滑动)组件
  9. Android 下的usb框架及功能点

随机推荐

  1. 亲测可用Android原生代码添加系统服务
  2. Ubuntu遇到Please ensure that adb is co
  3. Android手势分发和嵌套滚动机制
  4. Android中播放声音的两种方法
  5. 安卓巴士总结了近百个Android优秀开源项
  6. Android的界面元素UI
  7. sqlite实现新闻收藏和取消收藏
  8. 使用GIT工具获取android应用程序源代码
  9. 弹出输入法软键盘,编辑框悬浮,及覆盖遮挡问
  10. Android压缩文件(压缩目录)