开发者

Identify activity in Android?

开发者 https://www.devze.com 2023-01-25 08:09 出处:网络
I want to know which activity calls current activity.I have three activity namely A,B and C. i am calling activity C from A or B. In activity C i want to know which activity calls A or B.

I want to know which activity calls current activity.I have three activity namely A,B and C. i am calling activity C from A or B. In activity C i want to know which activity calls A or B.

I used bundle to identify activity but i dont want this.. Is any other smart way to find my case?

开发者_Go百科

Thanks in Advance...


getCallingActivity()
0

精彩评论

暂无评论...
验证码 换一张
取 消