Categories
activity-manager android android-activity shell

Is it possible to start activity through adb shell and receive its response?

I know that you can start any exported activity from any app via adb using the following command:

am start -n com.myapp.test/.TestActivity

Using the "am start" command it is also possible to send extra data to the activity (I know how to do this, this is not the question I am asking here!).

However what I need to know is if it is also possible to receive the response data sent back from the started activity when it finishes?