Joke Collection Website - Blessing messages - Can android send broadcasts in the service? Can you give me a detailed introduction? thank you

Can android send broadcasts in the service? Can you give me a detailed introduction? thank you

can

The method of sendBroadcast is defined in the ContextWrapper, and the Service inherits the ContextWrapper.

@ Overlay

Public void Send Broadcast (Intention) (

MBase.sendBroadcast (intention);

}

Call directly when you send it

send broadcast(new Intent(" com . mars lei . send _ broadcast _ in _ service "));