Code example for Parcel

Methods: writeIntwriteNoException

0
} 
case TRANSACTION_getProduct: 
{ 
data.enforceInterface(DESCRIPTOR); 
Product _result = this.getProduct(); 
reply.writeNoException(); 
if ((_result!=null)) { 
reply.writeInt(1); 
_result.writeToParcel(reply, android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUE); 
} 
else { 
reply.writeInt(0); 
} 
return true; 
} 
} 
return super.onTransact(code, data, reply, flags); 
} 
private static class Proxy implements net.blogjava.mobile.complex.type.aidl.IMyService 
{