Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try this:</p> <pre><code>Intent songList = new Intent(StartingPoint.this, SongList.class); startActivity(songList); </code></pre> <p>Are you getting any errors? You need to add every Activity you create in the manifest. If you have two activities and only the Main in the manifest, that could be you problem. </p> <p>On second thought, I believe your manifest is wrong. Check this. With the Main (Your starting point) and the Menu which is the second one: </p> <pre><code>&lt;activity android:name="com.activities.Main"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name="com.activities.Menu"&gt;&lt;/activity&gt; </code></pre> <p>Try this manifest:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="myname.appname" android:versionCode="1" android:versionName="1.0" &gt; &lt;uses-sdk android:minSdkVersion="10" /&gt; &lt;application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar" &gt; &lt;activity android:name=".Splash" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name=".StartingPoint" android:label="@string/app_name" &gt; &lt;/activity&gt; &lt;activity android:name=".SongList" android:label="@string/app_name" &gt; &lt;/activity&gt; &lt;/application&gt; &lt;/manifest&gt; </code></pre> <p>You don't need to add the filter on each activity. I understood that you have only one entry Activity and that is the splash screen. However, you might need to change the manifest to change the ".Splash" and every other Activity to the full path including the package. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload