Source

android-widget-tutorial / AndroidManifest.xml

Full commit
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
	package="com.hascode.android.screenlock" android:versionCode="1"
	android:versionName="1.0">
	<uses-sdk android:minSdkVersion="8" />
	<uses-permission android:name="android.permission.WRITE_SETTINGS"></uses-permission>

	<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
		<service android:enabled="true" android:name="LockControlService">
		</service>
		<receiver android:name="LockControlWidgetProvider">
			<intent-filter>
				<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
			</intent-filter>
			<meta-data android:name="android.appwidget.provider"
				android:resource="@xml/lockwidget_provider" />
		</receiver>

	</application>
</manifest>