Allora..
il codice per lanciare è:
Intent shareintent = new Intent();
shareintent.setAction(Intent.ACTION_SEND);
shareintent.putExtra(Intent.EXTRA_STREAM, bitmap);
shareintent.setType("image/jpeg");
startActivity(Intent.createChooser(shareintent, getResources().getText(R.string.send_to)));
se in putExtra metto bitmap mi dice FAILED BINDER TRANSACTION
se metto invece il path della foto dice
06-12 16:41:10.407: W/Bundle(29699): Key android.intent.extra.STREAM expected Parcelable but value was a java.lang.String. The default value <null> was returned.
06-12 16:41:10.407: W/Bundle(29699): Attempt to cast generated internal exception:
06-12 16:41:10.407: W/Bundle(29699): java.lang.ClassCastException: java.lang.String cannot be cast to android.os.Parcelable
06-12 16:41:10.407: W/Bundle(29699): at android.os.Bundle.getParcelable(Bundle.java:1212)
06-12 16:41:10.407: W/Bundle(29699): at android.content.Intent.getParcelableExtra(Intent.java:4652)
06-12 16:41:10.407: W/Bundle(29699): at android.content.Intent.migrateExtraStreamToClipData(Intent.java:7235)
06-12 16:41:10.407: W/Bundle(29699): at android.content.Intent.migrateExtraStreamToClipData(Intent.java:7219)
06-12 16:41:10.407: W/Bundle(29699): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
06-12 16:41:10.407: W/Bundle(29699): at android.app.Activity.startActivityForResult(Activity.java:3424)
06-12 16:41:10.407: W/Bundle(29699): at android.app.Activity.startActivityForResult(Activity.java:3385)
06-12 16:41:10.407: W/Bundle(29699): at android.app.Activity.startActivity(Activity.java:3627)
06-12 16:41:10.407: W/Bundle(29699): at android.app.Activity.startActivity(Activity.java:3595)
06-12 16:41:10.407: W/Bundle(29699): at com.example.v2.Finals$DrawerItemClickListener.selectItem(Finals.java:127)
06-12 16:41:10.407: W/Bundle(29699): at com.example.v2.Finals$DrawerItemClickListener.onItemClick(Finals.java:116)
06-12 16:41:10.407: W/Bundle(29699): at android.widget.AdapterView.performItemClick(AdapterView.java:299)
06-12 16:41:10.407: W/Bundle(29699): at android.widget.AbsListView.performItemClick(AbsListView.java:1113)
06-12 16:41:10.407: W/Bundle(29699): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2911)
06-12 16:41:10.407: W/Bundle(29699): at android.widget.AbsListView$3.run(AbsListView.java:3645)
06-12 16:41:10.407: W/Bundle(29699): at android.os.Handler.handleCallback(Handler.java:733)
06-12 16:41:10.407: W/Bundle(29699): at android.os.Handler.dispatchMessage(Handler.java:95)
06-12 16:41:10.407: W/Bundle(29699): at android.os.Looper.loop(Looper.java:136)
06-12 16:41:10.407: W/Bundle(29699): at android.app.ActivityThread.main(ActivityThread.java:5001)
06-12 16:41:10.407: W/Bundle(29699): at java.lang.reflect.Method.invokeNative(Native Method)
06-12 16:41:10.407: W/Bundle(29699): at java.lang.reflect.Method.invoke(Method.java:515)
06-12 16:41:10.407: W/Bundle(29699): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
06-12 16:41:10.407: W/Bundle(29699): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
06-12 16:41:10.407: W/Bundle(29699): at dalvik.system.NativeStart.main(Native Method)