How can I use NativeObject with B4XPages in this code?:
B4X:
Private no As NativeObject = Me
Log(no.RunMethod("deviceName", Null).AsString)
Log(no.Initialize("NSLocale").RunMethod("preferredLanguages", Null).RunMethod("objectAtIndex:", Array(0)).AsString)
Log(no.RunMethod("deviceName", Null).AsString)
Log(no.Initialize("NSBundle").RunMethod("mainBundle", Null).RunMethod("objectForInfoDictionaryKey:", Array("CFBundleDisplayName")).AsString)