Starting Another Activity
[android/MyFirstApp.git] / AndroidManifest.xml
index d2dc2c3..bf2dc00 100644 (file)
@@ -3,6 +3,8 @@
       package="com.example.myfirstapp"
       android:versionCode="1"
       android:versionName="1.0">
       package="com.example.myfirstapp"
       android:versionCode="1"
       android:versionName="1.0">
+    <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" />
+
     <application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
         <activity android:name="MainActivity"
                   android:label="@string/app_name">
     <application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
         <activity android:name="MainActivity"
                   android:label="@string/app_name">
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
+        <activity
+            android:name="com.example.myfirstapp.DisplayMessageActivity"
+            android:label="@string/title_activity_display_message"
+            android:parentActivityName="com.example.myfirstapp.MainActivity" >
+            <meta-data
+                android:name="android.support.PARENT_ACTIVITY"
+                android:value="com.example.myfirstapp.MainActivity" />
+        </activity>
     </application>
 </manifest>
     </application>
 </manifest>