File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes creating UDH of message in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "creating UDH of message in java" Watch "creating UDH of message in java" New topic

creating UDH of message in java

soumya dash

Joined: Jul 17, 2012
Posts: 14

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.
I agree. Here's the link:
subject: creating UDH of message in java
It's not a secret anymore!