Roger Daley Well-Known Member Licensed User Longtime User Nov 1, 2019 #1 Hi All, Recently I had a question answered by "rasswisak" solving my problem with a small Erel Sub: Code: Sub FindString(s As String) Dim jo As JavaObject = wbvTable jo.RunMethod("findAllAsync", Array(s)) End Sub Following this help I took an interest in jo.RunMethod, so I ask "Where does "findAllAsync" come from"? In jo.RunMethod(MethodName as string,Params() as Object) as object. "What is the source of MethodName? Like so many things in programming it seems to appear from nowhere, everyone else seems to accept them as common knowledge. Is there a list of MethodNames and descriptions of their function? Do I need to go to Hogwarts for a couple of years? Regards Roger
Hi All, Recently I had a question answered by "rasswisak" solving my problem with a small Erel Sub: Code: Sub FindString(s As String) Dim jo As JavaObject = wbvTable jo.RunMethod("findAllAsync", Array(s)) End Sub Following this help I took an interest in jo.RunMethod, so I ask "Where does "findAllAsync" come from"? In jo.RunMethod(MethodName as string,Params() as Object) as object. "What is the source of MethodName? Like so many things in programming it seems to appear from nowhere, everyone else seems to accept them as common knowledge. Is there a list of MethodNames and descriptions of their function? Do I need to go to Hogwarts for a couple of years? Regards Roger
DonManfred Expert Licensed User Longtime User Nov 1, 2019 #2 Roger Daley said: so I ask "Where does "findAllAsync" come from"? Click to expand... Did you checked the documentation of the Object you are refering to? Do it: https://developer.android.com/reference/android/webkit/WebView findAllAsync: https://developer.android.com/reference/android/webkit/WebView.html#findAllAsync(java.lang.String) Start here for all https://developer.android.com/index.html Upvote 0
Roger Daley said: so I ask "Where does "findAllAsync" come from"? Click to expand... Did you checked the documentation of the Object you are refering to? Do it: https://developer.android.com/reference/android/webkit/WebView findAllAsync: https://developer.android.com/reference/android/webkit/WebView.html#findAllAsync(java.lang.String) Start here for all https://developer.android.com/index.html
Roger Daley Well-Known Member Licensed User Longtime User Nov 1, 2019 #3 DonManfred, No I had not checked the documentation, this is the first time I've seen it. Thanks for the link it is exactly what I was looking for, perhaps without the "Do it:" Roger Upvote 0
DonManfred, No I had not checked the documentation, this is the first time I've seen it. Thanks for the link it is exactly what I was looking for, perhaps without the "Do it:" Roger
klaus Expert Licensed User Longtime User Nov 1, 2019 #4 Did you have a look at the B4X JavaObject-NativeObject Booklet? Upvote 0
Roger Daley Well-Known Member Licensed User Longtime User Nov 2, 2019 #5 Klaus, I have now, it looks like a good starting point. Just enough for me to see it would need a large tome to cover everything. Regards Roger Upvote 0
Klaus, I have now, it looks like a good starting point. Just enough for me to see it would need a large tome to cover everything. Regards Roger