Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use button to download a file

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ineed to download a file after clicking a button.I have the URl for the file to download.can anyone help me?
 
Swastik Dey
Rancher
Posts: 1667
7
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look for the following classes

DefaultHttpClient
ResponseHandler
HttpGet
HttpPost
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!