开发者

check the activity run

for example my App have 3 activity main Activity A,and other B ,C,so i want to know if i can know B or C Activity is running,i know how to check Main Activity开发者_高级运维 A using PackageManager. thank you


you can use ActivityManager to get information about running activities.


We can use Toast.maketext to know the Activity B or C is started or not

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜