Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

EffectHub.com: Your Best Source for Gaming
Login    or

Android:Get runing apps and recently started app

        ActivityManager mActivityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE) ;                          //Runing process            List<ActivityManager.RunningAppProcessInfo> appList1 = mActivityManager                    .getRunningAppProcesses();            for (RunningAppProcessInfo running : appList1) {                System.out.println(running.processName);            }            System.out.println("================");                        //Runing service            List<ActivityManager.RunningServiceInfo> appList2 = mActivityManager                    .getRunningServices(100);            for (ActivityManager.RunningServiceInfo running : appList2) {                System.out.println(running.service.getClassName());            }                        System.out.println("================");                        //Runging activity            List<ActivityManager.RunningTaskInfo> appList3 = mActivityManager                    .getRunningTasks(1000);            for (ActivityManager.RunningTaskInfo running : appList3) {                System.out.println(running.baseActivity.getClassName());            }            System.out.println("================");                        //recent apps            List<ActivityManager.RecentTaskInfo> appList4 = mActivityManager                    .getRecentTasks(100, 1);            for (ActivityManager.RecentTaskInfo running : appList4) {                System.out.println(running.origActivity.getClassName());                }


...

You must Sign up as a member of Effecthub to view the content.

1681 views    0 comments

You must Sign up as a member of Effecthub to join the conversation.

ChOw

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2013-11-19
>>Back to Android group


Latest Posts


Sponsor


They are waiting for your help



Share

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: views/footer.php

Line Number: 6

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/topic.php

Line Number: 21

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/topic.php

Line Number: 85