Intent shareIntent = new Intent(Intent.ACTION_SEND); shareIntent.setType("text/plain"); shareIntent.putExtra(Intent.EXTRA_TEXT, "URLyouWantToShare"); startActivity(Intent.createChooser(shareIntent, "Share..."));
Use the intent ACTION_SEND, add the URL you want to share. The user will be given a choice of applications to accept the intention of sharing, such as facebook, etc.
James kidd
source share