F
F
Fedor Zhekov2016-12-22 17:20:11
Android
Fedor Zhekov, 2016-12-22 17:20:11

Why is Viber not accepting text?

Sharing a picture from my application:

Intent shareIntent = new Intent();
shareIntent.setAction(Intent.ACTION_SEND);
shareIntent.putExtra(Intent.EXTRA_TEXT, getResources().getString(R.string.congrats) + this.getPackageName());
shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file));
shareIntent.setType("image/png");
startActivity(Intent.createChooser(shareIntent, getResources().getString(R.string.share)));

All instant messengers accept a picture and text, but Viber only accepts a picture. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question