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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:29:39+00:00 2026-06-02T21:29:39+00:00

Normally I will declare a new activity in AndroidManifest.xml as below: Let’s say my

  • 0

Normally I will declare a new activity in AndroidManifest.xml as below:
Let’s say my new activity is Tutorial.java.

<activity android:name=".Tutorial"></activity>

But I found an example, the developer not declare the new activity as above. The code is list as below:

AndroidManifest.xml

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.dezine.thebasics"
  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=".myMain"
              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=".myMenu"
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="com.dezine.thebasics.CLEARSCREEN" />
            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>

</application>
</manifest>

myMenu.java

package com.dezine.thebasics;
import android.app.Activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class myMenu extends Activity{

@Override
protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    final MediaPlayer mpButtonClick = MediaPlayer.create(this, R.raw.click);

    Button bTutorial1 = (Button) findViewById(R.id.button1);
    bTutorial1.setOnClickListener(new View.OnClickListener() {

        public void onClick(View v) {
            // TODO Auto-generated method stub
            startActivity(new Intent("com.dezine.thebasics.TUTORIAL"));
            mpButtonClick.start();
        }
    });
    }
}

The above code is work fine at beginning(mean I don’t change anything in AndroidManifest.xml) but it will come out error after I modify something in Manifest.xml. eg. I change the SDK version.

E/AndroidRuntime(5236): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.dezine.thebasics.TUTORIAL }

Please tell me how it work. Thank you.

  • 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-02T21:29:41+00:00Added an answer on June 2, 2026 at 9:29 pm

    There is a difference between TUTORIAL and Tutorial

    Let me give you more detail.

    You have written below code to start activity:

      startActivity(new Intent("com.dezine.thebasics.TUTORIAL"));
    

    But you have defined activity inside AndroidManifest.xml as:

    <activity android:name=".Tutorial"></activity>
    

    And thats why you are getting this exception.

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

Sidebar

Related Questions

Using @Html.TextBoxFor(m => m.MyField) will (normally?) result in <input id=MyField name=MyField type=text value= />
Will there normally only be one instance of MainForm? I need to hold it
When we will use DrawItem for a listbox? Normally, if the listbox is ownerdraw,
Normally if you create a Stream object, the head will be eagerly evaluated: scala>
Normally with Java Swing you can set the background color of a button with:
I have a lot of data that contains characters that will normally break RSS.
Normally will we interrupt a thread which is in WaitSleepJoin state or Running state?
normally php will output negative integer with this format -1234 , how to it
In the Django admin index page, the app and its models will normally be
I have a class that will normally run under Windows and uses the win32com

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.