diff options
-rw-r--r-- | AndroidManifest.xml | 26 | ||||
-rw-r--r-- | res/mipmap-hdpi/ic_launcher_video_camera.png | bin | 0 -> 7051 bytes | |||
-rw-r--r-- | res/mipmap-mdpi/ic_launcher_video_camera.png | bin | 0 -> 3482 bytes | |||
-rw-r--r-- | res/values/strings.xml | 2 |
4 files changed, 18 insertions, 10 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 1020116fe..332253f19 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -54,20 +54,10 @@ android:windowSoftInputMode="stateAlwaysHidden|adjustPan" > <intent-filter> <action android:name="android.media.action.IMAGE_CAPTURE" /> - <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> <action android:name="android.media.action.STILL_IMAGE_CAMERA" /> - - <category android:name="android.intent.category.DEFAULT" /> - </intent-filter> - <intent-filter> - <action android:name="android.media.action.VIDEO_CAMERA" /> - <category android:name="android.intent.category.DEFAULT" /> - </intent-filter> - <intent-filter> - <action android:name="android.media.action.VIDEO_CAPTURE" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> @@ -93,6 +83,22 @@ </intent-filter> </activity-alias> + <!-- Video camera and capture use the Camcorder label and icon. --> + <activity-alias + android:name="com.android.camera.VideoCamera" + android:icon="@mipmap/ic_launcher_video_camera" + android:label="@string/video_camera_label" + android:targetActivity="com.android.camera.CameraActivity"> + <intent-filter> + <action android:name="android.media.action.VIDEO_CAMERA" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + <intent-filter> + <action android:name="android.media.action.VIDEO_CAPTURE" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + </activity-alias> + <activity android:name="com.android.camera.SecureCameraActivity" android:clearTaskOnLaunch="true" diff --git a/res/mipmap-hdpi/ic_launcher_video_camera.png b/res/mipmap-hdpi/ic_launcher_video_camera.png Binary files differnew file mode 100644 index 000000000..d24265729 --- /dev/null +++ b/res/mipmap-hdpi/ic_launcher_video_camera.png diff --git a/res/mipmap-mdpi/ic_launcher_video_camera.png b/res/mipmap-mdpi/ic_launcher_video_camera.png Binary files differnew file mode 100644 index 000000000..19f0e64e2 --- /dev/null +++ b/res/mipmap-mdpi/ic_launcher_video_camera.png diff --git a/res/values/strings.xml b/res/values/strings.xml index 9639f604b..2d8684850 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -17,6 +17,8 @@ <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- The name of the Android Camera application. [CHAR LIMIT=16] --> <string name="app_name">Camera</string> + <!-- The label for the Video Camera activity. [CHAR LIMIT=16] --> + <string name="video_camera_label">Camcorder</string> <!-- Used to format short video duration in Details dialog. minutes:seconds e.g. 00:30 --> <string name="details_ms">%1$02d:%2$02d</string> <!-- Used to format video duration in Details dialog. hours:minutes:seconds e.g. 0:21:30 --> |