۱۳۹۴/۰۱/۱۱, ۱۱:۰۸ ب.ظ
۱۳۹۴/۰۱/۱۵, ۱۲:۲۵ ق.ظ
دوستان اگه میشه یک راهنمایی کنه ...
من این کدارو زدم ولی بازم کار نمیکنه ....
من این کدارو زدم ولی بازم کار نمیکنه ....
کد پیاچپی:
final BitmapDrawable drawable1 = (BitmapDrawable) imgV.getDrawable();
final Bitmap bitmap1 = drawable1.getBitmap();
mshare.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View arg0) {
Intent share= new Intent(Intent.ACTION_SEND);
share.setType("image/*");
share.putExtra(Intent.EXTRA_STREAM, bitmap1);
startActivity(share.createChooser(share, "ارسال توسط :"));
}
});