cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
265
Views
4
Helpful
2
Replies

push2phone PushMessage.java displays only the first 15 characters

aaavvvmmm
Level 1
Level 1

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 2

cook.bull
Level 1
Level 1

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.

Thanks! I will try it in my code

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: