Dominex Active Member Licensed User Longtime User Oct 14, 2012 #1 How can I get Activity via code in a Class? I tried to use the library with Reflection GetActivity but I did not succeed. I thought this was enough. B4X: Dim r as Reflection Dim act as Activity act = r.GetActivity
How can I get Activity via code in a Class? I tried to use the library with Reflection GetActivity but I did not succeed. I thought this was enough. B4X: Dim r as Reflection Dim act as Activity act = r.GetActivity
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2012 #2 There is no reference to an activity unless you pass the activity as a parameter and then call this sub from an activity. For example: B4X: Public Sub DoSomethingWithActivity(A As Activity) End Sub Upvote 0
There is no reference to an activity unless you pass the activity as a parameter and then call this sub from an activity. For example: B4X: Public Sub DoSomethingWithActivity(A As Activity) End Sub
Dominex Active Member Licensed User Longtime User Oct 15, 2012 #3 This is how I have done so far, I was hoping there was a way, patience... Thanks. Upvote 0