How to use UnitySendMessage on Android

I have import com.unity3d.player.UnityPlayerActivity (no problem)

but for some reason I cannot seem to use UnityPlayerActivity.UnitySendMessage …

cannot find symbol
[javac] symbol : method UnitySendMessage(java.lang.String,java.lang.String,java.lang.String)
[javac] location: class com.unity3d.player.UnityPlayerActivity
[javac] UnityPlayerActivity.UnitySendMessage(“Main Camera”,“FingerTouch”,“ypi”);

What I’m using currently is:

import com.unity3d.player.*;

com.unity3d.player.UnityPlayer.UnitySendMessage(“ObjectName”, “functionName”, “param”);

Where are you putting the sendmessage call? For some reason I cannot seem to receive on the Unity end

do you ensure that you call it after Unity is running (not paused from the outside and not on timescale 0) and the game object with the specified function name is present within the scene?

Don’t know if you already found it.
But you are using UnityPlayerActivity.UnitySendMessage
But that is wrong you need to use UnityPlayer.UnitySendMessage (so not the activity)