Activities and manage your android context
We use it to access resources and filesystems as well. They can also choose to expose the components only to other components of their app. Source java and get context. Determines whether we have an Internet connection available. The other, much simpler method of transferring data between activities is to simply include the data in the Intent. We can imagine Context as layer which stands behind Activity and it will live as long as Activity lives.