<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.samples.telephony.receiversms"
      android:versionCode="1"
      android:versionName="1.0">

    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <receiver android:name="SmsReceiver">
         <intent-filter>
            <action android:name="android.provider.Telephony.SMS_RECEIVED" />
         </intent-filter>
        </receiver>
    </application>
   <uses-permission android:name="android.permission.RECEIVE_SMS" />

</manifest>