Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5997047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:12:25+00:00 2026-05-23T00:12:25+00:00

Following is the scenario. 1. My application has 2 activities. 2. Activity-1 creates an

  • 0

Following is the scenario.
1. My application has 2 activities.
2. Activity-1 creates an intent object and pass this intent to startActivity method to launch Activity-2
3. After startActivity method Activity-1 gets onPause.

My question here is that can i get the same intent object in my onPause method without making intent object a part of my class i.e. I know android provides API to get the intent which is used to launch the activity. That means i can get this intent object in Activity-2 but can i get it in Activity-1 also after i used the function startActivity.

Thanks
Dalvin

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:12:26+00:00Added an answer on May 23, 2026 at 12:12 am

    The onPause method has no arguments. Therefore all objects that it will operate on must either be class members or belong to a global/static object.

    Is there a reason that you don’t want this to be a part of your class? This will be the easiest and proper way to handle the situation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having an issue involving the following scenario, Application A has a DataGridView, from
Guys, can anyone explain the following scenario: 1) Web application has module1.jar in its
I have the following scenario.The implementation is required for a real time application. 1)I
In my android application I want to solve the following scenario. class Login extends
Let me share the following scenario: I have a ASP.NET intranet Web-based application that
I have the following scenario. I have created an ASP.NET web application (framework 3.5)
I have the following scenario: - 64bit Windows Server 2008. - 32bit .NET application
In an application having UITabBarController , I want to implement following scenario: When user
Can any one tell me how to solve the following scenario in Asp.net application.
Following scenario: I have user object: ... @Column(name = TITLE) private String title; @NotNull

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.