android pass object from activity to service code example
Example 1: android pass object to activity
Intent intent = new Intent(fromClass.this,toClass.class).putExtra("myCustomerObj",customerObj);
Example 2: android pass object to activity
Customer customerObjInToClass = getIntent().getExtras().getParcelable("myCustomerObj");