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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:33:50+00:00 2026-05-25T11:33:50+00:00

I am just starting android development so please bear with me. My issue is

  • 0

I am just starting android development so please bear with me.

My issue is that when I run my app in the emulator, after my splash screen, the next screen that pops up is from a completely different app than the one I am working in. Both screens conflicting are named the same (main.xml) so that may have something to do with it but they are in completely different folders and workspaces. I have been trying to experiment with my code to stop the screen after my splash screen from showing up completely so I could have a better idea of where the problem is occurring but have been unsuccessful.

Does anyone have any idea what might be going wrong or where I should at least start to look to solve this problem?

files in eclipse: https://i.stack.imgur.com/wAKG1.jpg

Main Activity class:

package com.mwmnj.criticmatch;

import android.app.Activity;
import android.os.Bundle;

public class CriticMatchActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);    
    }
}

main.xml:

<?xml version="1.0" encoding="utf-8" ?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="fill_parent"
    android:layout_height="fill_parent" android:padding="20dp"
    android:weightSum="1">
    <TextView android:textAppearance="?android:attr/textAppearanceLarge"
        android:id="@+id/textView1" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:text="Hello!"
        android:layout_gravity="center" />
    <TextView android:textAppearance="?android:attr/textAppearanceMedium"
        android:id="@+id/textView2" android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="criticmatch">android:layout_gravity="center"></TextView>
    <Button android:text="Proceed" android:layout_width="match_parent"
        android:layout_height="wrap_content" android:id="@+id/button1"
        android:layout_marginTop="50dp" />
</LinearLayout>

Splash class:

package com.mwmnj.criticmatch;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
public class Splash extends Activity{
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.splash);
        Thread timer = new Thread(){
            public void run(){
                try{
                    sleep(5000);
                } catch (InterruptedException e){
                    e.printStackTrace();
                }finally{
                    Intent openStartingPoint = new Intent("matt.meyer.criticmatch.MENU");
                    startActivity(openStartingPoint);
                }
            }
        };
        timer.start();
    }
}

splash.xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@drawable/crbackground"
  >


</LinearLayout>

androidmanifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.mwmnj.criticmatch"
      android:versionCode="1"
      android:versionName="1.0">
    <uses-sdk android:minSdkVersion="8" />

    <application android:icon="@drawable/icon" android:label="@string/app_name">

        <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=".CriticMatchActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="com.mwmnj.criticmatch.CRITICMATCHACTIVITY"/>
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

    </application>
</manifest>
  • 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-25T11:33:51+00:00Added an answer on May 25, 2026 at 11:33 am

    Your problem is here:

    Intent openStartingPoint = new Intent("matt.meyer.criticmatch.MENU");
    startActivity(openStartingPoint);
    

    That’s pointing to some other app, as far as I can tell. Try this:

    Intent openStartingPoint = new Intent(Splash.this, CriticMatchActivity.class);
    startActivity(openStartingPoint);
    

    Using the action name should work, too, as long as it matches the name in the AndroidManifest.xml:

    Intent openStartingPoint = new Intent("com.mwmnj.criticmatch.CRITICMATCHACTIVITY");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm starting Android app development and just after my very first app more complex
I am just starting on Android development. To my nascent knowledge, it seems that
So I'm making an app for my Xoom, just starting with android development. I've
I'm just starting to learn Android development and writing my first app. I started
I'm just starting with Android development and I'm coming from JavaScript/HTML world so I'm
I'm just starting with android development and have written an application to show details
Just starting out on android developing. To start off, I'm building an app which
I am starting to develop an Android app and I have seen that in
First things, first, I'm just starting with Android Application Development and would like to
I'm just starting to dive into some basic Android development and have been experimenting

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.