首页 > 代码库 > android 开发学习笔记 (一)
android 开发学习笔记 (一)
- 每个app 都有一个自己的 linux 进程;
- 每个进程都在自己的虚拟机里执行
- 两个app 可以跑在一个进程,一个vm里
- android app 四大组件:activity,content provider, services, broardcast receivers
- Content Resolver 激活 Content Provider
- You can start an activity (or give it something new to do) by passing an Intent to startActivity() or startActivityForResult() (when you want the activity to return a result).
- You can start a service (or give new instructions to an ongoing service) by passing an Intent to startService(). Or you can bind to the service by passing an Intent to bindService().
- You can initiate a broadcast by passing an Intent to methods like sendBroadcast(), sendOrderedBroadcast(), or sendStickyBroadcast().
- You can perform a query to a content provider by calling query() on a ContentResolver.
From <http://developer.android.com/guide/components/fundamentals.html>
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。