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

  • Home
  • SEARCH
  • 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 8789919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:31:44+00:00 2026-06-13T22:31:44+00:00

I have an issue in my app. I’m creating a sort of improvised menu

  • 0

I have an issue in my app. I’m creating a sort of improvised menu bar that has to be included in all activities in my app, I want to determine which activity is loaded currently so that via an intent the application will link to the Activity that is linked to a button:

public void graphAction()
{
    Intent i = new Intent(this, GraphActivity.class );
    this.startActivity(i);
}
  • 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-06-13T22:31:45+00:00Added an answer on June 13, 2026 at 10:31 pm

    You might want to consider using ActionbarSherlock (http://actionbarsherlock.com/)
    But I do not understand why you would want the currently active activity?
    If the graphAction is not in the activity but some custom object, just pass the activity there (or better: use a context object, Activities should not be passed around)

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

Sidebar

Related Questions

Here's the issue: I have a list of App names that I want to
I have an issue with NSRange that is causing my app to crash when
I am creating a Node.js app on Heroku and have run into an issue.
I have a frustrating issue that my app on Google Appengine throws NullPointerException like:
I have an issue in my app where the change my password functionality has
I'm creating a live streaming app, but I have an issue on which media
I have an issue in my use of critical sections. My app has a
I have a legacy (solve this problem for us issue) app that communicates with
Didn't have this issue at all until I began adapting my app for iOS
I have this issue that is driving me crazy lately... I have an app

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.