Newb question. How can you find out what a basic launch is? Android training.
Assuming this is for your code, check the .xml manifest and find this element:
<intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter>
It should be contained in tags <Activity>... </Activity>and that Activityis the one that the user can run from his phone.
<Activity>
</Activity>
Activity
You must put the correct intent tag in action in the manifest:
<activity android:name=".SomeActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity>
AndroidManifest.xml;
<activity> ( ).
<activity>
The main activity can be considered one that processes the initial screen of the application being created.
?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="clustering.android" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="11" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <application android:icon="@drawable/gene_launcher" android:label="@string/app_name" > <activity android:name=".MainActivity" 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=".yourSubActivity" android:label="@string/<ActivityName>"> </activity> ...list of other activities... </application> </manifest>
You can see AndroidManifest.xml in your file
<action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" />
This will help you find startup activity.