Home > DeveloperSection > Forums > How to send message in android from our application?
Maria Susan

Total Post:29

Posted on    November-15-2014 3:31 AM

 Android Android sdk 

 1 Reply(s)
 539  View(s)
Rate this:
send message in android from our application

Chris S
Chris S

Total Post:48

Posted on    November-15-2014 6:58 AM

You can perform your action on button click-

      btn.setOnClickListener(new View.OnClickListener() {

    public void onClick(View v) {

            Intent send = new Intent(Intent.ACTION_SEND);


            send.putExtra(Intent.EXTRA_TEXT, “This is demo message  ");

            startActivity(Intent.createChooser(send, "Send via..”));



Don't want to miss updates? Please click the below button!

Follow MindStick