OmegaIntentBuilder icon indicating copy to clipboard operation
OmegaIntentBuilder copied to clipboard

Combine share image with text

Open YogevUzan opened this issue 6 years ago • 8 comments

Hello, I'm trying to share an image combined with some text and for some reason it's only one of them that appear each time.

// Shows only text: new OmegaIntentBuilder(OverViewActivity.this) .share() .text("some text") .bitmap(bitmap) .createIntent();

// Shows image: new OmegaIntentBuilder(OverViewActivity.this) .share() .bitmap(bitmap) .createIntent();

YogevUzan avatar Oct 15 '18 05:10 YogevUzan

@YogevUzan Thank you for your request. We will fix it in next release.

RomanTcv avatar Nov 01 '18 07:11 RomanTcv

Hi @YogevUzan. Can you provide us a little bit more information. What android version do you use ? In what application you tried to share ?

RomanTcv avatar Nov 06 '18 12:11 RomanTcv

Sure.

  • I have tried with all android versions.
  • I tried to share with WhatsApp and Gmail

YogevUzan avatar Nov 06 '18 13:11 YogevUzan

Any news regarding this issue ?

YogevUzan avatar Dec 03 '18 05:12 YogevUzan

Hi @YogevUzan We can't reproduce this issue. We have checked it, but there were no problems.

RomanTcv avatar Dec 03 '18 08:12 RomanTcv

Hi @R12rus These are the codes I have used to share:

OmegaIntentBuilder.from(this) .share() .subject(subject) .text(text) .filesUrls(mApartment.getImage()) // It's a url to the image .download(new DownloadCallback() { @Override public void onDownloaded(boolean b, @NotNull ContextIntentHandler contextIntentHandler) { contextIntentHandler.startActivity(); } });

                    Bitmap bitmap = BitmapFactory.decodeResource(getResources(),
                            R.drawable.check);
                    
                    OmegaIntentBuilder.from(this)
                            .share()
                            .subject("test")
                            .text("test")
                            .bitmap(bitmap)
                            .startActivity();

The ones above doesn't work for me. When I press the share button, the shared image is excluded, only the text appears in the chat box. (WhatsApp). Maybe I'm doing something wrong. Can you please correct me if I am ?

YogevUzan avatar Dec 03 '18 08:12 YogevUzan

I have checked it out. We will work on it as soon as possible. Thank you.

RomanTcv avatar Dec 05 '18 11:12 RomanTcv

@YogevUzan I checked it again and I can't reproduce it. This situation possible only if you open gmail with text and after open gmail again but with text and photos.

RomanTcv avatar Dec 19 '18 12:12 RomanTcv