views:

19

answers:

1

I'm on a new android project - just a simple one. I have three "tabs" (activity1,2,3) with different tasks.

Anyways, how do I add these 3 activities do the AndroidManifest?

my manifest;

</application>
<uses-sdk android:minSdkVersion="4" />

Yeah, so where do i put it in?

A: 

You put it inside your your application tags. Like this.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="your.package.name">
    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:name=".Activity1" android:label="@string/app_name"></activity>
        <activity android:name=".Activity2"></activity>
    </application>
    <uses-sdk android:minSdkVersion="4" />
</manifest>

Where .Activity2 is your second activity.

Octavian Damiean