How to handle intent filter?

Hello guys I am building an application in which I am using intent filter for action send

My android manifest Android Manifest

Here is my OnCreate method On Create Method

Here is the error Error