push2phone PushMessage.java displays only the first 15 characters

Unanswered Question
May 8th, 2007

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!!!

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
cook.bull Tue, 05/08/2007 - 19:36

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.

Actions

This Discussion