Home | History | Annotate | Download | only in MusicVisualization
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 **
      5 ** Copyright 2008, The Android Open Source Project
      6 **
      7 ** Licensed under the Apache License, Version 2.0 (the "License");
      8 ** you may not use this file except in compliance with the License.
      9 ** You may obtain a copy of the License at
     10 **
     11 **     http://www.apache.org/licenses/LICENSE-2.0
     12 **
     13 ** Unless required by applicable law or agreed to in writing, software
     14 ** distributed under the License is distributed on an "AS IS" BASIS,
     15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 ** See the License for the specific language governing permissions and
     17 ** limitations under the License.
     18 */
     19 -->
     20 <manifest
     21     xmlns:android="http://schemas.android.com/apk/res/android"
     22     package="com.android.musicvis">
     23 
     24     <original-package android:name="com.android.musicvis" />
     25 
     26     <uses-feature android:name="android.software.live_wallpaper" />
     27     <uses-permission android:name="android.permission.RECORD_AUDIO" />
     28     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
     29 
     30     <application
     31         android:label="@string/wallpapers"
     32         android:icon="@drawable/ic_launcher_wallpaper">
     33 
     34         <!-- Visualizer Wallpaper -->
     35         <!-- this wallpaper isn't very good, so disable it (using android:enabled=false doesn't work here for some reason)
     36         <service
     37             android:label="@string/wallpaper_vis1"
     38             android:name=".vis1.Visualization1"
     39             android:permission="android.permission.BIND_WALLPAPER"
     40             android:enabled="@bool/config_enable_vis1"
     41             >
     42             <intent-filter>
     43                 <action android:name="android.service.wallpaper.WallpaperService" />
     44             </intent-filter>
     45             <meta-data android:name="android.service.wallpaper" android:resource="@xml/cube" />
     46         </service>
     47         -->
     48 
     49         <!-- Waveform Wallpaper -->
     50         <service
     51             android:label="@string/wallpaper_vis2"
     52             android:name=".vis2.Visualization2"
     53             android:permission="android.permission.BIND_WALLPAPER"
     54             android:enabled="@bool/config_enable_vis2"
     55             >
     56             <intent-filter>
     57                 <action android:name="android.service.wallpaper.WallpaperService" />
     58             </intent-filter>
     59             <meta-data android:name="android.service.wallpaper" android:resource="@xml/vis2" />
     60         </service>
     61 
     62         <!-- Spectrum Wallpaper -->
     63         <service
     64             android:label="@string/wallpaper_vis3"
     65             android:name=".vis3.Visualization3"
     66             android:permission="android.permission.BIND_WALLPAPER"
     67             android:enabled="@bool/config_enable_vis3"
     68             >
     69             <intent-filter>
     70                 <action android:name="android.service.wallpaper.WallpaperService" />
     71             </intent-filter>
     72             <meta-data android:name="android.service.wallpaper" android:resource="@xml/vis3" />
     73         </service>
     74 
     75         <!-- VU Meter Wallpaper -->
     76         <service
     77             android:label="@string/wallpaper_vis4"
     78             android:name=".vis4.Visualization4"
     79             android:permission="android.permission.BIND_WALLPAPER"
     80             android:enabled="@bool/config_enable_vis4"
     81             >
     82             <intent-filter>
     83                 <action android:name="android.service.wallpaper.WallpaperService" />
     84             </intent-filter>
     85             <meta-data android:name="android.service.wallpaper" android:resource="@xml/vis4" />
     86         </service>
     87 
     88         <!-- Many Wallpaper -->
     89         <service
     90             android:label="@string/wallpaper_vis5"
     91             android:name=".vis5.Visualization5"
     92             android:permission="android.permission.BIND_WALLPAPER"
     93             android:enabled="@bool/config_enable_vis5"
     94             >
     95             <intent-filter>
     96                 <action android:name="android.service.wallpaper.WallpaperService" />
     97             </intent-filter>
     98             <meta-data android:name="android.service.wallpaper" android:resource="@xml/vis5" />
     99         </service>
    100 
    101     </application>
    102 
    103 </manifest>
    104