One person from my work found this answer and I think it should be
public.
To be able to use my application that sends files to other Social
Networks I just need to register my intent application using the
following intent-filter on Manifest.xml

  ...
  <intent-filter>
    <action android:name="android.intent.action.SEND" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:mimeType="image/*" />
  </intent-filter>
  ...

Installing this application, any other app that calls
Intent intent = new Intent(Intent.ACTION_SEND);
startActivity(Intent.createChooser(intent , "Send options"));
and have an image as attachment will be able to choose my app.


On 24 jul, 16:45, Cibele <cibel...@gmail.com> wrote:
> I´d like to know if any 3rd part app can be added to the menu that is
> called on
>
> Intent intent = new Intent(Intent.ACTION_SEND);
> startActivity(Intent.createChooser(intent , "Send options"));
>
> For example an application that shares toFlickror Facebook.
>
> or if this is something that should be added in the operational system
> source code.
> On android 1.5 the Picasa was added the list that on previous versions
> only contained E-mail and Messaging.
>
> My question is how to make this available so that any developer can
> use this to make applications that share pictures, etc.
>
> Cibele
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to