I'm sure you are starting to see that what you thought of doing was
made intentionally difficult.

The reason is that, if you do it right, taking the code for an
activity and moving it to another application is easy. It's part of
Android's modularity. The data you pass using an Intent object, and
"return" using Activity.setResult(int, Intent), enables one Activity
to ask another to perform an operation, like cropping an image or
editing an audio clip, and return the result.

This is meant to work across applications about as readily as it works
within an application. The documentation for the Intent class
describes the standard actions, categories, etc. you can match to in
your intent filters to enable your application to provide
functionality to other applications, and how you can use those
parameters to find Activity objects in other applications that will do
things for you.

But this is turning into more of a beginner topic. I thought you might
be getting at something else.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to