1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram

  5. Delphifan Magazine
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Android file download problem.

Discussion in 'Delphi Help&Requests' started by alfonso, May 20, 2014.

  1. alfonso
    Offline

    alfonso DF Junior

    ListBox which is listed on each of the links you want to download. But I could not find a command associated with the download. I would appreciate if you can help.
     
  2. AdminDF
    Online

    AdminDFAdminDF is a Verified Member Delphifan Staff Member DF Staff

    You can install this component for this case.

    http://www.delphifan.com/forum/Thread-DPF-Android-Native-Component-Suite-For-Delphi-XE6?highlight=dpf

    In folder you can find some examples for download upload etc.
     
  3. alfonso
    Offline

    alfonso DF Junior

    Thank you very much. This will be very useful to me.
     
  4. alfonso
    Offline

    alfonso DF Junior

    Links After installing the plugin. When I drag and drop mobile application DPFJHTTP. App does not open and stopped giving error.
     
  5. alfonso
    Offline

    alfonso DF Junior

    I've solved the problem in this way.


    Code:
    procedure TForm1.Button1Click(Sender: TObject);
    var
     ms:TMemoryStream;
    begin
      ms:=TMemoryStream.Create;
      Idhttp1.get(ListBox1.Selected.Text,ms);
      ms.SaveToFile('/sdcard/DCIM/'+ExtractFileName(ListBox1.Selected.Text));
      ms.Free;
    //httpDown.StartDownload(ListBox1.Selected.Text,'/sdcard/DCIM/'+ExtractFileName(ListBox1.Selected.Text));
    end;
     
  6. AdminDF
    Online

    AdminDFAdminDF is a Verified Member Delphifan Staff Member DF Staff

    it is ok but if you dont any sdcard it is work?
     
  7. alfonso
    Offline

    alfonso DF Junior

    My main problem was not downloading. Add DPFJHTTP my project when I did not open the program on my phone.
     
  8. AdminDF
    Online

    AdminDFAdminDF is a Verified Member Delphifan Staff Member DF Staff

    i try this and after result write here ok
     

Share This Page