Alexander Lucas | 9f935c7 | 2011-01-11 17:24:40 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2011 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Scott Main | ddd0d0c | 2011-08-24 15:21:03 -0700 | [diff] [blame] | 18 | package="com.example.android.hcgallery" android:versionCode="2" |
Scott Main | c05bf09 | 2011-09-21 15:35:45 -0700 | [diff] [blame] | 19 | android:versionName="1.5"> |
Alexander Lucas | 9f935c7 | 2011-01-11 17:24:40 -0800 | [diff] [blame] | 20 | |
Scott Main | c05bf09 | 2011-09-21 15:35:45 -0700 | [diff] [blame] | 21 | <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="14" /> |
Scott Main | ddd0d0c | 2011-08-24 15:21:03 -0700 | [diff] [blame] | 22 | |
| 23 | <!-- Declares that the app supports devices w/o touch, such as a mouse-driven device |
| 24 | or a device that provides only a d-pad for navigation --> |
| 25 | <uses-feature android:name="android.hardware.touchscreen" android:required="false" /> |
| 26 | <!-- The app uses the camera, but checks for it at runtime and will work without it --> |
| 27 | <uses-feature android:name="android.hardware.camera" android:required="false" /> |
Roman Nurik | f4f345d | 2011-02-04 15:27:25 -0800 | [diff] [blame] | 28 | |
Alexander Lucas | 9f935c7 | 2011-01-11 17:24:40 -0800 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.CAMERA" /> |
Roman Nurik | f4f345d | 2011-02-04 15:27:25 -0800 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Alexander Lucas | 9f935c7 | 2011-01-11 17:24:40 -0800 | [diff] [blame] | 31 | |
| 32 | <application android:label="@string/app_name" |
| 33 | android:icon="@drawable/icon" |
| 34 | android:logo="@drawable/logo" |
Roman Nurik | f4f345d | 2011-02-04 15:27:25 -0800 | [diff] [blame] | 35 | android:theme="@style/AppTheme.Light" |
Scott Main | ddd0d0c | 2011-08-24 15:21:03 -0700 | [diff] [blame] | 36 | android:hardwareAccelerated="true"> |
Alexander Lucas | 9f935c7 | 2011-01-11 17:24:40 -0800 | [diff] [blame] | 37 | |
Roman Nurik | f4f345d | 2011-02-04 15:27:25 -0800 | [diff] [blame] | 38 | <activity android:name=".MainActivity" |
| 39 | android:label="@string/app_name" |
| 40 | android:launchMode="singleTop"> |
Alexander Lucas | 9f935c7 | 2011-01-11 17:24:40 -0800 | [diff] [blame] | 41 | <intent-filter> |
| 42 | <action android:name="android.intent.action.MAIN" /> |
| 43 | <category android:name="android.intent.category.LAUNCHER" /> |
| 44 | </intent-filter> |
Roman Nurik | f4f345d | 2011-02-04 15:27:25 -0800 | [diff] [blame] | 45 | <intent-filter> |
| 46 | <action android:name="com.example.android.hcgallery.action.DIALOG" /> |
| 47 | <category android:name="android.intent.category.DEFAULT" /> |
| 48 | </intent-filter> |
Alexander Lucas | 9f935c7 | 2011-01-11 17:24:40 -0800 | [diff] [blame] | 49 | </activity> |
| 50 | |
Scott Main | ddd0d0c | 2011-08-24 15:21:03 -0700 | [diff] [blame] | 51 | <!-- Holds the ContentFragment for small/normal screens --> |
| 52 | <activity android:name=".ContentActivity" /> |
| 53 | |
| 54 | <!-- Camera Sample --> |
| 55 | <activity android:name=".CameraActivity" |
Alexander Lucas | 9f935c7 | 2011-01-11 17:24:40 -0800 | [diff] [blame] | 56 | android:label="@string/camera_sample" |
| 57 | android:screenOrientation="landscape" /> |
Alexander Lucas | 9f935c7 | 2011-01-11 17:24:40 -0800 | [diff] [blame] | 58 | </application> |
| 59 | </manifest> |