| | |
| | | import android.content.ServiceConnection; |
| | | import android.os.IBinder; |
| | | import android.os.RemoteException; |
| | | import android.text.TextUtils; |
| | | import android.util.Log; |
| | | |
| | | import java.util.LinkedList; |
| | |
| | | if (!checkRemoteIsNull()){ |
| | | try { |
| | | remoteInterface.SendCmd(cmd,s); |
| | | if(cmd == 0x8100){ |
| | | MyLog.i(TAG,"CMD="+ String.format("0x%x",cmd) +" contentLength:"+(!TextUtils.isEmpty(s)?s.length():0)); |
| | | }else{ |
| | | |
| | | MyLog.i(TAG,"CMD="+ String.format("0x%x",cmd) +" content:"+(!TextUtils.isEmpty(s)?s:"null")); |
| | | } |
| | | } catch (RemoteException e) { |
| | | e.printStackTrace(); |
| | | } |