blob: 2a99856c4b373b98614bbe3abe2fac7281ecf406 [file] [log] [blame]
Alexander Lucas9f935c72011-01-11 17:24:40 -08001<?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 Mainddd0d0c2011-08-24 15:21:03 -070018 package="com.example.android.hcgallery" android:versionCode="2"
Scott Mainc05bf092011-09-21 15:35:45 -070019 android:versionName="1.5">
Alexander Lucas9f935c72011-01-11 17:24:40 -080020
Scott Mainc05bf092011-09-21 15:35:45 -070021 <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="14" />
Scott Mainddd0d0c2011-08-24 15:21:03 -070022
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 Nurikf4f345d2011-02-04 15:27:25 -080028
Alexander Lucas9f935c72011-01-11 17:24:40 -080029 <uses-permission android:name="android.permission.CAMERA" />
Roman Nurikf4f345d2011-02-04 15:27:25 -080030 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Alexander Lucas9f935c72011-01-11 17:24:40 -080031
32 <application android:label="@string/app_name"
33 android:icon="@drawable/icon"
34 android:logo="@drawable/logo"
Roman Nurikf4f345d2011-02-04 15:27:25 -080035 android:theme="@style/AppTheme.Light"
Scott Mainddd0d0c2011-08-24 15:21:03 -070036 android:hardwareAccelerated="true">
Alexander Lucas9f935c72011-01-11 17:24:40 -080037
Roman Nurikf4f345d2011-02-04 15:27:25 -080038 <activity android:name=".MainActivity"
39 android:label="@string/app_name"
40 android:launchMode="singleTop">
Alexander Lucas9f935c72011-01-11 17:24:40 -080041 <intent-filter>
42 <action android:name="android.intent.action.MAIN" />
43 <category android:name="android.intent.category.LAUNCHER" />
44 </intent-filter>
Roman Nurikf4f345d2011-02-04 15:27:25 -080045 <intent-filter>
46 <action android:name="com.example.android.hcgallery.action.DIALOG" />
47 <category android:name="android.intent.category.DEFAULT" />
48 </intent-filter>
Alexander Lucas9f935c72011-01-11 17:24:40 -080049 </activity>
50
Scott Mainddd0d0c2011-08-24 15:21:03 -070051 <!-- Holds the ContentFragment for small/normal screens -->
52 <activity android:name=".ContentActivity" />
53
54 <!-- Camera Sample -->
55 <activity android:name=".CameraActivity"
Alexander Lucas9f935c72011-01-11 17:24:40 -080056 android:label="@string/camera_sample"
57 android:screenOrientation="landscape" />
Alexander Lucas9f935c72011-01-11 17:24:40 -080058 </application>
59</manifest>