Hi,
is there any limit for the size of the UnitySendMessage() parameters? Want to pass JSON content up to 1 KB… Will that work?
Thx,
Ekki
Hi,
is there any limit for the size of the UnitySendMessage() parameters? Want to pass JSON content up to 1 KB… Will that work?
Thx,
Ekki
Hi Ekki,
I am also checking whether any limitation for UnitySendMessage() parameters. Did you have any information on this?
Thanks,
Soumya
There are no well defined limitations.
Hi
UnitySendMessage() allows only strings right? any other mechanism for communication from java to UnityLibrary?
Thanks,
Soumya
Thank you Aurimas-Cernius.
This from Unity to Java and the callback. Right? I hope there is also no size limitations. It would be great if you have any sample project link that includes java part also.
Thanks in Advance
Soumya
Have a look at code sample provided in documentation. It contains AndroidJavaClass and AndroidJavaObject which let you create Java objects and call methods on them, while AndroidJavaProxy lets you implement Java interface in C#, giving ability to call back.
There is also this: Unity - Manual: Create and use plug-ins in Android
Hi
I am trying to use the below feature, for that I am searching for the communication mechanism and its limitations.
and I saw a post like
Thanks,
Soumya
Hi
Can I pass more than one parameter using UnitySendMessage from android to unity