1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2007 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <!-- This file describes the code in the Compass package, which is 18 used by the system to determine how to start your application and 19 integrate it with the rest of the system. --> 20 21 <!-- Declare the contents of this Android application. The namespace 22 attribute brings in the Android platform namespace, and the package 23 supplies a unique name for the application. When writing your 24 own application, the package name must be changed from "com.example.*" 25 to come from a domain that you own or have control over. --> 26 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 27 package="com.example.android.compass"> 28 29 <!-- This package contains an application... The 'label' is the name 30 to display to the user for the overall application, and provides 31 a default label for all following components. The syntax here is a 32 reference to one of our string resources.--> 33 <application android:label="@string/compass_app"> 34 35 <!-- An Activity in the application - this is something the user 36 can launch and interact with. The "name" attribute is the 37 name of the class within your package that implements this 38 activity. --> 39 <activity android:name="CompassActivity"> 40 41 <!-- An IntentFilter tells the system when it should use your 42 activity. This allows the user to get to your activity 43 without someone having to explicitly know to launch your 44 class "com.example.android.compass_app.CompassActivity". --> 45 <intent-filter> 46 <!-- The MAIN action describes a main entry point into an 47 activity, without any associated data. --> 48 <action android:name="android.intent.action.MAIN" /> 49 50 <!-- This places this activity into the main app list. --> 51 <category android:name="android.intent.category.LAUNCHER" /> 52 </intent-filter> 53 54 </activity> 55 56 </application> 57 58 </manifest> 59