For Exmple go through thix manifest file u can get how to set activities......
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.android.photostream" android:versionCode="1" android:versionName="1.0.0"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> <uses-permission android:name="android.permission.SET_WALLPAPER" /> <uses-permission android:name="android.permission.VIBRATE"/> <application android:label="@string/application_name" android:theme="@style/Theme" android:icon="@drawable/application_icon"> <activity android:name=".LoginActivity" android:label="@string/application_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <!-- Alias activity used to set the wallpaper on Home. The alias is used simply to have a different label. --> <activity-alias android:name="WallpaperActivity" android:targetActivity="LoginActivity" android:label="@string/activity_set_wallpaper"> <intent-filter> <action android:name="android.intent.action.SET_WALLPAPER" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity-alias> <!-- Alias activity used to create shortcuts on Home. The alias is used simply to have a different label. --> <activity-alias android:name="CreateShortcutActivity" android:targetActivity="LoginActivity" android:label="@string/activity_create_shortcut"> <intent-filter> <action android:name="android.intent.action.CREATE_SHORTCUT" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity-alias> <!-- action: com.google.android.photostream.FLICKR_STREAM, extra: com.google.android.photostream.extra_nsid, String --> <!-- action: com.google.android.photostream.FLICKR_STREAM, extra: com.google.android.photostream.extra_user, Flickr.User --> <activity android:name=".PhotostreamActivity" android:label="@string/application_name"> <intent-filter> <action android:name="com.google.android.photostream.FLICKR_STREAM" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="http" android:host="flickr.com" android:pathPrefix="/photos/" /> <data android:scheme="http" android:host="www.flickr.com" android:pathPrefix="/photos/" /> </intent-filter> </activity> <!-- action: com.google.android.photostream.FLICKR_PHOTO, extra: com.google.android.photostream.extra_photo, Flickr.Photo --> <activity android:name=".ViewPhotoActivity" android:label="@string/application_name"> <intent-filter> <action android:name="com.google.android.photostream.FLICKR_PHOTO" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> <activity android:theme="@android:style/Theme" android:name=".SettingsActivity" android:label="@string/activity_preferences" /> <receiver android:name=".BootReceiver"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> </receiver> <service android:name=".CheckUpdateService" /> </application> </manifest> On Sat, Jul 11, 2009 at 3:22 PM, Nerj <[email protected]> wrote: > > Hi! > I am begginer of Android Development. > I can create an activity with different views, and can run them > successfully. > The problem is that, > >> If I have several activities in the android project, it > takes only one to launch. > Can u pls, tell me how to set an activity as Main one which is to be > launch at first time when the app is open? > > Pls, suggest me...... > > Thanks in advance... > > > -- Regards ------------------- Desu Vinod Kumar [email protected] 09916009493 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

