launch the app on Hardware camera button click

This commit is contained in:
tibbi
2016-06-18 00:12:58 +02:00
parent 56c05cb737
commit bc3af7e6bc
3 changed files with 26 additions and 1 deletions

View File

@@ -46,5 +46,15 @@
android:name=".AboutActivity"
android:label="@string/about"
android:screenOrientation="portrait"/>
<receiver
android:name=".HardwareShutterReceiver"
android:enabled="true"
android:exported="true">
<intent-filter android:priority="999">
<action android:name="android.intent.action.CAMERA_BUTTON"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</receiver>
</application>
</manifest>