Code example for Messenger

0
            } catch (RemoteException e) { 
            } 
        } 
    }; 
     
    private final Messenger mMessenger = new Messenger(mHandler);
     
    public MessengerService() { 
    } 
 
    @Override 
    public IBinder onBind(Intent intent) {
        return mMessenger.getBinder();
    } 
} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE