Java 如何从SMS获取PDU
只是想知道是否有可能从SMS重新创建PDU,以及如何创建? 我看过Java 如何从SMS获取PDU,java,android,Java,Android,只是想知道是否有可能从SMS重新创建PDU,以及如何创建? 我看过 @Override public void onReceive(Context context, Intent intent) { Bundle bundle = intent.getExtras(); Object[] aPDUArray = (Object[]) bundle.get("pdus"); // Here it represent as a byte array, how can i convert it to
@Override
public void onReceive(Context context, Intent intent) {
Bundle bundle = intent.getExtras();
Object[] aPDUArray = (Object[]) bundle.get("pdus");
// Here it represent as a byte array, how can i convert it to String ?
}
好的,我刚找到答案,贴了出来