java - Intent filter for android downloads -


this question exact duplicate of:

i have made download manager android, problem don't know intent use fire download manager instead of default manager of android download browser. can ?

we use below intent trigger download

intent intent = new intent(intent.action_view, uri.parse(httppathtofile)); 

here if httppathtofile http url, browser start downloading it. can listen action view here, , if url can take care of accordingly.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -