Reflection and float array types?

lucad

Member
Licensed User
Longtime User
Hi ! / Help!

just to know whether is possible the use of Reflector when the running method requires a string array of type names, and these names are arrays

example

getRotationMatrix( float [] Rv, float [] Iv, float [] AC, float [] GM )

in case we wish to Reflect, we should Target/Run passing the Array as Object _and _the Array as String

String array is mandatory as it is reporting the variables type

R.Target =R.CreateObject ("android.hardware.SensorManager")
R.RunPublicmethod ("getRotationMatrix", Array As Object ( Rv, Iv, AC, GM ),Array As String ("?java.float.array?",,???", "???t", "???", "????"))
:BangHead:

I hope someone can throw light on this for me!
Thank you

Luca
 
Top