Home | History | Annotate | Download | only in service
      1 <?xml version="1.0" encoding="utf-8"?>
      2 
      3 <!-- Copyright (C) 2013 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 
     18 <manifest
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:versionCode="1"
     21     android:versionName="1.0"
     22     package="com.android.camera2.its">
     23   <uses-sdk android:minSdkVersion="18" android:targetSdkVersion="19"/>
     24   <uses-feature android:name="android.hardware.camera" />
     25   <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
     26   <uses-feature android:name="android.hardware.camera.front" android:required="false"/>
     27   <uses-permission android:name="android.permission.CAMERA" />
     28   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
     29   <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
     30   <application
     31       android:label="@string/app_name"
     32       android:theme="@android:style/Theme.Holo"
     33       >
     34     <service
     35         android:name=".ItsService"
     36         android:label="@string/app_name"
     37         >
     38       <intent-filter>
     39         <action android:name="com.android.camera2.its.CAPTURE"/>
     40         <category android:name="android.intent.category.DEFAULT" />
     41         <data android:mimeType="text/plain" />
     42       </intent-filter>
     43       <intent-filter>
     44         <action android:name="com.android.camera2.its.GETPROPS"/>
     45         <category android:name="android.intent.category.DEFAULT" />
     46         <data android:mimeType="text/plain" />
     47       </intent-filter>
     48       <intent-filter>
     49         <action android:name="com.android.camera2.its.3A"/>
     50         <category android:name="android.intent.category.DEFAULT" />
     51         <data android:mimeType="text/plain" />
     52       </intent-filter>
     53     </service>
     54   </application>
     55 </manifest>
     56 
     57