I've not wrapped my head around the Reflection library yet. And I very much desire to know what it can and cannot do, and the correct approach to do it. Hopefully this example will be enough to understand it once for all.
Could anybody share some luminous expertise into this subject?
Dim r As Reflector
Dim rotation As Int
r.Target = r.GetActivity
r.Target = r.RunMethod("getWindowManager")
r.Target = r.RunMethod("getDefaultDisplay")
rotation = r.RunMethod("getRotation")
Log(rotation)