I've created an app that can upload images from my phone (Samsung Galaxy S2) to my server, using "Share via"...<my app> when viewing the image in the Android Gallery.
However, my app does not show up as an alternative in the "share via"-menu for images that I have online, in Picasa. I'm wondering how to be able to handle all sorts of images that show up in the gallery - both locally stored on the phone/sd card and stored remotely in eg Picasa?
Now I have intent-filters on mime type "image/*", I suppose this does not match the Picasa images, for some reason(?).
From my AndroidManifest.xml:
<activity
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:name=".PublishImageActivity"
android:theme="@style/Theme.Custom" >
<intent-filter >
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
<activity
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:name=".PublishImageActivity"
android:theme="@style/Theme.Custom" >
<intent-filter >
<action android:name="android.intent.action.CHOOSER" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>