Blu Blu Member Licensed User Nov 6, 2021 #1 Dear Everybody, I often find when looking some tutorials: B4X: Sub StartActivityForResult(i As Intent) Dim jo As JavaObject = Me jo = jo.RunMethod("getBA", Null) ion = jo.CreateEvent("anywheresoftware.b4a.IOnActivityResult", "ion", Null) jo.RunMethod("startActivityForResult", Array(ion, i)) End Sub Because i'm new to B4x and also to programm, so i want to ask if we have a list of strings that we use inside javaobject?(like circled in the screeshoot).Or where can i find some tutorial about this? Thanks everyone in advance BluBlu Attachments Snipaste_2021-11-06_17-28-13.png 24.4 KB · Views: 482 Snipaste_2021-11-06_17-29-19.png 131.4 KB · Views: 515 Last edited: Nov 6, 2021
Dear Everybody, I often find when looking some tutorials: B4X: Sub StartActivityForResult(i As Intent) Dim jo As JavaObject = Me jo = jo.RunMethod("getBA", Null) ion = jo.CreateEvent("anywheresoftware.b4a.IOnActivityResult", "ion", Null) jo.RunMethod("startActivityForResult", Array(ion, i)) End Sub Because i'm new to B4x and also to programm, so i want to ask if we have a list of strings that we use inside javaobject?(like circled in the screeshoot).Or where can i find some tutorial about this? Thanks everyone in advance BluBlu
Solution agraham Nov 6, 2021 There is no such list. With JavaObject you are manipulating instances of Java/Android classes and as such need to know the methods for that class. It's all here Android API reference | Android Developers API reference packages and classes for Android app developers. developer.android.com
There is no such list. With JavaObject you are manipulating instances of Java/Android classes and as such need to know the methods for that class. It's all here Android API reference | Android Developers API reference packages and classes for Android app developers. developer.android.com
agraham Expert Licensed User Longtime User Nov 6, 2021 #2 There is no such list. With JavaObject you are manipulating instances of Java/Android classes and as such need to know the methods for that class. It's all here Android API reference | Android Developers API reference packages and classes for Android app developers. developer.android.com Upvote 1 Solution
There is no such list. With JavaObject you are manipulating instances of Java/Android classes and as such need to know the methods for that class. It's all here Android API reference | Android Developers API reference packages and classes for Android app developers. developer.android.com
Blu Blu Member Licensed User Nov 7, 2021 #3 agraham said: There is no such list. With JavaObject you are manipulating instances of Java/Android classes and as such need to know the methods for that class. It's all here Android API reference | Android Developers API reference packages and classes for Android app developers. developer.android.com Click to expand... Thank you very very much Agraham Upvote 0
agraham said: There is no such list. With JavaObject you are manipulating instances of Java/Android classes and as such need to know the methods for that class. It's all here Android API reference | Android Developers API reference packages and classes for Android app developers. developer.android.com Click to expand... Thank you very very much Agraham