FUKA-INNOVATIONS / iKnow

MIT License
0 stars 0 forks source link

Receive broadcast data when app is in background or dead #2

Open FUKA-INNOVATIONS opened 1 year ago

FUKA-INNOVATIONS commented 1 year ago

Demo app


Check implemented project https://github.com/FUKA-INNOVATIONS/Broadcastreceiver

FUKA-INNOVATIONS commented 1 year ago

https://www.youtube.com/watch?v=TQ4YZswARWY

FUKA-INNOVATIONS commented 1 year ago

https://fabcirablog.weebly.com/blog/creating-a-never-ending-background-service-in-android

FUKA-INNOVATIONS commented 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/

FUKA-INNOVATIONS commented 1 year ago

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.