Yes you can. For example when you want to share from one app to another the image, you have to register in second app that receives the intent in the manifest file of that second app. The additional intent filter is below
<activity android:name=".Main" android:label="@string/app_name" android:screenOrientation="portrait" android:theme="@android:style/Theme.Black.NoTitleBar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> **<intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <data android:mimeType="image/*" /> ** </activity>
then onCreate of second app that already has view with image view
ImageView im = (ImageView) findViewById(R.id.image); im.setImageURI((Uri) getIntent().getExtras.get(Intent.EXTRA_STREAM));
It means that when you are declaring in manifest file the intent filter, whenever person will share the picture, your second app will come in the available list