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”);
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)