You cant without a plugin. I asked the same question a while back. I wanted to use a predefined function in construct 3 and call it in android studio and they said It's not possible without a custom plugin.
There is a more complicated way to do this though. What you could have is a database and when a value is set to 1 the game checks the database and if its set to 1 it will do something.
And you could have a some code in your HTML site that when a button is clicked it will set the database value to 1.