I started Intent and asked him to go to the main action when he tries to launch the application.
Here is the code that is trying to jump to the main action.
Intent i = new Intent( ".MAIN_ACTIVITY"); startActivity(i);
Here is the XML manifest for Main_Activity.
<activity android:name=".MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN_ACTIVITY" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
I'm still pretty new to this, so any help and / or advice is of great importance.
source share