Maybe u can write youe AndroidManifest.xml like this:
<activity android:name=".activityOne"
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=".activityTwo" android:label="@string/
app_name">
</activity>
<activity android:name=".activityThree"
android:label="@string/
app_name">
</activity>
2009/6/22 [email protected] <[email protected]>
>
> Hi,
>
> Thanks.
>
> I have currently have three pages and have three activities. The
> problem is that when I deploy the app on my phone I see three app
> icons
>
> Any ideas?
>
> How do I say activityOne is the default activity and the other two are
> sub-activities of activityOne?
>
> <activity android:name=".activityOne"
> android:label="@string/app_name">
> <intent-filter>
> <action
> android:name="android.intent.action.MAIN" />
> <category
> android:name="android.intent.category.LAUNCHER" />
> </intent-filter>
>
> <activity android:name=".activityTwo"
> android:label="@string/
> app_name">
> </activity>
> <activity android:name=".activityThree"
> android:label="@string/
> app_name">
> </activity>
>
>
>
>
>
>
>
>
>
> On Jun 22, 12:49 pm, Mark Murphy <[email protected]> wrote:
> > [email protected] wrote:
> > > I am developing an app with there pages (views). Would each page be a
> > > separate activity?
> >
> > Possibly. You can go either way. I usually assume separate activities
> > until something forces my hand to go to multiple "pages" in one activity.
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|
> http://twitter.com/commonsguy
> >
> > Looking for Android opportunties?http://wiki.andmob.org/hado
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---