Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

push2phone PushMessage.java displays only the first 15 characters

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

2 REPLIES
New Member

Re: push2phone PushMessage.java displays only the first 15 chara

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.

New Member

Re: push2phone PushMessage.java displays only the first 15 chara

Thanks! I will try it in my code

119
Views
4
Helpful
2
Replies
CreatePlease to create content