Share App Android Intent

[Solved] Share App Android Intent | Swift - Code Explorer | yomemimo.com
Question : share intent android

Answered by : kushal

 Intent shareIntent = new Intent(Intent.ACTION_SEND); shareIntent.setType("text/plain"); shareIntent.putExtra(Intent.EXTRA_SUBJECT, "My application name"); String shareMessage = "\n" + tvBlogTitle.getText().toString()+ "\n\n"; shareMessage = shareMessage + bundle.getString("link") + "\n\n"; shareIntent.putExtra(Intent.EXTRA_TEXT, shareMessage); startActivity(Intent.createChooser(shareIntent, "choose one"));

Source : | Last Update : Mon, 30 Nov 20

Question : share intent android

Answered by : glorious-gull-bbevy86em5kn

Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "Hey check out my app at: https://play.google.com/store/apps/details?id=" + BuildConfig.APPLICATION_ID);
sendIntent.setType("text/plain");
startActivity(sendIntent);

Source : https://nullorempty.org/questions/13941093/How-to-Share-Entire-Android-App-with-Share-Intent | Last Update : Fri, 01 Apr 22

Answers related to share app android intent

Code Explorer Popular Question For Swift