Hi!first if you have 2 activities on a app and you put one intent for each
one on the phone will find 2 apps with same name but which run different
activity..i think is enought to put just on intent in the main
activity:today i had tried that and it worked.

Hope i help.you...

On Aug 11, 2009 11:20 PM, "tinyang" <[email protected]> wrote:

 Hello,

This will sound like a dumb question, but what is the return type for
Button?

Second question is If I have an Application with one main activity and
multiple sub-activities, The intent I have in the manifest for the main
activity is:

<
intent-filter>

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

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

</intent-filter>

But what is the correct intent to have for a sub-activity when you want it
to launch on a specific event (such as onClick)?:

 <intent-filter>

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

</intent-filter>



Thanks for any help.

-- 
J
P Please don't print this e-mail unless you really need to.
 <http://www.crossloop.com/Teenah>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to