(Replying to a slightly old thread)

The answer is here:
  
http://developer.android.com/guide/topics/manifest/activity-element.html#exported

In 1.0 the activity had an intent-filter, and was therefore exported
(available to other components).

In eclair it does not have an intent-filter, and is therefore *not*
exported.

See the difference between the 1.0 GalleryPicker activity declaration
  
http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=blob;f=AndroidManifest.xml;hb=release-1.0
and the 2.1:
  
http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=blob;f=AndroidManifest.xml;hb=eclair-release


On Jan 27, 4:18 pm, "Mark Murphy" <[email protected]> wrote:
> > Understood.  I'm trying to invoke this class because it was
> > programmatically found to exist previously.
>
> I seem to recall a related case (trying to launch a video into Gallery)
> being asked a month or so ago on this list. The upshot was that just
> because an activity exists does not mean you can launch it directly using
> the component name anymore.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html

-- 
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