I'm trying to get to get this Java value
in B4A.
I've tried with
But I get the error that "getDimension" is not unknown. I'm doing something wrong, but what?
B4X:
int height = (int) res.getDimension(android.R.dimen.notification_large_icon_height);
I've tried with
B4X:
Dim r As Reflector
r.Target = r.GetContext
r.Target = r.RunMethod("getResources")
r.Target = r.RunMethod("getDimension")
Log(r.GetField("notification_large_icon_height"))
But I get the error that "getDimension" is not unknown. I'm doing something wrong, but what?