Excercise: Download and viewing of a picture and a video
• Program an application that downloads a picture and a video from the internet (from a certain URL) and open them for viewing. 1. Use the script of the "video downloading and playing" exercise and add in the application menu 1 item called get picture . 2. Create a function called get_picture. Use also the url.retrieve function 3. Use also the content handler to open the picture for viewing.
Example file: ex_image_download.py
If you are finnished: Check out these examples provided by Nokia and analyse the functions inside:
Example: wheather info script Example: rss reader script
|
|
|
|