60
// TextMessage textmessage = (TextMessage) clientConn.newMessage(MessageConnection.TEXT_MESSAGE);
61
//textmessage.setAddress("sms://9198539599");
62
// textmessage.setPayloadText(username);
63
// clientConn.send(textmessage);
64
BinaryMessage bm=(BinaryMessage)clientConn.newMessage(MessageConnection.BINARY_MESSAGE);
65
String ourContent="0605040B8423F0" +
66
"02056A0045C60C037777772E6465762E6D6F62692F69735F66756E2E68746D6C0" +
67
"011033635333200070103446576446F744D6F62692069732046756E2021000101";
68
bm.setPayloadData(convertHexToBinary(ourContent));
60
TextMessage textmessage = (TextMessage) clientConn.newMessage(MessageConnection.TEXT_MESSAGE);
61
textmessage.setAddress("sms://9198539599");
62
textmessage.setPayloadText(username);
63
clientConn.send(textmessage);
64
/*BinaryMessage bm=(BinaryMessage)clientConn.newMessage(MessageConnection.BINARY_MESSAGE);
65
String ourContent="0605040B8423F0" +
66
"02056A0045C60C037777772E6465762E6D6F62692F69735F66756E2E68746D6C0" +
67
"011033635333200070103446576446F744D6F62692069732046756E2021000101";
68
bm.setPayloadData(convertHexToBinary(ourContent));
69
clientConn.send(bm);*/