Every Activity in Android is a Process,or One Application is one process

前端 未结 4 696
野的像风
野的像风 2020-12-02 19:22

In this page, http://androidapps.org.ua/androidintro_ipc.html , intent switching between activities is described as Inter Process Communication. Now I am confused whether e

4条回答
  •  天涯浪人
    2020-12-02 19:51

    You can send an intent to another application, provided it has an intent-filter.

    So yes all of your activities in your application will run in the same process.

    For eg: You can send a generic intent to all email applications. Gmail is one such application that has a intent filter which listens to the email intent. This is how you achieve IPC using intents.

提交回复
热议问题