Android intent filter for a particular file extension?

后端 未结 15 1531
我寻月下人不归
我寻月下人不归 2020-11-22 16:04

I want to be able to download a file with a particular extension from the \'net, and have it passed to my application to deal with it, but I haven\'t been able to figure out

15条回答
  •  爱一瞬间的悲伤
    2020-11-22 16:35

    Brian's answer is very close, but here's a clean and error-free way to have your app invoked when trying to open a file with your own custom extension (no need for scheme or host):

    
        
        
        
        
        
    
    

提交回复
热议问题