Receiving Event, if a file was downloaded/ added to download folder

后端 未结 3 1313
一整个雨季
一整个雨季 2021-02-01 23:25

I would like to receive an event whenever a file was added to a specific folder, e.g. the download folder. To reach this I tried 3 different approaches without any success. The

3条回答
  •  太阳男子
    2021-02-02 00:13

    Your 3rd approach is the best one and the most efficient one. However try using the full package name in your receiver tag in the Manifest. The problem is that the action is sent to a receiver that is not found. For example:

    
        
            
        
    
    

提交回复
热议问题