Top "Android-activity" questions

Questions about creating or managing Activities in Android.

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 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 save an activity state using save instance state?

I've been working on the Android SDK platform, and it is a little unclear how to save an application's state. …

android android-activity application-state
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
How to send an object from one Android Activity to another using Intents?

How can I pass an object of a custom type from one Activity to another using the putExtra() method of …

android android-intent android-activity
Change application's starting activity

I have created the meat and guts of my application but I want to add a different activity that will …

android android-activity
Fullscreen Activity in Android?

How do I make an activity full screen? I mean without the notification bar. Any ideas?

android android-activity fullscreen android-fullscreen
Get root view from current activity

I know how to get the root view with View.getRootView(). I am also able to get the view from …

android android-activity view