0
我想创建一个NFC SmartPoster,拨打带动作记录类型“act”的号码。 任何人都可以告诉如何从数据包中得到动作记录类型“行为”android并检查数据包是否包含动作记录类型“行为”与否。 下面是我创建的数据包。NFC智能拨号拨打号码
/**
* Smart Poster containing a Telephone number and Action record type.
*/
public static final byte[] SMART_POSTER_Dial_Number =
new byte[] {
// SP type record
(byte) 0xd1, (byte) 0x02, (byte) 0x26, (byte) 0x53, (byte) 0x70,
// Call type record
(byte) 0xd1, (byte) 0x01, (byte) 0x0e, (byte) 0x55, (byte) 0x05, (byte) 0x2b,
(byte) 0x39, (byte) 0x31, (byte) 0x38, (byte) 0x38, (byte) 0x37, (byte) 0x32,
(byte) 0x37, (byte) 0x34, (byte) 0x33, (byte) 0x39, (byte) 0x33, (byte) 0x39,
// Action type record
(byte) 0x11, (byte) 0x03, (byte) 0x01, (byte) 0x61, (byte) 0x63, (byte) 0x74,
(byte) 0x00,
// Text type record with 'T'
(byte) 0x91, (byte) 0x01, (byte) 0x09, (byte) 0x54, (byte) 0x02, (byte) 'C',
(byte) 'a', (byte) 'l', (byte) 'l', (byte) 'i', (byte) 'n', (byte) 'g', (byte) '.'
};
请帮助..
感谢它适用于我 – Karan 2012-04-02 05:41:21
我已经接受 – Karan 2012-04-02 08:46:48
在这种情况下,答案旁边应该显示一个绿色的复选标记。我还没有看到。 – 2012-04-02 11:47:29