T tkristensen Member Licensed User Longtime User Apr 28, 2014 #1 I've been using the reflection library to work with the wifi classes. it's all worked really well, but one thing I haven't been able to figure out is how you would dim a new instance of an included class. One of the commands I want to issue requires you to pass in an object of class WifiConfiguration. Is there anyway to create a new instance of it? Tom
I've been using the reflection library to work with the wifi classes. it's all worked really well, but one thing I haven't been able to figure out is how you would dim a new instance of an included class. One of the commands I want to issue requires you to pass in an object of class WifiConfiguration. Is there anyway to create a new instance of it? Tom
Erel B4X founder Staff member Licensed User Longtime User Apr 29, 2014 #2 Yes. See Reflector.CreatObject2: http://www.b4x.com/android/help/reflection.html#reflector_createobject2 Note that it will probably be easier to implement with JavaObject. Upvote 0
Yes. See Reflector.CreatObject2: http://www.b4x.com/android/help/reflection.html#reflector_createobject2 Note that it will probably be easier to implement with JavaObject.