MrKim Well-Known Member Licensed User Longtime User May 20, 2024 #1 Specifically, I was looking as @Erel 's post HERE where is says to put this code in a class module. Since, evidently a B4XPage IS a class can I just put this code in the B4XPage or does it need to go in a separate class module? Thanks
Specifically, I was looking as @Erel 's post HERE where is says to put this code in a class module. Since, evidently a B4XPage IS a class can I just put this code in the B4XPage or does it need to go in a separate class module? Thanks
OliverA Expert Licensed User Longtime User May 20, 2024 #2 It should work fine in a B4XPage class. What makes the code linked above class specific is how GetBA works. For an activity version of GetBA see Thread 'Using StartActivityForResult with JavaObject' https://www.b4x.com/android/forum/threads/using-startactivityforresult-with-javaobject.40374/ Upvote 0
It should work fine in a B4XPage class. What makes the code linked above class specific is how GetBA works. For an activity version of GetBA see Thread 'Using StartActivityForResult with JavaObject' https://www.b4x.com/android/forum/threads/using-startactivityforresult-with-javaobject.40374/