Reputation: 125
Is there any registration process for creating a daemon application with Google or any other registration site?
We are making an alert application that runs in the background. Can we create a daemon or is there some another method provided?
Upvotes: 4
Views: 28985
Reputation: 12628
It's called "Service":
an application component representing either an application's desire to perform a longer-running operation while not interacting with the user or to supply functionality for other applications to use. Each service class must have a corresponding
<service>
declaration in its package'sAndroidManifest.xml
. Services can be started withContext.startService()
andContext.bindService()
.Note that services, like other application objects, run in the main thread of their hosting process. This means that, if your service is going to do any CPU intensive (such as MP3 playback) or blocking (such as networking) operations, it should spawn its own thread in which to do that work...
Upvotes: 13
Reputation: 21
No, you can't. Even if you're a registered Android developer.
Google does not want anybody except their own employees writing system code. That's why gaining root access on android devices is so challenging. Yes, part of the reason is that it makes Android reeeaaall secure...but it also means that Android effectively becomes a closed system that only Google employees can access.
Sorry.
Upvotes: -5