Code example for IBinder

Methods: transact

0
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try { 
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_stop, _data, _reply, 0);
_reply.readException();
} 
finally { 
_reply.recycle();
_data.recycle();
} 
} 
public int state() throws android.os.RemoteException 
{ 
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
int _result;
try { 
_data.writeInterfaceToken(DESCRIPTOR);
Stop searching for code, let great code find you!  Add Codota to your java IDE