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 "));
- Related articles
- Bank account opening process for nanny-level students studying abroad
- Cherish sending messages to each other. There is a reminder below. What does this mean?
- What are the symptoms of Meniere's disease?
- A spoof confession
- Is online loan debt collection legal?
- Is there an annual fee for Hubei Rural Credit Cooperative Mobile Banking?
- New Year greeting message, sincere and simple.
- How to comfort a friend's sick father?
- How to intercept bank card short messages
- Nokia 5330xm's mobile phone has no blacklist setting. What software can I download to prevent harassing phone messages?