Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. Intent serviceIntent = new Intent(activity.getApplicationContext(), BackgroundService.class);
  2. serviceIntent.putExtra("main", this);
  3. activity.startService(serviceIntent);
  4.  
  5. java.lang.RuntimeException: Unable to start activity:java.lang.RuntimeException: Parcelable encountered IOException writing serializable object
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement