|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- Copyright (C) 2009 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 | +<!-- Declare the contents of this Android application. The namespace |
| 18 | + attribute brings in the Android platform namespace, and the package |
| 19 | + supplies a unique name for the application. When writing your |
| 20 | + own application, the package name must be changed from "com.example.*" |
| 21 | + to come from a domain that you own or have control over. --> |
| 22 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | + package="com.example.android.google.apis"> |
| 24 | + |
| 25 | + <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 26 | + <uses-permission android:name="android.permission.INTERNET" /> |
| 27 | + |
| 28 | + <application android:label="@string/activity_sample_code" |
| 29 | + android:icon="@drawable/app_sample_code" > |
| 30 | + |
| 31 | + <uses-library android:name="com.google.android.maps" /> |
| 32 | + |
| 33 | + <activity android:name="com.example.android.apis.MapsDemo" android:label="MapsDemo"> |
| 34 | + <intent-filter> |
| 35 | + <category android:name="android.intent.category.LAUNCHER"></category> |
| 36 | + <action android:name="android.intent.action.MAIN"></action> |
| 37 | + </intent-filter> |
| 38 | + </activity> |
| 39 | + |
| 40 | + <!-- ************************************* --> |
| 41 | + <!-- VIEW/WIDGET PACKAGE SAMPLES --> |
| 42 | + <!-- ************************************* --> |
| 43 | + |
| 44 | + <activity android:name="com.example.android.apis.view.MapViewDemo" android:label="MapView"> |
| 45 | + <intent-filter> |
| 46 | + <action android:name="android.intent.action.MAIN" /> |
| 47 | + <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 48 | + </intent-filter> |
| 49 | + </activity> |
| 50 | + |
| 51 | + <activity android:name="com.example.android.apis.view.MapViewCompassDemo" android:label="MapView and Compass"> |
| 52 | + <intent-filter> |
| 53 | + <action android:name="android.intent.action.MAIN" /> |
| 54 | + <category android:name="android.intent.category.SAMPLE_CODE" /> |
| 55 | + </intent-filter> |
| 56 | + </activity> |
| 57 | + </application> |
| 58 | +</manifest> |
0 commit comments