05-08-2007 02:21 AM - edited 03-15-2019 04:50 AM
Hi,
I developed a java application that send message to the IP phone using the PushMessage.java API supplied in the Cisco SDK.
The application is working great.
The problem I have is if the message I want to send is longer then 15 characters, in this case only the first 15 are displayed.
The message is not wrapped (it won?t go to the next line).
Does someone have any Idea?
Thanks!!!
05-08-2007 07:36 PM
I'm not sure if there are some other better ways to solve your problem.
In my application I wrote some codes to split the message accroding to the font I used. Suppose there is a message having 40 characters, and only 15 characters can be shown in one line. I will split the message. The first part has 15 characters, the second part has 15 characters, the third part has 10 characters. At last I display these 3 parts in 3 lines.
If there is Any better idea, please tell me.
Thanks.
05-08-2007 10:31 PM
Thanks! I will try it in my code
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide