---
title: "What is Intent in Android?"  
description: "What is Intent in Android?"  
author: "Anonymous User"  
published: 2014-10-11  
updated: 2014-10-11  
canonical: https://www.mindstick.com/forum/2367/what-is-intent-in-android  
category: "android"  
tags: ["android", "mobile development"]  
reading_time: 1 minute  

---

# What is Intent in Android?

what is [intent](https://www.mindstick.com/forum/33890/examples-of-intent-and-bundles) in [android](https://www.mindstick.com/articles/13046/10-reasons-why-i-prefer-android-vs-iphone-ios)

## Replies

### Reply by Anonymous User

Intent is basically a message that is passed between components (such as Activities, Services, Broadcast Receivers, and Content Providers).

It’s also use for create target of another Activity. In Intent we can send data via bundle.

Example =>

```
btnSubmit.setOnClickListener(new View.OnClickListener() {                   @Override                  public void onClick(View v) {                        // TODO Auto-generated method stub                         // TODO Auto-generated method stub                        // Intent objIntent=new Intent(CurrentClass.this,                        // TargretClass.class)                        // startActivity(intent);                        Intent intent = new Intent(MainActivity.this, Second.class);                                                startActivity(intent);                   }            });               // It will open Second Activity.
```


---

Original Source: https://www.mindstick.com/forum/2367/what-is-intent-in-android

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
