1、Content和activity、service、Application关系
![](https://i-blog.csdnimg.cn/blog_migrate/f3223fa6ce2889aa30b4fce78f105a22.png)
2、Application里面attachBaseContext和onCreate函数调用顺序
Application-> attachBaseContext ();
ContentProvider:onCreate()
Application:onCreate()
人还是容易忘记,先记录下来。