Android error in making extension


Hi. I am currently making a game that is targeted on android platform. I am currently using gamemaker 1.4
All I want is to make my game appear in the the sharing options.

(something like this)

If a user select my game, I would want my game to be opened, get the link as an input and save it in a certain variable or in a ds_map (just like the one with asynchronous event)

I googled a lot and I realized that I need to create an extension to do this task.
The first thing the google told me to do is to inject code in AndroidMainfest.xml

So, I inserted the code below.

         <action android:name="android.intent.action.SEND" />
         <category                android:name="android.intent.category.DEFAULT" />
         <data android:mimeType="text/*" />

And it didn't appear in the share screen. I got stuck in the first step.
I inserted the same code in android studio and it worked.

I am wondering if there is a necessary prior process that I missed or simply, whether the task I want is even possible.