*
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
Author

creating UDH of message in java

soumya dash
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: creating UDH of message in java
 
Similar Threads
Language doubt
incompatible types: found double required float error;
how to solve this type of stackoverflowerror...
Java Encryption and Decryption
java.lang.NullPointerException error