Code example for RemoteException

Methods: printStackTrace

0
        if (mService != null) {
            try { 
                // 前の曲へ 
                mService.prev();
            } catch (RemoteException e) {
                e.printStackTrace();
            } 
        } 
    } 
 
    public void onStopButton(View view) {
        if (mService != null) {
            try { 
                // 停止 
                mService.stop();
            } catch (RemoteException e) {
                e.printStackTrace();
            } 
        } 
    }