netsistemas Active Member Licensed User Longtime User Sep 25, 2020 #1 i have a b4xpages proyect. I need get Activity to pass a public method, but Activity are not in B4XPage. how cath or get the current activity or unique activity in proyect? somethink like root.activity whell DOIT..... only use ROOT. Root is the activity !!!
i have a b4xpages proyect. I need get Activity to pass a public method, but Activity are not in B4XPage. how cath or get the current activity or unique activity in proyect? somethink like root.activity whell DOIT..... only use ROOT. Root is the activity !!!
jahswant Well-Known Member Licensed User Longtime User Sep 25, 2020 #2 B4XPage.GetNativeParent(Me) Upvote 0
netsistemas Active Member Licensed User Longtime User Oct 28, 2020 #3 (ADD 's' in b4xpageS.) B4XPages.GetNativeParent(Me) Upvote 0
TILogistic Expert Licensed User Longtime User Oct 28, 2020 #4 the b4xpages are classes of the parent activity. With B4XPages.GetNativeParent (Me) will always get the parent activity Upvote 0
the b4xpages are classes of the parent activity. With B4XPages.GetNativeParent (Me) will always get the parent activity
netsistemas Active Member Licensed User Longtime User Oct 28, 2020 #5 Parent and UNIQUE activity (unless another activity has been created by program ) Thanks. Upvote 0