Find a package name from service

Hello,
I want to find out package name from the service name that I provide.
I tried to write a java service but that is not working.

Hi Kaustubh,

There is a Root service which can give you the package name of a service.

“wm.server.services:serviceInfo”

Please note that it is not recommended to use Root services.

Thanks,
Yogesh

Thanks Yogesh . This is what I wanted.