1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright 2014 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 19<sample> 20 <name>MediaEffects</name> 21 <group>Media</group> 22 <package>com.example.android.mediaeffects</package> 23 24 <!-- change minSdk if needed--> 25 <minSdk>14</minSdk> 26 27 <!-- Include additional dependencies here.--> 28 <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency --> 29 30 <strings> 31 <intro> 32 <![CDATA[ 33 This sample shows how to use the Media Effects APIs that were introduced in Android 4.0. 34 These APIs let you apply effects to image frames represented as OpenGL ES 2.0 textures. 35 Image frames can be images loaded from disk, frames from the device\'s camera, or other 36 video streams. 37 ]]> 38 </intro> 39 </strings> 40 41 <template src="base"/> 42 <template src="FragmentView"/> 43 <common src="logger"/> 44 <common src="activities"/> 45 46 <metadata> 47 <status>PUBLISHED</status> 48 <categories>Media, OpenGL</categories> 49 <technologies>Android</technologies> 50 <languages>Java</languages> 51 <solutions>Mobile</solutions> 52 <level>ADVANCED</level> 53 <icon>screenshots/icon-web.png</icon> 54 <screenshots> 55 <img>screenshots/menu.png</img> 56 <img>screenshots/duotone.png</img> 57 </screenshots> 58 <api_refs> 59 <android>android.media.effect.Effect</android> 60 <android>android.media.effect.EffectContext</android> 61 <android>android.media.effect.EffectFactory</android> 62 <android>android.opengl.GLSurfaceView</android> 63 </api_refs> 64 65 <description> 66<![CDATA[ 67This sample shows how to use the Media Effects APIs that were 68introduced in Android 4.0. 69]]> 70 </description> 71 72 <intro> 73<![CDATA[ 74The [Media Effects APIs][1] lets you apply effects to image frames 75represented as OpenGL ES 2.0 textures. Image frames can be images 76loaded from disk, frames from the device's camera, or other video 77streams. 78 79For a list of available effects, refer to [EffectsFactory][2]. 80 81[1]: http://developer.android.com/reference/android/media/effect/package-summary.html 82[2]: http://developer.android.com/reference/android/media/effect/EffectFactory.html 83]]> 84 </intro> 85 </metadata> 86 87</sample> 88