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
to download the picture file from the Internet and store it on your mobile's c: drive.

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 map script

Example: wheather info script

Example: rss reader script

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Previous | Next | Menu     Copyright (c) 2006 Jurgen Scheible