broadcastreceiver - I want to write an application which is working even when its close to show notification for battery low ,should i use Broadcast receiver or Service? -
i want write application working when close show notification battery low ,should use broadcast receiver or service ?
i have written codes doesn't work. can me?
- you should use service, has lifecycle that's independent of component started , service can run in background indefinitely, if component started destroyed. such, service should stop when job done calling stopself(), or component can stop calling stopservice().
Comments
Post a Comment