×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    83

    Download wallpaer (.jpg image file) on button click.

    I want to know, how can i implement download wallpaper [.jpg image] functionality in my application
    on button click or is there any other way to download image please reply.

  2. #2
    Registered User
    Join Date
    Apr 2011
    Posts
    83

    Re: Download wallpaer (.jpg image file) on button click.

    please reply ....

    I want to know, how can i implement download wallpaper [.jpg image] functionality in my application
    on button click or is there any other way to download image please reply.

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Download wallpaer (.jpg image file) on button click.

    Hi,

    Is your app a WRT widget or Series 40 web App?

    -Ilkka

  4. #4
    Registered User
    Join Date
    Apr 2011
    Posts
    83

    Re: Download wallpaer (.jpg image file) on button click.

    its a WRT application (.wgz installation file) developing for symbian 3 devices.

  5. #5
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Download wallpaer (.jpg image file) on button click.

    Something like this may work.

    HTML Code:
    <button onclick="widget.openURL('http://yourdomain.com/getimage.php');">Download photo</button>
    getimage.php

    PHP Code:

    <?php

    header
    ("Cache-Control: no-cache, must-revalidate");

    header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");  

    header('Content-type: "image/jpeg"');

    header('Content-Disposition: attachment; filename="wallpaper.jpg"');

    readfile('wallpaper.jpg');

    ?>
    -Ilkka

  6. #6
    Registered User
    Join Date
    Apr 2011
    Posts
    83

    Re: Download wallpaer (.jpg image file) on button click.

    Thanks alot isalento
    its working ........................

Similar Threads

  1. On button click, send value to textfield
    By LWCARAB in forum Symbian
    Replies: 2
    Last Post: 2010-03-18, 13:20
  2. click on button and radio button
    By videoFx in forum [Archived] Flash Lite on Nokia Devices
    Replies: 1
    Last Post: 2009-10-22, 23:29
  3. download jpg file from xml
    By apus29 in forum Symbian
    Replies: 5
    Last Post: 2009-07-15, 12:57
  4. How to create an Image from a .jpg file on the MMC card.
    By jerry.ma in forum Mobile Java General
    Replies: 1
    Last Post: 2007-05-28, 06:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×