Well it is the OS that lauches the application. So it does not need any notifications. Maybe you want to know if your app can get notifications from the OS on application launches, eh?
AFAIK, no. You just have to periodically check the list of running processes, compare the list to the previous one and therefore get the changes (just launched/stopped applications).
Sorry if i am wrong, from long time i am not worked on Symbian.
If you knew the UID of application which you want to monitor for Start / Exit notification,
you will get the Exit notification using RThread Logon method.
and I think for getting start notification you have to poll it by using RApaLsSession class, which will have a method to get the number of running application.
So when your intial counter and latest counter of running application mismatch, you can run the logic for finding out which new application is running.
Forum posts: 672
Well it is the OS that lauches the application. So it does not need any notifications. Maybe you want to know if your app can get notifications from the OS on application launches, eh?
Forum posts: 27
Yes,
Can my application get a notification when any application starts/exit so that I can log the event.
Regards,
Pankaj.
The best place to find the helping hand is at the end of your arm!!!
Forum posts: 672
AFAIK, no. You just have to periodically check the list of running processes, compare the list to the previous one and therefore get the changes (just launched/stopped applications).
Forum posts: 27
yes, that's the way I thought of but it will not a good solution.
Thanks for the suggestions
Regards,
Pankaj.
The best place to find the helping hand is at the end of your arm!!!
Forum posts: 110
Hi Pankaj,
Sorry if i am wrong, from long time i am not worked on Symbian.
If you knew the UID of application which you want to monitor for Start / Exit notification,
you will get the Exit notification using RThread Logon method.
and I think for getting start notification you have to poll it by using RApaLsSession class, which will have a method to get the number of running application.
So when your intial counter and latest counter of running application mismatch, you can run the logic for finding out which new application is running.
Best Regards,
Dipak Baviskar
DipakBaviskar