Passing data between two android apps using intent

前端 未结 2 1379
臣服心动
臣服心动 2021-01-13 16:43

I have two separate android apps, AppA and AppB. I am trying to get AppA to launch AppB (which is a game app). After the user is done playing the game (AppB), it will send t

2条回答
  •  青春惊慌失措
    2021-01-13 17:24

    Maybe it can be useful:

    Content Provider and Content Resolver components.

    Content Resolver makes request to Content Provider, and the provider respond. This is similar to a communication between two different applications.

    For example a client (Resolver) and a content manager(Provider).

    This is an example tutorial: https://www.tutorialspoint.com/android/android_content_providers.htm

    Hope it helps!

提交回复
热议问题