title: RuntimeException: Unable to instantiate receiver
body: <p>I am attempting to launch an activity after the screen is unlocked and am getting the error log below. I looked at the other posts regarding my issue but now of them solved my problem</p>
  
  <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main
          java.lang.RuntimeException: Unable to instantiate receiver com.me.phone.Receive: java.lang.ClassNotFoundException: com.me.phone.Receive
          at android.app.ActivityThread.handleReceiver(ActivityThread.java:2239)
          at android.app.ActivityThread.access$1600(ActivityThread.java:139)
          at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1300)
          at android.os.Handler.dispatchMessage(Handler.java:99)
          at android.os.Looper.loop(Looper.java:137)
          at android.app.ActivityThread.main(ActivityThread.java:4918)
          at java.lang.reflect.Method.invokeNative(Native Method)
  </code></pre>
  
  <p>Mainifest
         
      </p>
  
  <pre><code>    &lt;uses-sdk
          android:minSdkVersion="14"
          android:targetSdkVersion="17" /&gt;
  
      &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" /&gt;
  
      &lt;uses-feature android:name="android.hardware.camera" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="com.me.phone.MainActivity"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
          &lt;receiver android:name=".Recieve" &gt;
              &lt;intent-filter
                  android:enabled="true"
                  android:exported="false" &gt;
                  &lt;action android:name="android.intent.action.USER_PRESENT" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
  
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Reciever </p>
  
  <pre><code>    package com.me.phone;
  
  import android.content.BroadcastReceiver;
  import android.content.Context;
  import android.content.Intent;
  
  public class Recieve extends BroadcastReceiver{
  
      @Override
      public void onReceive(Context context, Intent intent) 
      {
          Intent activity = new Intent(context, MainActivity.class);
          activity.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
          context.startActivity(activity);
      }
  
  }
  </code></pre>