OmegaIntentBuilder
OmegaIntentBuilder copied to clipboard
Combine share image with text
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 Thank you for your request. We will fix it in next release.
Hi @YogevUzan. Can you provide us a little bit more information. What android version do you use ? In what application you tried to share ?
Sure.
- I have tried with all android versions.
- I tried to share with WhatsApp and Gmail
Any news regarding this issue ?
Hi @YogevUzan We can't reproduce this issue. We have checked it, but there were no problems.
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 ?
I have checked it out. We will work on it as soon as possible. Thank you.
@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.