语言

Menu
Sites
Language
How to get app info when the app launches?

Hi,

I'm interesting in native service application.

I want to get the application information (app id, or name...) when that application starts.

Could you give me some guide for it?

Thanks!

 

响应

4 回复
Jean Yang

Hi,

can you try the below API, or you can search the APP manger in the help document.

int app_manager_get_app_id (pid_t pid, char ** app_id )

Changhoon Lee

Thank you !^^

Alex Dem

Hi,
Try to look also at app_manager_foreach_app_context .
Also could be useful: https://developer.tizen.org/documentation/guides/native-application/application-framework/application-manager
Unfortunately I did not face with possibility to add listener to detect the moment when any new app was launched.
Alexey.

Changhoon Lee

Maybe the API that I want to use is not exist...

Thank you !^^