07-16-2004 01:30 PM - modifié 03-13-2019 05:40 AM
Hi. Guys. My boss requires me develop a gif animation application. for Cisco IP phone 7970 by using java or XML web services. Basically, I need to draw some dogs that run on the color screen by using gif animation. Later, when a user touches the screen, a food can be generated and a dog can run to the food and eat it. Since I am new to the phone 7970, I have no idea about how to do it. Can somebody give me some help on this task? I would appreciate your help very much.
le 07-18-2004 05:52 AM
This link provides more information on the XML tags:
The CiscoIPPhoneGraphicFileMenu object may provide the functionality that you are looking for. With this element you designate an image to display (use a PNG image format on the 7970) and then identify "touch areas" on the screen (a touch area is a rectangular subsection of the screen). Each touch area has an associated URL that is called when pressed/touched.
You could display the CiscoIPPhoneGraphicFileMenu with all the touch areas defined to divide up the screen, set the refresh header to 1 second (or whichever value works best for you) which would allow you to change the image and provide the appearance of quasi-animation. When the user touches the screen that will cause the phone to call the URL for that touch area which can then display the dogfood and cause the dog to run towards the dogfood.
For more information on this, you may want to get the IP Phone SDK, available from Cisco's Developer Support program. The SDK provides more information on developing applications for the IP Phones, and has example applications in both ASP and JSP.
This page describes the IP Phone SDK:
This page describes the Cisco Developer Support Program:
http://www.cisco.com/pcgi-bin/dev_support/access_level/product_support
le 07-19-2004 09:59 AM
Thank you very much for your response. I'll look at the documents carefully to see how it works.
le 07-20-2004 10:39 PM
@aaron: does the 7970 support animated images to begin with? that's news to me.
I'd have written a service that auto-refreshes and displays a new image each time to get to the animation
le 07-21-2004 04:14 AM
Hi Stephan,
I am not aware of any animated-gif support on any of the phones. What I had intended with the above (which may not have been clear) was to set the refresh to keep retrieving new images, as you noted.
Sorry for the confusion!
Découvrez et enregistrez vos notes préférées. Revenez pour trouver les réponses d'experts, des guides étape par étape, des sujets récents et bien plus encore.
Êtes-vous nouveau ici? Commencez par ces conseils. Comment utiliser la communauté Guide pour les nouveaux membres