I want to add vibration and music to the home screen of my application so that when it launches, it vibrates and plays a ringtone up until the point where I tap the button to switch to another activity, at which point the tremor and sound stop. The link to my manifest file is below.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.androidpeople.tab"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.INTERNET" />
<application android:icon="@drawable/icon" android:label="@string/app_name"
android:debuggable= "true">
<uses-library android:name="com.google.android.maps" />
<activity android:name=".SplashScreen"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="currentlocmap"/>
<activity android:name="filter"/>
<activity android:name="keywordsearch"/>
<activity android:name="keywordxmlparsing" />
<activity android:name="Artistspacedetailview" />
<activity android:name="loadingimage"/>
<activity android:name="keywordpagetabs"/>
<activity android:name="filterpagetabs"/>
<activity android:name="artistspacedetailviewTab"/>
</application>
<supports-screens android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />