title: ParcelableException: ClassNotFoundException when unmarshalling
body: <p>I am sending data from one activity to another activity from different packages.I applied intent to send and receive data.
  For sending single value its working but now I want to send object via intent so I implemented Parcelable but I am getting error that class not found.</p>
  
  <p>Here is my code.....</p>
  
  <p>Sender side Classes :-</p>
  
  <blockquote>
    <p>Sender MainActivity </p>
  </blockquote>
  
  <pre><code>public class MainActivity extends AppCompatActivity  {
  
      Button click;
      Student student = new Student(01,"Anjali");
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          click = (Button)findViewById(R.id.app1);
  
          click.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  Intent act = new Intent("com.gov.printer");
                  act.putExtra("data",student);
                  startActivity(act);
              }
          });
      }
  }
  </code></pre>
  
  <blockquote>
    <p>Student Sender class</p>
  </blockquote>
  
  <pre><code>public class Student implements Parcelable {
  
      int id;
      String name;
  
      public Student(int id, String name) {
          this.id = id;
          this.name = name;
      }
  
      public int getId() {
          return id;
      }
      public void setId(int id) {
          this.id = id;
      }
      public String getName() {
          return name;
      }
      public void setName(String name) {
          this.name = name;
      }
      public static Creator&lt;Student&gt; getCREATOR() {
          return CREATOR;
      }
      @Override
      public int describeContents() {
          return 0;
      }
      @Override
      public void writeToParcel(Parcel dest, int flags) {
          dest.writeInt(id);
          dest.writeString(name);
      }
      public static final Parcelable.Creator&lt;Student&gt; CREATOR = new Parcelable.Creator&lt;Student&gt;()
      {
  
          @Override
          public Student createFromParcel(Parcel source) {
              return new Student(source);
          }
          @Override
          public Student[] newArray(int size) {
              return new Student[size];  }
      };
      private Student(Parcel in){
      }
  }
  </code></pre>
  
  <blockquote>
    <p>Receiver side Classes:-</p>
    
    <p>Student receiver class</p>
  </blockquote>
  
  <pre><code>   public class Student implements Parcelable{
  
          int id;
          String name;
  
          public int get Id() {
              return id;
          }
          public void setId(int id) {
              this.id = id;
          }
          public String getName() {
              return name;
          }
          public void setName(String name) {
              this.name = name;
          }
          public static Creator&lt;Student&gt; getCREATOR() {
              return CREATOR;
          }
          @Override
          public int describeContents() {
              return 0;
  
          }
          @Override
          public void writeToParcel(Parcel dest, int flags) {
          }
          public static final Parcelable.Creator&lt;Student&gt; CREATOR = new Parcelable.Creator&lt;Student&gt;()
          {
  
              @Override
              public Student createFromParcel(Parcel source) {
                  return new Student(source);
              }
              @Override
              public Student[] newArray(int size) {
                  return new Student[size];
              }
          };
          private Student(Parcel in){
              this.name = in.readString();
              this.id = in.readInt();
          }
      }
  </code></pre>
  
  <blockquote>
    <p>Receiver MainActivity </p>
  </blockquote>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      TextView getdata;
      String TAG ="Main";
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          getdata = (TextView)findViewById(R.id.textapp);
          Intent in = getIntent();
          if (in.getAction().equals("com.gov.printer"));
          {
              Student student = in.getParcelableExtra("data");
              Log.e(TAG,"data is"+student);
              getdata.setText("name:-" +student.getName()+"\n"
                      +"ID:- " +student.getId());
          }
      }
  </code></pre>