F Falcon Member Licensed User Dec 7, 2020 #1 Hi Guys, Could someone please tell me where I can find the Complete Reference to all the Reflection/Java methods available? For example the below code used the 'performClick' method, where do I find a list of all these methods? Code: Copy Dim policy As JavaObject Try policy = SpinConductorOAcompanante policy = policy.RunMethodJO("performClick", Null) Catch Log(LastException) End Try Thank you very much for your time, Regards, Jacques.
Hi Guys, Could someone please tell me where I can find the Complete Reference to all the Reflection/Java methods available? For example the below code used the 'performClick' method, where do I find a list of all these methods? Code: Copy Dim policy As JavaObject Try policy = SpinConductorOAcompanante policy = policy.RunMethodJO("performClick", Null) Catch Log(LastException) End Try Thank you very much for your time, Regards, Jacques.
agraham Expert Licensed User Longtime User Dec 7, 2020 #2 Android API reference | Android Developers API reference packages and classes for Android app developers. developer.android.com Upvote 0
Android API reference | Android Developers API reference packages and classes for Android app developers. developer.android.com
F Falcon Member Licensed User Dec 7, 2020 #3 Hi Agraham, thanks for the reply. That link looks great, but very overwhelming! Where in there would I find methods for the B4A spinner for example? ? Upvote 0
Hi Agraham, thanks for the reply. That link looks great, but very overwhelming! Where in there would I find methods for the B4A spinner for example? ?
F Falcon Member Licensed User Dec 7, 2020 #4 What I'm actually trying to do is find a method to close the spinner programmatically. Is there such a method? Upvote 0
What I'm actually trying to do is find a method to close the spinner programmatically. Is there such a method?
agraham Expert Licensed User Longtime User Dec 7, 2020 #5 You need to know some Java and how to find your way round the Android API to roll your own use use of Reflection and JavaObject libraries. Falcon said: Where in there would I find methods for the B4A spinner for example? Click to expand... You won't without looking inside the BA Core.jar or the source code on GitHub. If you do you will find it extends android.widget.Spinner. So you find the API for that https://developer.android.com/reference/android/widget/Spinner?hl=en and dig around to see if you can find what you want. In your case the B4A Spinner is a complicated wrap of android.widget.Spinner so you chose a bad one to start with and I have no idea how to achieve what you want Upvote 0
You need to know some Java and how to find your way round the Android API to roll your own use use of Reflection and JavaObject libraries. Falcon said: Where in there would I find methods for the B4A spinner for example? Click to expand... You won't without looking inside the BA Core.jar or the source code on GitHub. If you do you will find it extends android.widget.Spinner. So you find the API for that https://developer.android.com/reference/android/widget/Spinner?hl=en and dig around to see if you can find what you want. In your case the B4A Spinner is a complicated wrap of android.widget.Spinner so you chose a bad one to start with and I have no idea how to achieve what you want
F Falcon Member Licensed User Dec 7, 2020 #6 Thank you Agraham for the great advice. I will dig around and see if I can discover anything. Otherwise I lay down a nice challenge for all the gurus, to make a method to close the spinner! Upvote 0
Thank you Agraham for the great advice. I will dig around and see if I can discover anything. Otherwise I lay down a nice challenge for all the gurus, to make a method to close the spinner!
Erel B4X founder Staff member Licensed User Longtime User Dec 7, 2020 #7 There is no API in the native Spinner to programmatically close it. Upvote 0
F Falcon Member Licensed User Dec 7, 2020 #8 OK thanks Erel, that clears that up then. Not the end of the world, I guess I will find an alternate way of doing what I want. Thanks a lot guys for the help, always appreciated. Upvote 0
OK thanks Erel, that clears that up then. Not the end of the world, I guess I will find an alternate way of doing what I want. Thanks a lot guys for the help, always appreciated.