• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating UDH of message in java

 
soumya dash
Greenhorn
Posts: 14
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create UDH of a message string.

I am doing these following operations:

and the result should be : udhlen=5 so that I'll get the UDH in my desired format.

But, for certain messages, the udhlen is coming negative. I did something to handle the negative value of (int)msgarr[i] yet my purpose is not fulfilled.

I am new in SMS technology. Please help me to improve my code and solve the issue. Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic