On 27 April 2011 17:07, Prayag <[email protected]> wrote:

> I am a Newbie and I have a basic question for which I couldnt get any
> answer yet.
>

Did try reading docs first?


> What is the need to use two keywords to express that the given
> activity is the main activity.
>

No. You need just one. Other is for different purpose.


> eg. We write the code
>

btw: this is not "the code".

<action android:name="android.intent.action.MAIN" />
>

http://developer.android.com/reference/android/content/Intent.html#ACTION_MAIN


> <category android:name="android.intent.category.LAUNCHER" />
>

http://developer.android.com/reference/android/content/Intent.html#CATEGORY_LAUNCHER

Regards,
Marcin Orlowski

*Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy...
*Date In Tray* <http://bit.ly/dateintraypro> - current date at glance...
WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and
*Twitter<http://webnetmobile.com/twitter/>
*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to