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.

 
-- 
:-) 
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 android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to