android - service that gets registered with service manager -


i did tried sample code service , installed same on device , started app. tried list service adb command, running (could see logs same in logcat)

adb shell service list

but, above command lists system service , not see service listed there.

so, question, 1. services need register service manager or "system services" 2. if have aidl implemented same service behave system service (i mean, displayed command "adb shell service list")

thanks reading , appreciate response question

-regards, manju

android system services different sort of services create within app. don't need worry don't appear within adb shell service list.

system services provided in rom of phone , core parts of android os, example "surface flinger" (graphics compositor), "package manager" etc. accessed within android frameworks typical android application developer never contacts them directly. looked based on simple string.

normal services inherit service class , connect them within application code using intent , typically context.bindservice.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -