Open FUKA-INNOVATIONS opened 1 year ago
Saattaa olla ettemme tarvitse servicea ollenkaan:
Täytyy kokeilla mun aiemmin tehtyä demoa pitääkö väite paikkansa
https://www.freecodecamp.org/news/broadcast-receivers-for-beginners/
The following bullet points refer to changes in broadcast receivers relevant for each Android OS version (starting from 7.0). For each version, certain limitations have taken places and behavior has changed as well. Keep these limitations in mind when thinking about using a broadcast receiver.
7.0 and Up (API level 24) - Two system broadcasts have been disabled,Action_New_Picture and Action_New_Video (but they were brought back in Android O for registered receivers)
8.0 and Up (API level 26) - Most implicit broadcasts need to be registered to dynamically and not statically (in your manifest). You can find the broadcasts that were whitelisted in this link.
9.0 and Up (API level 28) - Less information received on Wi-Fi system broadcast and Network_State_Changed_Action.
Demo app
Check implemented project https://github.com/FUKA-INNOVATIONS/Broadcastreceiver