Why isn't my app on the list of apps to open txt file?

前端 未结 3 2071
面向向阳花
面向向阳花 2020-11-28 12:53

I have an text reader app that is designed to receive intent from Android system when I click on a text file to open it. But my app isn\'t on the list popped up by the syst

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 13:35

    You have to register an ACTIVITY not a broadcast receiver with the filter attributes.

提交回复
热议问题