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 7842957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:26:22+00:00 2026-06-02T16:26:22+00:00

On the app I am making, on the home menu screen that you get

  • 0

On the app I am making, on the home menu screen that you get to after the splash screen, when you click one of the buttons, nothing happens. I don’t know what the problem is?

Here is the src file, it implements View.OnClickListener:

@Override
public void onClick(View v) {
    // TODO Auto-generated method stub
    switch (v.getId()) {
    case R.id.bPlay:
        Intent ourIntentPlay = new Intent(PartyActivity.this, Play.class);
        startActivity(ourIntentPlay);
        break;
    case R.id.bFacts:
        Intent ourIntentFacts = new Intent(PartyActivity.this, Facts.class);
        startActivity(ourIntentFacts);  
        break;
    case R.id.bInfo:
        Intent ourIntentInfo = new Intent(PartyActivity.this, Info.class);
        startActivity(ourIntentInfo);   
        break;
    case R.id.bHelp:    
        Intent ourIntentHelp = new Intent(PartyActivity.this, Help.class);
        startActivity(ourIntentHelp);
        break;
    }
}

And here is the manifest, inside the application tags:

<activity
        android:name=".Splash"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name=".PartyActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait" >
        <intent-filter>
            <action android:name="w.m.PARTYACTIVITY" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>
    <activity
        android:name=".Info"
        android:screenOrientation="portrait" >
        <intent-filter>
            <action android:name="w.m.INFO" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>
    <activity
        android:name=".Play"
        android:screenOrientation="portrait" >
        <intent-filter>
            <action android:name="w.m.PLAY" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>
    <activity
        android:name=".Help"
        android:screenOrientation="portrait" >
        <intent-filter>
            <action android:name="w.m.HELP" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>

Thanks

  • 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-02T16:26:23+00:00Added an answer on June 2, 2026 at 4:26 pm

    Are you assigning a listener to your buttons? Do this in your onCreate() method:

    findViewById(R.id.bPlay).setOnClickListener(clickListener);
    

    If your activity implements OnClickListener, then clickListener will be this. Do this for all of your buttons.

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

Sidebar

Related Questions

I'm making a function in my android app that, at a home screen the
Here's the deal, I've been working on making a simple screen locker app that
i'm making app that the main page include TableView but i want when i
I am making app that takes a screenshot of a URL requested by the
I am making app about google documents. but I don't know How to save
Im making an app that should let the user see video from the camera
Iam making an app which has one index.php file. I also have these other
I am making an alarm clock app and I am going to ask that
In my iOS app I have a screen with a bunch of icons that
I'm making a Rack framework for Ruby that runs a App::Router module inside of

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.