Hello,
I'm a newbie with b4a but not in Visual basic.
So for my practice i want to write a program to show some system information and a tasklist of running tasks.
The tasklist is easy to make with Activitymanager:
Dim am as ActivityManager
Dim tasks() as RunningTaskInfo = am.GetRunningTasks
For each task as RunningTaskInfo in tasks
Appname = task.GetApplicationName
Next
But the problem is that i want to get more infomation like icon, creation-date and size of the running app.
Question 1 : How to get more info about a running app ?
All Taskmanager-Apps has these Infos without root, so it must be possible
Also i want to count the starts of any apps of the system
Question 2 : is it possible to receive an event if any app is starting or must i have a look on the tasklist every 15 seconds
Thanks
Jannis
I'm a newbie with b4a but not in Visual basic.
So for my practice i want to write a program to show some system information and a tasklist of running tasks.
The tasklist is easy to make with Activitymanager:
Dim am as ActivityManager
Dim tasks() as RunningTaskInfo = am.GetRunningTasks
For each task as RunningTaskInfo in tasks
Appname = task.GetApplicationName
Next
But the problem is that i want to get more infomation like icon, creation-date and size of the running app.
Question 1 : How to get more info about a running app ?
All Taskmanager-Apps has these Infos without root, so it must be possible
Also i want to count the starts of any apps of the system
Question 2 : is it possible to receive an event if any app is starting or must i have a look on the tasklist every 15 seconds
Thanks
Jannis
Last edited: