---
title: "How you can use built-in Messaging within your application?"  
description: "How you can use built-in Messaging within your application?"  
author: "Anonymous User"  
published: 2015-05-29  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/2593/how-you-can-use-built-in-messaging-within-your-application  
category: "android"  
tags: ["android"]  
reading_time: 1 minute  

---

# How you can use built-in Messaging within your application?

You can use an Intent object to activate the built-in Messaging service. You have to pass MIME type “vnd.android-dir/mms-sms”, in setType method of Intent as shown in the following given below code.

```
Intent intent = new Intent (android.content.Intent.ACTION_VIEW);intent.putExtra("address", "5556; 5558;");// Send the message to multiple recipient.itent.putExtra("sms_body", "Hello my friends!"); intent.setType("vnd.android-dir/mms-sms");startActivity(intent);
```

## Answers

### Answer by Anonymous User

You can use an Intent object to activate the built-in Messaging service. You have to pass MIME type “vnd.android-dir/mms-sms”, in setType method of Intent as shown in the following given below code.

```
Intent intent = new Intent (android.content.Intent.ACTION_VIEW);intent.putExtra("address", "5556; 5558;");// Send the message to multiple recipient.itent.putExtra("sms_body", "Hello my friends!"); intent.setType("vnd.android-dir/mms-sms");startActivity(intent);
```


---

Original Source: https://www.mindstick.com/interview/2593/how-you-can-use-built-in-messaging-within-your-application

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
