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? -

html - Unable to style the color of bullets in a list -

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