Filipe | 14b41f8 | 2015-07-09 13:52:01 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | package="com.fairphone.programmablebutton" |
Maarten Derks | 29d1f87 | 2017-02-15 16:53:23 +0100 | [diff] [blame] | 4 | android:versionCode="10001" |
| 5 | android:versionName="1.0.1" > |
Filipe | 14b41f8 | 2015-07-09 13:52:01 +0000 | [diff] [blame] | 6 | |
| 7 | <uses-sdk |
| 8 | android:minSdkVersion="21" |
Maarten Derks | 49923b0 | 2017-02-10 21:32:58 +0100 | [diff] [blame] | 9 | android:targetSdkVersion="23" /> |
Filipe | 14b41f8 | 2015-07-09 13:52:01 +0000 | [diff] [blame] | 10 | |
| 11 | <uses-permission android:name="android.permission.CAMERA" /> |
| 12 | |
| 13 | <uses-feature android:name="android.hardware.camera" /> |
| 14 | |
| 15 | <application |
| 16 | android:allowBackup="true" |
| 17 | android:icon="@drawable/ic_launcher" |
| 18 | android:label="@string/app_name" |
| 19 | android:theme="@style/AppTheme" > |
| 20 | <activity |
| 21 | android:name=".ProgrammableButton" |
| 22 | android:label="@string/title_activity_main" > |
| 23 | <intent-filter> |
| 24 | <action android:name="android.intent.action.MAIN" /> |
| 25 | </intent-filter> |
| 26 | </activity> |
| 27 | |
| 28 | <receiver |
| 29 | android:name=".CameraButtonReceiver" |
| 30 | android:enabled="true" |
| 31 | android:exported="true"> |
| 32 | <intent-filter |
| 33 | android:priority="999"> |
| 34 | <action android:name="android.intent.action.CAMERA_BUTTON"></action> |
| 35 | <category android:name="android.intent.category.DEFAULT"></category> |
| 36 | </intent-filter> |
| 37 | </receiver> |
| 38 | </application> |
| 39 | |
| 40 | </manifest> |