Android daemon

Is there any registration process for creating a daemon application with Google or any other registration site?

We are making an alert app that runs in the background. Can we create a demon or is there some other method?

+3
source share
2 answers

It is called "Service" :

An application component that represents either an application that wants to perform a longer operation without interacting with the user, or providing functionality for use by other applications. Each class of service should have a corresponding declaration <service>in its package AndroidManifest.xml. Services can be started using Context.startService()and Context.bindService().

Note that services, like other application objects, are started in the main thread of their hosting process. This means that if your service does any intensive work with the CPU (for example, playing MP3s) or blocking (for example, network), it must create its own stream in which for this work ...

+13
source

No, you can’t. Even if you are a registered Android developer.

Google , -, , . root- Android . , , Android reeeaaall ... , Android , Google.

.

-5

Source: https://habr.com/ru/post/1785594/


All Articles