Top "Android-intent" questions

Questions regarding practical and advanced use of Intents, Intent Extras and Pending Intents to start an Activity, Service or to respond to a system or application event/notification via a BroadcastReceiver.

How do I pass data between Activities in Android application?

I have a scenario where, after logging in through a login page, there will be a sign-out button on each …

android android-intent android-activity
How can I open a URL in Android's web browser from my application?

How to open an URL from code in the built-in web browser rather than within my application? I tried this: …

android url android-intent android-browser
How do I get extra data from intent on Android?

How can I send data from one activity (intent) to another? I use this code to send data: Intent i=…

android android-intent
How to start new activity on button click

In an Android application, how do you start a new activity (GUI) when a button in another activity is clicked, …

android android-intent android-activity android-button android-lifecycle
How to use putExtra() and getExtra() for string data

Can someone please tell me how exactly to use getExtra() and putExtra() for intents? Actually I have a string variable, …

android android-intent
How to open the Google Play Store directly from my Android application?

I have open the Google Play store using the following code Intent i = new Intent(android.content.Intent.ACTION_VIEW); …

android android-intent google-play
How to manage startActivityForResult on Android?

In my activity, I'm calling a second activity from the main activity by startActivityForResult. In my second activity, there are …

android android-intent android-activity startactivityforresult
How to pass an object from one activity to another on Android

I am trying to work on sending an object of my customer class from one Activity and display it in …

java android object android-intent android-activity
Android: Go back to previous activity

I want to do something simple on android app. How is it possible to go back to a previous activity. …

android android-intent android-activity
Sending an Intent to browser to open specific URL

I'm just wondering how to fire up an Intent to the phone's browser to open an specific URL and display …

android android-intent