AddReceiverText(headsetinout,
<intent-filter>
<action android:name="android.intent.action.HEADSET_PLUG" />
</intent-filter>)
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")